Last post Jun 21, 2017 07:36 AM by EvenMa
Jun 08, 2017 02:52 AM|WAS|LINK
I have a new laptop and new visual studio 2015 professional installed; it compiles and builds with no error but I can neither run it nor "View in Browser". Both options generate error. I have googled and read and followed so many articles but no resolution.
View in Browser error:
Unable to launch the IIS Express Web Server
Error when button Run is clicked:
This page can’t be displayed
Make sure the web address http://localhost:58180 is correct.
Jun 08, 2017 03:52 AM|hkholakiya|LINK
There might be many reasons:
1) Your visual studio will detached from IIS during run application. Please try to run using f5 key and see in visual studio stop button is enabled or not if not than into Visual Studio -> Debug -> Attach to process or press ctrl + altr + p key together.
and attach with your above given port.
2) Your IIS corrupted. Try to repair IIS and restart machine and try again.
Hope this solve your issue. If yes please mark as answer.
Jun 21, 2017 07:36 AM|EvenMa|LINK
According to your description, you could try to remove applicationhost.config file at <solution-name>\.vs\config\applicationhost.config then try again.
If there still had error, you could try to install the patch of VS 2015 Tooling Preview 2.
However, I suggest you could use VS2017, you could get VS2017 by the following link.
If you have any other questions, please feel free to contact me any time.