Initializing the applicationhost.config file failed. Cannot find IIS Express

15,418

Solution 1

I couldn't fix this issue, But I managed to resolve by Uninstalling and reinstalling the Visual Studio 2015.

Solution 2

I have got the same issue. So I install the IIS Express from https://www.microsoft.com/en-us/download/details.aspx?id=48264

Then reload the solution. problem solved.

Solution 3

Follow this link :

https://drive.google.com/open?id=0B9Q8e7mRZ7_oaXRHX01yMUNPbUE

You need to modify the visual studio web services. The video shows how to modify VS. Modification depends on which type of template you are using that shows error. If its WCF, then you make web service updates during modification of VS.

Share:
15,418
alphacoder
Author by

alphacoder

I develop full stack web applications as both a profession and a hobby. I am passionate about learning new technologies and building tools and websites that make difference. I currently reside in San Francisco Bay Area and work as a senior software engineer

Updated on June 04, 2022

Comments

  • alphacoder
    alphacoder almost 2 years

    I recently installed the Visual Studio 2017 RC and created AngularJS SPA application. I had to uninstall the VS 2017 RC as it was hanging multiple times. Now, Whenever I try to open this SPA application using VS 2015 I get this error. Any help to resolve this would be helpful. Thank you.

    Initializing the applicationhost.config file failed. Cannot find IIS Express

    Error

  • Tomáš Hübelbauer
    Tomáš Hübelbauer about 7 years
    Link only answers are discouraged on the site. Please read the rules.
  • aditya
    aditya about 7 years
    I have made edits giving more explaination. Let me know if that is still an issue. I will delete my answer.
  • aditya
    aditya about 7 years
    Please check it again
  • UkFLSUI
    UkFLSUI over 4 years
    Your answer is already a duplicate of other answers in this same post.