2010年11月11日 星期四

System.ServiceModel.Activation.HttpModule錯誤

部屬程式時發生System.ServiceModel.Activation.HttpModule錯誤。
 只要使用ASP.Net IIS 註冊工具 -- aspnet_regiis.exe,將.net Framework註冊到IIS即可。


在dos下對應的資料夾中輸入
aspnet_regiis -iru


-iru 參數:安裝該.net Framework版本的 ASP.NET。


找到 aspnet_regiis.exe 檔案的位置 , 可以對 windows 目錄作搜尋,檔案所在的路徑會因為安裝的版本不同而異,net Framework的板本也會有所不同。

沒有留言:

張貼留言