IIS错误 - HTTP错误500.24 - 内部服务器错误

Ash*_*n A 4 asp.net iis

我最近在我的Windows 7 PC上安装了IIS,当我打开http://localhost/它时显示

********************ERROR**********************  
HTTP Error 500.24 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.  
********************ERROR**********************

********************Detailed Error Information**************  
Module:  ConfigurationValidationModule  
Notification:  BeginRequest  
Handler:  StaticFile  
Error Code:  0x80070032  
Requested URL  :http://localhost:80/  
Physical Path  :C:\inetpub\wwwroot  
Logon Method  :Not yet determined  
Logon User  :Not yet determined  
************************

McG*_*gle 6

我不确定您正在运行哪些代码/配置,但您可能需要更改站点的应用程序池以使用Classic而不是Integrated模式.

经典模式是IIS只能直接使用ISAPI扩展和ISAPI过滤器的地方...集成模式通过IIS的统一管道处理所有请求,并通过相同的管道与ASP.NET紧密集成.

  • 你可能遇到麻烦的地方:

某些遗留代码可能要求您以经典模式运行才能正常执行.为了充分利用IIS,如果您的应用程序在Integrated中引发错误但在Classic中运行正常,我们强烈建议您查看代码.