Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS Express not working after installing VS2015

I've just installed VS2015 on my machine, whilst trying some of the new templates I realised that IIS Express wasn't working.

I tried a previously working MVC solution in VS2012, however this also it now not working. Before I installed VS2012, this was definitely working as I use it daily.

It will launch Internet Explorer/Edge/Chrome, but in the tab header it just says 'waiting for localhost'. I've left this for 5-10 minutes and it still fails to find it.

After reading numerous other StackOverflow quesitons, I've tried various settings changes to the application (which I can't remember all of) and deleting the IIS Express directory, but to no effect.

I also created a new blank MVC solution in VS2012 to ensure it was solution related and this is also not working.

like image 811
Jay Avatar asked Nov 17 '15 10:11

Jay


Video Answer


2 Answers

I had a similar problem, but I was using VS2013. Uninstall IIS Express 10 and install IIS Express 8. The download is here: IIS 8.0 Express Download

like image 125
David Alban Avatar answered Sep 19 '22 19:09

David Alban


I've been tearing out my hair with a similar issue basically when I create a MVC Web app in VS 2015 and then then build and run it. Eventually it opens in Browser and sometimes works (for a few minutes) then IE 11 seems to freeze and nothing happens, no errors either. I eventually found this post and I can say it seems to have worked for me also so a very big thank you. I did the following,

  1. Deleted IISExpress folder in Documents.
  2. Deleted almost everything in temp folder %temp% (may not be necessary but ...)
  3. Went into Control Panel\Programs\Turn windows features off and on and enabled IIS.
  4. Launched VS2015 project and opened and ran much faster with no apparent issue.
like image 31
Rockabill Avatar answered Sep 21 '22 19:09

Rockabill