问题
如果您开始使用" Microsoft Visual Studio(VS) "中的" Microsoft Internet Information Services Express(IIS) ",您可能会在运行时获得生成此错误消息
Unable to connect to the configured development Web server.
Failed to register URL "http://{ip_addr}:{port}/" for site "{project_name}" application "/". Error description: Access is denied. (0x80070005)
它有什么样的权利?
保存进行中的工作
尝试从Visual Studio 2019(或Visual Studio 2017或Visual Studio 2015)运行网站时,出现错误:
Visual Studio 2015:
无法连接到配置的开发Web服务器。
Visual Studio 2017:
无法连接到配置的开发Web服务器。
IIS Express的输出:正在
启动IIS Express ... 在应用程序“ /”中 为网站“ WebSite3”
成功注册了URL“ http:// localhost:59392 / ”正在为网站“ WebSite3”
完成注册
IIS Express正在运行。
Visual Studio 2019:
无法连接到配置的开发Web服务器。
IIS Express的输出:正在启动IIS Express ...已成功为站点“ WebSite3”应用程序“ /” 注册URL“ http:// localhost:59392 / ”正在为站点“ WebSite3”注册完成IIS Express正在运行。
IISExpress 是实际上跑,听,但没有任何实际工作:
我尝试过的事情(来自Stackoverflow上的所有其他问题):
netsh http add urlacl url=http://localhost:56997/ user=everyone.vs文件夹iis-express ×1