在IIS上部署ASP.NET应用程序

时间:2011-03-16 18:11:18

标签: asp.net iis-6

我是Web应用程序的新手。我想在IIS上部署我的Web应用程序。但是,我收到以下错误:

HTTP Error 500.22 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. Detailed Error Information
Module ConfigurationValidationModule 
Notification BeginRequest 
Handler StaticFile 
Error Code 0x80070032 
Requested URL http://localhost:80/ 
Physical Path C:\Users\Taiseer\Desktop\UBC Course(term 2)\Software Engineering\Project-Doloto\wwwroot 
Logon Method Not yet determined 
Logon User Not yet determined

任何建议都会有所帮助。您能告诉我一步一步描述过程的任何链接或参考。

感谢。

2 个答案:

答案 0 :(得分:2)

要使用集成模式在IIS中运行应用程序,请将system.web\httpHandlerssystem.web\httpModules部分移动到system.webServer,并将它们分别重命名为“handlers”和“modules”。这可以让您更接近IIS的有效集成模式配置。

答案 1 :(得分:0)

此错误表示您的应用程序未编码为在集成管道模式下运行。

您可以通过切换到AppPool的经典模式来消除此错误。或者,您可以更新代码以在集成管道模式下运行。