lauhw
lauhw

Reputation: 123

asp.net failed to run in dot net 4.0

The website was developed in dot net 3.5 SP1 and running ok within dot net 3.5 SP1. But, after recompiled it into dot net 4.0 and changed the app pool to "integrated", it failed to run. The symptom is that the website was running ok for few minutes. Then, the following message will appear:

[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.PipelineStepManager.ResumeSteps(Exception error) +197
System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +89
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189

If we recycle the app pool, it will work for a few minutes and then same error appear.

Any help is appreciated.

Lau.

Upvotes: 3

Views: 386

Answers (1)

Lex Li
Lex Li

Reputation: 63289

From the call stack I think this exception was caused by a problematic HTTP module or handler.

You should be able to debug using Visual Studio or WinDbg.

Upvotes: 1

Related Questions