global.asax.vb code not executing

ferrethouse

New member
Joined
Apr 12, 2006
Messages
2
Programming Experience
Beginner
I migrated my 2003 project to 2005 and when I compiled my project it didn't like this...

Public Class Global

So I changed it to...

Public Class ERSWeb

ERSWeb is the name of the project. This is what I have in my global.asax page...

<%@ Application Codebehind="Global.asax.vb" Inherits="ERSWeb.ERSWeb" %>

It doesn't like the Inherits part of the statement. I've tried every permutation I can think of but I can't get the code to load. I can't seem to access any of the Application level variables.

Thanks,
Craig
 
I was just being stupid. The codebehind for the global.asax file is contained in a different folder and is not tied directly to the global.asax file in the IDE like for other files. That is why I thought it wasn't there. Silly me.
 
Back
Top