码迷,mamicode.com
首页 > Web开发 > 详细

MVC.Net:对MVC5部署时出现403.14错误的解决方法

时间:2014-06-14 17:22:33      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   http   color   

当我们部署MVC5到IIS 7的时候,有时会出现403.14的错误,如下图:

bubuko.com,布布扣

对于这个错误的解决方法就是在应用程序的web.config的system.webServer节点中加入这一句:

<modules runAllManagedModulesForAllRequests="true"></modules>

如下例:

<system.webServer>
    <!-- 此行必须有,否则IIS7无法启动 -->
    <modules runAllManagedModulesForAllRequests="true"></modules>
</system.webServer>

 

MVC.Net:对MVC5部署时出现403.14错误的解决方法,布布扣,bubuko.com

MVC.Net:对MVC5部署时出现403.14错误的解决方法

标签:style   class   blog   code   http   color   

原文地址:http://www.cnblogs.com/ilovewindy/p/3785634.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!