当前位置: 代码迷 >> .NET相关 >> HTTP 异常 403.14
  详细解决方案

HTTP 异常 403.14

热度:322   发布时间:2016-04-24 02:58:56.0
HTTP 错误 403.14

解决方法:

1,根据提示,在web.config中添加如下配置:

<?xml version="1.0" encoding="utf-8"?><!--  有关如何配置 ASP.NET 应用程序的详细信息,请访问  http://go.microsoft.com/fwlink/?LinkId=169433  --><configuration>  <system.web>    <compilation debug="true" targetFramework="4.5" />    <httpRuntime targetFramework="4.5" />  </system.web>  <system.webServer>    <directoryBrowse enabled="true"/>  </system.webServer></configuration>

2,IIS中启用目录浏览: 制面板 - 管理工具 - Internet 信息服务(IIS)管理器 - 目录浏览 选择启用,如图:

 

错误提示页面:

  相关解决方案