CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Error in frist publish (update error message)

Print topic Send  topic

Author Message
nashat
Posted: 12/25/2005, 10:48 AM

sorry
I face this error in my frist publish . I have .net 2.0 with vb.net 2005
and ASP.Net is installed
Error in site is
Server Error in '/NEW' Application.
--------------------------------------------------------------------------------

arser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'New.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="New.Global" %>

Source File: /NEW/global.asax Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
this is my error messages

Generating "NewPage1"
Generating Common Files
Warning: Unable to find the target version of the .NET framework. The path specified in Options will be used.
Running
C:\DOCUME~1\admin\LOCALS~1\Temp\~New\MakeAll.bat C: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\
=======================================

C:\Documents and Settings\admin>REM _MakeAll @1-B1C3735D

C:\DOCUME~1\admin\LOCALS~1\Temp\~New>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc /rootnamespace:New /t:library /out:bin\New.dll /imports:Microsoft.VisualBasic,System,System.Web,System.Xml,System.Data,System.Drawing /r:Microsoft.VisualBasic.dll,System.dll,System.Web.dll,System.Xml.dll,System.Data.dll,System.Drawing.dll /recurse:*.vb
Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\Global.asax.vb(5) : error BC30183: Keyword is not valid as an identifier.

Public Class Global
~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\NewPage1.aspx.vb(15) : error BC30183: Keyword is not valid as an identifier.

Imports New
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\NewPage1.aspx.vb(16) : error BC30183: Keyword is not valid as an identifier.

Imports New.Data
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\NewPage1.aspx.vb(17) : error BC30183: Keyword is not valid as an identifier.

Imports New.Security
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\NewPage1.aspx.vb(18) : error BC30183: Keyword is not valid as an identifier.

Imports New.Configuration
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\NewPage1.aspx.vb(19) : error BC30183: Keyword is not valid as an identifier.

Imports New.Controls
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\DataUtility.vb(8) : error BC30183: Keyword is not valid as an identifier.
Imports New.Configuration
~~~
C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\DataUtility.vb(191) : warning BC42021: Function without an 'As' clause; return type of Object assumed.

Public Overloads Function ToString(ByVal sPreserve As String, ByVal sRemoveList As String)
~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\DataUtility.vb(521) : error BC30451: Name 'Settings' is not declared.

Return DateTime.ParseExact(Value, Settings.DateFormat, Nothing)
~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\DbSpProvider.vb(7) : error BC30183: Keyword is not valid as an identifier.

Imports New.Configuration
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\DbSqlProvider.vb(7) : error BC30183: Keyword is not valid as an identifier.

Imports New.Configuration
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\DbTableProvider.vb(7) : error BC30183: Keyword is not valid as an identifier.

Imports New.Configuration
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(8) : error BC30183: Keyword is not valid as an identifier.

Imports New
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(9) : error BC30183: Keyword is not valid as an identifier.

Imports New.Data
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(10) : error BC30183: Keyword is not valid as an identifier.

Imports New.Controls
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(11) : error BC30183: Keyword is not valid as an identifier.

Imports New.Security
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(12) : error BC30183: Keyword is not valid as an identifier.
Imports New.Configuration
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(27) : error BC30002: Type 'FieldBase' is not defined.

Default Public Property Field(fieldName As String) As FieldBase
~~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\NewPage1DataProvider.vb(34) : error BC30002: Type 'FieldBase' is not defined.

Set (ByVal Value As FieldBase)
~~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\Security.vb(6) : error BC30183: Keyword is not valid as an identifier.

Imports New.Configuration
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\Security.vb(7) : error BC30183: Keyword is not valid as an identifier.

Imports New.Data
~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\Security.vb(37) : error BC30451: Name 'DBUtility' is not declared.

If Not DBUtility.AuthorizeUser(id) Then
~~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\Security.vb(41) : error BC30451: Name 'DBUtility' is not declared.

If DBUtility.IsGroupsNested AndAlso Int32.Parse(DBUtility.UserGroup) >= Int32.Parse(rights(i).GroupId) OrElse (Not DBUtility.IsGroupsNested AndAlso DBUtility.UserGroup = rights(i).GroupId) Then
~~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\Security.vb(41) : error BC30451: Name 'DBUtility' is not declared.

If DBUtility.IsGroupsNested AndAlso Int32.Parse(DBUtility.UserGroup) >= Int32.Parse(rights(i).GroupId) OrElse (Not DBUtility.IsGroupsNested AndAlso DBUtility.UserGroup = rights(i).GroupId) Then
~~~~~~~~~
Error: C:\DOCUME~1\admin\LOCALS~1\Temp\~New\components\Security.vb(41) : error BC30451: Name 'DBUtility' is not declared.

If DBUtility.IsGroupsNested AndAlso Int32.Parse(DBUtility.UserGroup) >= Int32.Parse(rights(i).GroupId) OrElse (Not DBUtility.IsGroupsNested AndAlso DBUtility.UserGroup = rights(i).GroupId) Then


C:\DOCUME~1\admin\LOCALS~1\Temp\~New>REM _End MakeAll
Output


=======================================
Build finished
Publishing to "C:\Inetpub\wwwroot\NEW"

Stan
Posted: 12/26/2005, 11:06 PM

The New is reserved word in VB. You should rename your project to something else.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.