尝试从 Visual Studio 启动 ASP.net 项目时收到此错误消息(它不运行):
Unable to start debugging on the web server. The remote server returned an error: (403) Forbidden.
![enter image description here](https://i.stack.imgur.com/ahxfC.png)
Help
带我去这一页这是没有帮助的。搜索更普遍的错误让我这一页这也是没有帮助的。我正在将 IIS 10 与我创建的应用程序池一起使用,该应用程序池的身份与我的身份不同。
在 Visual Studio 中,选择Debug > Start Without Debugging
给我一个带有更有用错误的网页:
The current identity (username) does not have write access to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files'.
导航到该文件夹,右键单击Temporary ASP.NET Files
,选择Properties
, Security
tab, Edit
, Add
,并从我的自定义中输入身份Application Pool
解决了这个错误。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)