locked
Asp.net MVC application not available when debuging is stopped. RRS feed

  • Question

  • User-848409960 posted

    When i start my application with the |> start button in IDE or F5 the application starts and works normally

    ...

    After that i user stop button and make change to the source code and build again.

    i go to browser refresh the page the application is no longer hosted [Why]

    In my Office i can develop in this way.. change code >> build  >> Refresh Browser.

    But in my home PC i am not able to do this...

    Both have VS 2012 installed and are hosting applications on ISS express.

    Monday, February 10, 2014 2:32 AM

Answers

  • User-848409960 posted

    Though it is working but i had to host my application on ISS Server insted of express.

    http://stackoverflow.com/questions/13749138/asp-net-4-5-has-not-been-registered-on-the-web-server

    http://msdn.microsoft.com/en-us/library/k6h9cz8h%28v=vs.100%29.aspx

    I found i do not have ISS server enabled in Windows Program and Feature and to register .net 4 i have to run below code in cmd.

    for anyone other landeing on this page for solution check out the above post.

    Additionally you have to Go to Properties of your project >> Web Tab  >> Check user local Iss server checkbox.

    aspnet_regiis -i
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 11, 2014 1:45 PM

All replies

  • User-166373564 posted

    Hi dev.paudel

    According to your description above, your asp.net application is unable to debug on your IIS Express, here are some suggestions for you,

    • Stop your existing application and ensure that you don't have any additional IIS processes or instances of your local Web Server running.
    • If these issues are still persisting after the above steps, try restarting Visual Studio (and even your local machine)

    Please check whether the issue still persists after all of them.

    In addition, it's also recommended to follow this roadmap to troubleshoot this issue,

    # Error: Unable to Start Debugging on the Web Server

    http://msdn.microsoft.com/en-us/library/dwesw3ee.aspx 

    Best regards

    Angie Xu

    Monday, February 10, 2014 10:02 PM
  • User-848409960 posted

    Though it is working but i had to host my application on ISS Server insted of express.

    http://stackoverflow.com/questions/13749138/asp-net-4-5-has-not-been-registered-on-the-web-server

    http://msdn.microsoft.com/en-us/library/k6h9cz8h%28v=vs.100%29.aspx

    I found i do not have ISS server enabled in Windows Program and Feature and to register .net 4 i have to run below code in cmd.

    for anyone other landeing on this page for solution check out the above post.

    Additionally you have to Go to Properties of your project >> Web Tab  >> Check user local Iss server checkbox.

    aspnet_regiis -i
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 11, 2014 1:45 PM