none
Unable to launch the IIS Express Web server, Visual Studio 2015

    Question

  • I installed Visual Studio 2015 Professional with no issues.  I started up a new ASP.NET project.  When I run it to debug I always get the following error on a dialog:

    Unable to launch the IIS Express Web Server

    I have done all the usual troubleshooting steps, which involves googling the error and trying every single possible solution found, but none of them have fixed this issue.  Restarted numerous times.  Uninstalled and re-installed Visual Studio 2015.  I still have the same issues.

    Can someone provide a real solution to this issue?

    Any help would be appreciated.


    Thursday, June 16, 2016 4:56 PM

Answers

  • Hi ICTony,

    Thank you for your post,

    >>Unable to launch the IIS Express Web Server

    According to this error message, bad IIS config file may lead to it.

    Here are some solutions, you may try the following to see if it works:

    A.

    Delete the automatically-created IISExpress folder, which is usually located at %userprofile%/Documents, e.g. C:\Users\[you]\Documents\IISExpress.

    B.

    1.Close Visual Studio

    2. Navigate to your Documents folder. .

    3. In the config folder, there is a file called applicationhost. Open that.

    4. Search for the name of your project. It should have been added in there by Visual Studio when it bombed in your previous attempts.

    5. Note that there's a binding for http with the port you intend to use for https.

    //Change this:
    <binding protocol="http" bindingInformation="*:44300:localhost" />

    //to this:
    <binding protocol="https" bindingInformation="*:44300:localhost" />

    C.

    1. In VS Opened Debug > Website Properties.

    2.Select the "Web" tab.

    3. Under "Servers" I found "Override application root URL" was checked.  unckeck and save it

    D.

    Please make sure that you start VS in Admin Mode.

    For more details, please refer to:

    http://stackoverflow.com/questions/15873126/unable-to-launch-the-iis-express-web-server

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Friday, June 17, 2016 8:18 AM
    Moderator