该网站是使用.NET 3.5 SP1开发的,并在.NET 3.5 SP1中运行良好。但是,将其重新编译为.NET 4.0并将应用程序池更改为“集成”后,它无法运行。症状是该网站正常运行了几分钟,然后会出现以下消息:
[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
如果我们重新启动应用程序池,它将工作几分钟,然后出现相同的错误。
欢迎提供任何帮助。
Lau.
[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
如果我们重新启动应用程序池,它将工作几分钟,然后出现相同的错误。
欢迎提供任何帮助。
Lau.