1. 程式人生 > >處理程序“PageHandlerFactory-Integrated”在其模塊列表中有一個錯誤模塊“ManagedPipelineHandler”

處理程序“PageHandlerFactory-Integrated”在其模塊列表中有一個錯誤模塊“ManagedPipelineHandler”

lin int nal .com 路徑 分享 處理程序 避免 src

window7 iis7 發布asp.net網站時報“HTTP 錯誤 500.21 - Internal Server Error 處理程序“PageHandlerFactory-Integrated”在其模塊列表中有一個錯誤模塊“ManagedPipelineHandler””的錯,詳細信息如下:

導致這種問題的原因是ASP.NET沒有成功註冊到IIS中,很有可能是先安裝.Net Framework,然後安裝IIS。為了避免此問題發生,要先安裝IIS再安裝.Net Framework。

技術分享

解決方案

1. 管用員權限進入cmd命令提示符界面

2. 執行命令 cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319

3. 運行: aspnet_regiis.exe -i

(註意:32位操作系統路徑是C:\Windows\Microsoft.NET\Framework\v4.0.30319)

技術分享

處理程序“PageHandlerFactory-Integrated”在其模塊列表中有一個錯誤模塊“ManagedPipelineHandler”