發佈mvc遇到的HTTP錯誤 403.14-Forbidden解決辦法

<system.webServer>
   <validationvalidateIntegratedModeConfiguration="false"/>
   <modules runAllManagedModulesForAllRequests="true" />html

</system.webServer>web

在web.config增長<modules runAllManagedModulesForAllRequests="true" />less

若是還不行,請檢查一下「處理程序映射」,裏面是否有「ExtensionlessUrlHandler-Integrated-4.0」,若是沒有,請註冊.net4.0.net

在運行裏輸入:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ihtm

 

 

來源:http://www.cnblogs.com/yuejin/archive/2013/01/19/2867428.html(yuejinblog

相關文章
相關標籤/搜索