2011-03-16 157 views
0

我是Web應用程序中的新成員。我想在IIS上部署我的Web應用程序。但是,我收到以下錯誤:在IIS上部署ASP.NET應用程序

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 

任何建議都會有所幫助。您可以讓我知道任何鏈接或引用的地方一步一步描述過程。

謝謝。

+0

你的標籤說「IIS6」,但不是「IIS7」嗎? – David 2011-03-16 18:18:46

回答

0

此錯誤表示您的應用程序未編碼以在集成管道模式下運行。

您可以通過切換到AppPool的經典模式來消除此錯誤。或者,您可以更新代碼以在集成管道模式下運行。

+0

沒有理由繼續使用經典模式。查看我的答案以獲取更多信息。 – 2011-03-16 18:16:35

+0

@Josh M:這裏沒有答案......而替代方案就在那裏。 – 2011-03-16 18:17:48

2

要使用集成模式在IIS中運行應用程序,請將system.web\httpHandlerssystem.web\httpModules部分分別移動到system.webServer中,並分別將其重命名爲「處理程序」和「模塊」。這應該讓您更接近IIS的有效集成模式配置。

+0

「更緊密」不能解決問題。請參閱您投票選出的解決方案,以解決問題。 – 2011-03-16 18:20:12

+0

(並不是要降低你的答案 - 解開它)。但是沒有看到實際的配置文件,我不知道如何使配置有效,我只是提出兩點,我知道可能是在配置文件,並需要移動。 – 2011-03-16 18:22:36

相關問題