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

前端 未结 27 1548
清酒与你
清酒与你 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:16

    I ran into the same problem after we had upgraded a solution from Visual Studio 2012 to 2015. I had come here and ran netstat only to find that no other application was using the same ports. It turns out I had the same sites with the same ports mapped in the applicationhost.config at Users//Documents/IISExpress/config and the applicationhost.config in the .vs folder inside my solution. I should note that the problem didn't start right after the upgrade either. It just start failing consistently one morning. A couple reboots didn't seem to solve the problem either.

    Removing the conflicted sites from the one stored in my Documents and restarting Visual Studio solved the problem.

提交回复
热议问题