"HTTP错误403.14-禁止"运行Webapp时发生错误 [英] "HTTP Error 403.14 - Forbidden" error when running the webapp
问题描述
在Visual Studio中运行Webapp时出现错误页面的原因是什么? URL为 http://localhost:5000/ HTTP错误403.14-禁止 Web服务器配置为不列出此目录的内容.
What is the reason for the error page I get when I run my webapp in Visual Studio. The URL is http://localhost:5000/ HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.
推荐答案
当我收到此错误时,通常是两件事:
Two things are usually the issue when I get this error:
1st:我从未定义过标准文档,也没有更改过它-因此在这种情况下IIS自动定义的标准文档不存在
1st: I never defined a standard document and changed it at some point - therefore the standard document that is automatically defined by the IIS in this case, doesn't exist
2nd:我没有启用索引搜索
2nd: I didn't enable index search
您可能想尝试一下.您可以直接在IIS设置中更改这些设置.
You might want to try this. You can change those settings in the IIS settings directly.
这篇关于"HTTP错误403.14-禁止"运行Webapp时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!