• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

ASP Net - Migration from 1.1 to 2.0 - global.asax

Error      36      Keyword is not valid as an identifier.      

I keep getting this error.

The Global on the upgrade was moved from the root to the App_code folder Is there anyway to fix this.
0
Seven price
Asked:
Seven price
  • 2
1 Solution
 
Anurag ThakurTechnical ManagerCommented:
can you please explain what you are trying to do in a little bit more words
as far as i can guess i think you have a class named global and the word "Global" is a reserved keyword. Change it to something else
http://msdn2.microsoft.com/en-us/library/k701czy1(VS.80).aspx 
0
 
Seven priceFull StackAuthor Commented:
So i have the ModCommonLib.vb as a
Module modCommonLib

So should I change this to a Namespace, so my Functions are declared Globally.?
0
 
Seven priceFull StackAuthor Commented:
Ok let me fully explain I have 3 Mod files living in a library folder. I have a login.aspx.vb file that is looking for the declared functions.  But it does not seem to find them.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now