Solved

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

Posted on 2009-05-11
3
384 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

813 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

19 Experts available now in Live!

Get 1:1 Help Now