Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • 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 ThakurCommented:
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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