Search code examples
c#asp.netvisual-studiovisual-studio-2012iis-express

IIS Express Immediately shutting-down running site after stopping web application


I'm using visual studio 2012 in the first days when I want to stop application in IDE, application was still running on IIS Express, I could browse and work with running application, but now I can't. IIS Immediately shutting-down application if I press stop button. Since I remember I didn't make any changes in setting. How should I do that running same as first days.


Solution

  • I recently faced a similar situation when suddenly my IIS Express stopped right after I stopped debugging. This happened after I turned on "Enable Edit and Continue". So if you disable this you will see that IIS Express stays running even after debugging is stopped.

    Right click your project > click Properties > select the 'Web' tab on the left > uncheck the Enable Edit and Continue checkbox.