locked
Visual Studio Won't launch the App RRS feed

  • Question

  • User-1991376781 posted

    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.



    Thursday, June 8, 2017 2:52 AM

All replies

  • User2119946224 posted

    Hi WAS,

    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.

    Regards,

    Thursday, June 8, 2017 3:52 AM
  • User1967761114 posted

    Hi WAS,

    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.

    https://www.asp.net/downloads

     

    If you have any other questions, please feel free to contact me any time.

    Best Regards

    Even

    Wednesday, June 21, 2017 7:36 AM