Unable To Launch Web Server

后端 未结 21 2273
北荒
北荒 2020-12-05 17:15

I have asp.net web application project in visual studio 2012. When I want to start it, I have the following error:

Unable to launch the IIS Express Web server: P

21条回答
  •  情歌与酒
    2020-12-05 17:33

    In my case I had to do two things:

    a. Remove the virtual directory from this file:

    C:\Users\\Documents\IISExpress\config\applicationhost.config
    

    b. run the program TCPView from: http://technet.microsoft.com/en-us/sysinternals/bb897437 Find the process which is using your port, and "End Process".

    After this, in Visual Studio, open the web app project properties, select Web tab, click "Create Virtual Directory" button to re-create the virtual directory. Run the web app in debug mode.

提交回复
热议问题