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.
LVL 9
Seven priceFull StackAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Anurag ThakurConnect With a Mentor Technical 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
All Courses

From novice to tech pro — start learning today.