描述:HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory
情况:windows server 2008上部署asp.net mvc应用,报异常。
参考:
http://stackoverflow.com/questions/2374957/asp-net-mvc-on-iis-7-5
发生原因猜测:服务器系统没有打SP包,有bug未修复。
二是打补丁:
补丁下载:
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5272
解决:一种是设置module为 runAllManagedModulesForAllRequests