mvc4 http错误403.14 forbidden

1. 检查服务器上是否安装了“HTTP重定向”功能和“静态内容压缩”功能(在添加/删除程序或增加角色处安装)。

2. 应用程序池要被配置为“集成”

3. 把.net 4.0安装在iis上

4. 确保自己的web.config里有
  <modulesrunAllManagedModulesForAllRequests="true"/>

    路径:

    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true" />
    </system.webServer>
 
5. 在应用程序池高级设置里面允许32位应用程序运行
原文地址:https://www.cnblogs.com/amywechat/p/4911034.html