“Unable to launch the IIS Express Web server.” in Visual Studio

前端 未结 27 1541
清酒与你
清酒与你 2021-01-30 00:44

I attempted to run my web service through visual studio. I faced an issue like :

---------------------------
Microsoft Visual Studio
---------------------------
         


        
27条回答
  •  礼貌的吻别
    2021-01-30 01:09

    In my case, doing the following did the trick:

    • Delete the Site from .vs\\config\applicationhost.config
    • Delete the Site from Documents\IISExpress\config\applicationhost.config
    • Delete the IISUrl from the .csproj

    When I restarted Visual Studio, it assigned the project a completely new port number and ran perfectly

提交回复
热议问题