Global object not being constructed

K

kempshall

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/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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top