Solved

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

Posted on 2009-05-11
3
383 Views
Last Modified: 2012-06-22
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
Comment
Question by:sevensnake77
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 500 total points
ID: 24356088
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
 
LVL 9

Author Comment

by:sevensnake77
ID: 24356267
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
 
LVL 9

Author Comment

by:sevensnake77
ID: 24356363
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Name space syntax error 12 44
Word Directory is not in the drop down list 4 26
How useful is the free version of Selenium? 3 16
ASP.NET MVC 2 6
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now