473,602 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler Error Message: BC30203: Identifier expected.

I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance

Apr 28 '06 #1
7 12878
vb identifiers like a class name, must start with an alpha.

-- bruce (sqlwork.com)
"Tony Tone" <av********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance

Apr 28 '06 #2
The name of a class may not start with a number.

"Tony Tone" <av********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance

Apr 28 '06 #3
will need to look at some code to decipher that.

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics. com -- anything and everything about Microsoft .NET
technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"Tony Tone" <av********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance

Apr 28 '06 #4
That is interesting to know. Does C# allow class names to start with numeric
?

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics. com -- anything and everything about Microsoft .NET
technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"Marina Levit [MVP]" <so*****@nospam .com> wrote in message
news:eK******** ******@TK2MSFTN GP02.phx.gbl...
The name of a class may not start with a number.

"Tony Tone" <av********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance


Apr 28 '06 #5
I would imagine not, though I don't recall exactly. I would be surprised if
it did.

"Swanand Mokashi" <sw***********@ swanandmokashi. com> wrote in message
news:OH******** ******@TK2MSFTN GP04.phx.gbl...
That is interesting to know. Does C# allow class names to start with
numeric ?

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics. com -- anything and everything about Microsoft .NET
technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"Marina Levit [MVP]" <so*****@nospam .com> wrote in message
news:eK******** ******@TK2MSFTN GP02.phx.gbl...
The name of a class may not start with a number.

"Tony Tone" <av********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance



Apr 28 '06 #6
I don't think so. Java and PHP don't allow them either.

Identifiers are used for class names, method names, and variable names.

An identifier may be any descriptive sequence of uppercase and lowercase letters,
numbers, or the underscore and dollar-sign characters.

They must not begin with a number, because they could be confused with a numeric literal.

IIRC, this limitation comes from the Unicode Standard Annex 15.

I could be wrong, though, so I'll welcome further illumination.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====

"Swanand Mokashi" <sw***********@ swanandmokashi. com> wrote in message
news:OH******** ******@TK2MSFTN GP04.phx.gbl...
That is interesting to know. Does C# allow class names to start with numeric ?

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics. com -- anything and everything about Microsoft .NET technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"Marina Levit [MVP]" <so*****@nospam .com> wrote in message
news:eK******** ******@TK2MSFTN GP02.phx.gbl...
The name of a class may not start with a number.

"Tony Tone" <av********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I am having trouble resolving this issue:

Server Error in '/test' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 7: Imports ew
Line 8: Namespace test
Line 9: Public Class 1aDirProddata
Line 10:
Line 11: ' Master / Detail arguments
Source File: C:\Inetpub\wwwr oot\test\App_Co de\1aDirProddat a.vb Line:
9
Can anyone tell me how i can correct this?

Thanks in advance



Apr 28 '06 #7
Thanks a lot... That really helped

Apr 28 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5206
by: andy.herrera | last post by:
I'm getting this Error Message. Expected ';' Please Select One: <form name="form1"> <<------------ Error is here. <select name="selectTrans" onChange="If (this.value == 'checkout') window.location.href='CheckOut.php';"> <option>---Please Select One ---</option> <option value="checkout">Check OUT</option> <option value="checkin">Check IN</option> </select>
1
10303
by: Franko | last post by:
I get the following error. Please help c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(6,38): error CS1001: Identifier expected c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(6,52): error CS1002: ; expected c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(7,19): error CS1519: Invalid token '(' in class, struct, or interface member declaration c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(9,2): error CS0116: A namespace does not...
1
2279
by: Franko | last post by:
I get the following error. Please help c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(6,38): error CS1001: Identifier expected c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(6,52): error CS1002: ; expected c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(7,19): error CS1519: Invalid token '(' in class, struct, or interface member declaration c:\inetpub\wwwroot\WebApplication1\WebForm2.aspx(9,2): error CS0116: A namespace does not...
3
3181
by: Jon | last post by:
I'm learning about datatables. When using the example provided by MS in the ..NET Framework Class Library for DATATABLE (see below) I get an error on line 3 that says "Type expected". Is something missing from the code? Thanks - Jon Private Sub MakeParentTable() ' Create a new DataTable. Dim myDataTable As Datatable = New Datatable("ParentTable")
4
1949
by: Jon Rea | last post by:
I have the following code that works on Visual C++ 2005 and on GCC. bool VectorContains( const std::vector<int>& vect, int value ) { std::vector<int>::const_iterator iter; for( iter = vect.begin(); iter != vect.end(); iter++ ) { if( *iter == value ) { return true;
0
2105
by: alokverma | last post by:
Hi all, I am trying to compile some code on HP-UX-Itanium faluire. using aCC: HP C/aC++ B3910B A.06.12 I have written a sample code below and using the following compilation command. *aCC -c -o test.o -AP -Ae -DHPUX test.cpp*
3
3260
by: rorni | last post by:
Hi, I'm porting code from Windows to HP-UX 11, compiling with g++. I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of other system include files. The one I am including is <map> . The errors I am getting are: /opt/hp-gcc-4.2.1/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../../include/c++/4.2.1/debug/debug.h: At global scope:...
1
4616
by: sanctus | last post by:
I have a Matlab code which works fine in windows. Now I installed Xubuntu (because this way I have admin rights(=root) which I don't have on windows) and want to use the same code. To be able to use the C-code you have to compile it from Matlab comand line with the comand mex myfile.c where before with mex -setup you define which compiler to use, the only choice I had was gcc (version 4.something). Now if I compile I get the following...
2
4433
by: camzgon121 | last post by:
Hi guys, I have this code and when I try to compile and run it gives me an <identifier> expected error. The code with the irrelevant parts taken out. package ACCOUNT; import java.util.Scanner; import java.util.GregorianCalendar; import javax.swing.*;
0
8401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8268
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6730
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5867
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3900
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2418
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.