Unable to launch the IIS Express Web server

I was facing same issue and to solve this problem this is what I did

  1. Closed Visual studio 2013
  2. opened in admin mode - and it worked !

Close Visual Studio. Delete your application's applicationhost.config file - It will be rebuilt when you reopen the project in VS.


I got the same thing after doing a windows update last night. So what i did to fix mine was renamed the automatically created folder "IISExpress" which on my system was in the My Documents folder. Then I restarted VS and it recreated that IISExpress folder for me - back to working condition. Then launch VS again and the problem should be resolved. At least it worked on my system.


A couple of suggestions that may help:

How did you reinstall iis-express? If you haven't done so, you can try re-installing Visual Studio 2010 SP1, which contains iis-express.

Try using process monitor to watch the iis-express process to see if there are any permission issues when attempting to start it.

As a last resort, you can disable the logging module by modifying the applicationhost.config, which is located in the %userprofile%\documents\IISexpress\config directory. To do so you will need to comment out a couple lines in the file.

Under the <system.webServer>/<globalModules> element, comment out the line

<add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" />

Under the <location>/<system.webServer>/<modules> element, comment out the line

<add name="HttpLoggingModule" lockItem="true" /> 

After saving your changes try restarting iis express.

Tags:

Iis Express