我在 MVC 4 中有一个使用 VS 2013 的应用程序。
这很奇怪,直到昨晚一切正常,但是今天早上当我开始工作并尝试运行我的应用程序时,我发现了以下错误:
Unable to launch IIS express web server.
Failed to register URL"http://localhost:62707" for site...
Access denied(0x80070005)
我从早上开始就搜索了这个,我得到了我尝试的解决方案:
尝试通过重新打开应用程序来运行应用程序,但效果很好。
到 https。有了这个,唯一改变的是错误是
正在上映:
Unable to launch IIS Express Web server. The start URL specified is not valid.
我的浏览器也是。
但似乎没有什么对我有用,即使在尝试了几乎所有的可能性几个小时后,我还是有点卡在这一点上。
最佳答案
你可以试试这个:
"Win+R"写"cmd"把这个命令用于删除urlacl。
netsh http delete urlacl url=http://{ip_address}:{port}/
netsh http add urlacl url=http://{ip_address}:{port}/ user=everyone
路径为:
%userprofile%\Documents, e.g. C:\Users\[you]\Documents\IISExpress
关于visual-studio - 无法在 VS 2013 中启动 IIS Express Web 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25440060/