I have a web application that I just migrated from ASP.NET 1.1 to 2.0.
My problem is that when I execute the application, the Global
constructor and the Global.Application_BeginRequest methods never get
called. (The other methods in the Global object might also not get
called, but I'm not sure about those.) My 1.1 version of the
application works fine, and when I migrated, I used the instructions
here (http://webproject.scottgu.com/CSharp...migration.aspx)
for converting to a web application, rather than a web project, so
there are no partial classes and there shouldn't be any significant
code differences between the two versions.
When I built the project the first time on VS2005, I got no
compilation errors and 76 warnings, but all the warnings were just
telling me that certain .NET objects and methods have been deprecated.
When I execute the application, the Windows Event Viewer doesn't show
any warnings or errors regarding the Global object not being
constructed correctly.
Does anybody have some ideas as to what's going on? I'll be happy to
provide the code for the Global object if that helps.
Thanks,
Jay