简体   繁体   English

HTTP错误403.14-禁止

[英]HTTP Error 403.14 - Forbidden

I created an MVC5 site and deployed to my dev machine IIS. 我创建了一个MVC5站点并将其部署到我的开发机IIS。
However I can't get past this error when I browse to the URL. 但是,当我浏览到URL时,无法克服此错误。
HTTP Error 403.14 - Forbidden HTTP错误403.14-禁止

I tried implementing the settings in this thread, but I still get the same error. 我尝试在此线程中实施设置,但仍然出现相同的错误。
ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden IIS 7中的ASP MVC导致:HTTP错误403.14-禁止

My setup: 我的设置:
Publish Method: File System 发布方法:文件系统
From IIS 7.5 I added a new Web Site and pointed to my published folder location. 从IIS 7.5中,我添加了一个新网站并指向发布的文件夹位置。
I created a new app pool and set it to 4.0 and managed pipeline is integrated(also tried classic). 我创建了一个新的应用程序池并将其设置为4.0,并且集成了托管管道(也尝试了经典)。

What am I missing? 我想念什么?

Open CMD, 打开CMD,

If you are in 32 bit OS, Run : 如果您使用的是32位操作系统,请运行:

C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319> aspnet_regiis.exe -i

If you are in 64 bit OS, Run : 如果您使用的是64位操作系统,请运行:

C:\windows\Microsoft.NET\Framework64\v4.0.30319> aspnet_regiis.exe -i

I had same error and fixed error as following: 我有如下相同的错误和已修复的错误:

1) Open command prompt (cmd) and write command as 'appwiz.cpl' 1)打开命令提示符(cmd)并将命令写为'appwiz.cpl'
2) Open the menu "Turn Windows features on or off" 2)打开菜单“打开或关闭Windows功能”
3) Internet Information Services/Application Development Features 3)Internet信息服务/应用程序开发功能
4) And checked ASP.NET 3.5 and ASP.NET 4.6 4)并检查了ASP.NET 3.5和ASP.NET 4.6

IIS IIS

Hope will work for you 希望能为您服务

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM