Technorati 標籤: HTTP500,IIS7,Godaddy
今天在使用Godaddy.com的windows主機時,出現了以下錯誤:
Error Summary HTTP Error 500.22 - Internal Server ErrorAn 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://www.pp99.com.cn:80/ Physical Path D:\Hosting\7047262\html Logon Method Not yet determined Logon User Not yet determined |
一般IIS7(Windows2008 server/Win7)運行.net2.0等版本程式出現這個錯誤。
問題描述:
IIS模式不識別,模式錯誤
解決方案:
HTTP 錯誤 500.22 - Internal Server Error
檢測到在整合的託管管道模式下不適用的 ASP.NET 設定。
開啟IIS,右邊操作裡選基本設定,應用程式集區旁邊點選擇,更換IIS模式,選為Classic .net AppPool,就將管理員模式切換為了傳統模式就OK了。
Please select a pipeline mode:
Classic 經典
Integrated 綜合
asp.net3.5 的網站 web.config 增加了一些配置節直接運行不會出錯的。
參考:http://mvolo.com/blogs/serverside/archive/2007/12/08/IIS-7.0-Breaking-Changes-ASP.NET-2.0-applications-Integrated-mode.aspx