2013-06-03 39 views
5

你好我嘗試部署我的ASP:NET網站在Windows 7企業版 IM網絡收到此錯誤的:HTTP錯誤500.23 - 內部服務器錯誤

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

我做了一些像改變應用程序搜索從「集成」到「經典」。 它沒有真的幫助我成爲另一個錯誤:

HTTP Error 404.2 Error - Not found 
ISAPI- and CGI-Restrictions 

任何一個可以幫助我一點方向是正確的?

+0

該問題可能與httpHandler配置有關。經典ASP.NET和集成在web.config中的配置不同。該設置可以在IIS應用程序池中更改,但請記住,這些選項在不同版本的IIS之間有所不同。你使用的是哪個版本的Windows Server?如果是2003年或集成管道不可用。 – CSharpConductor

+0

對不起Windows 7企業 –

回答

21

將HTTP添加到web.config中錯誤500.23 - 內部服務器錯誤 已檢測到ASP.NET設置不適用於集成管理管道
模式。

<system.webServer> 
    <validation validateIntegratedModeConfiguration="false"/> 
    </system.webServer> 
相關問題