我更改了launchsettings.json中iisExpress的“ applicationurl”值(不正确)。
设置为...
"applicationUrl": "http://localhost:64522"
...但是我将其更改为...
"applicationUrl": "http://localhost:64522/MyPage"
...将其改回之前。
现在,当我导航到http://localhost:64522/MyPage时,出现应用程序池错误。
IIS Express在哪里添加了此值?我要删除它。
编辑1:
我已经检查了机器上的每个applicationHost.config,但是没有提及此URL。
编辑2:
我得到的错误是:
“ IIS Express AspNetCore模块V2”:
每个IIS应用程序池仅允许一个进程内应用程序。请将应用程序“ / LM / W3SVC / 34 / ROOT / MyPage”分配给另一个IIS应用程序池。
无法启动应用程序'/ LM / W3SVC / 34 / ROOT / MyPage',错误代码'0x80004005'。