HTTP错误403.14 - 禁止访问Web服务器配置为不列出内容 [英] HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents

查看:110
本文介绍了HTTP错误403.14 - 禁止访问Web服务器配置为不列出内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了MVC音乐商店在位置C:\\用户\\ DEVESH \\桌面\\项目\\ MvcMusicStore-V3.0 \\ MvcMusicStore完成的\\ MvcMusicStore
并添加在同一location.I在IIS上的网站也获准IIS_IUSRS,但是当我运行本地主机我得到的误差

I have downloaded the MVC Music Store at location C:\Users\DEVESH\Desktop\Projects\MvcMusicStore-v3.0\MvcMusicStore-Completed\MvcMusicStore and added the website on IIS at same location.I have also given permission to IIS_IUSRS,but when i run localhost i am getting the error

HTTP错误403.14 - 禁止访问Web服务器配置为不列出此目录的内容

我GOOGLE了它,但不能fix.Can有人告诉我哪里做错了?

I have googled it,but not able to fix.Can someone tell me where i am doing wrong?

推荐答案

我碰到这个错误来了,因为我已经在网站上的应用程序池配置错误的.NET版本(V2.0,而不是V4.0)。我固定它的Windows Server 2008上这样R2和IIS 7.我是pretty肯定的说明适用于Windows Server 2012和IIS 8以及

I came across this error because I had the wrong .NET version (v2.0 instead of v4.0) configured on the web site application pool. I fixed it this way on Windows Server 2008 R2 and IIS 7. I'm pretty sure the instructions apply to Windows Server 2012 and IIS 8 as well:


  • preSS键的Windows + R 打开运行对话框中,键入 INETMGR ,然后单击确定。这将打开IIS管理器。

  • 在左树视图,找到站点节点,并找到默认Web站点下的它节点(或在出现错误消息的网站的名称)。

  • 右键单击该节点并选择管理网站 - >高级设置... 即可。注意值应用程序池的名称。关闭此对话框。

  • 在树形视图左侧,找到并选择节点的应用程序池

  • 在右侧列表中,找到应用程序池具有相同的名称与您在网站设置中记下的。右键单击它并选择高级设置...

  • 确保该 .NET Framework版本值为 V4.0 。点击确定

  • Press keys Windows+R to open the Run dialog, type inetmgr and then click OK. This opens the IIS Manager.
  • In the left treeview, locate the Sites node and find the Default Web Site node under it (or the name of the site where the error message appears).
  • Right-click the node and select Manage web site -> Advanced settings.... Note the name of the value Application pool. Close this dialog.
  • In the treeview to the left, locate and select the node Application pools.
  • In the list to the right, locate the Application pool with the same name as the one you noted in the web site settings. Right-click it and select Advanced settings...
  • Make sure that the .NET Framework version value is v4.0. Click OK.

如果你正在运行,其实应该有.NET 2.0的旧本站不适用,当然:)

This doesn't apply if you're running an older site that actually should have .NET v2.0, of course :)

这篇关于HTTP错误403.14 - 禁止访问Web服务器配置为不列出内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆