Monday, February 20, 2012

ASP.NET Restarting On Every Request

It turns out I was writing some temporary files to a subfolder in the “bin” (or application) directory.  The server saw that there were changes, and (correctly) decided a restart was required.

Here are some other options on why the server (both WebDev and IIS/IISExpress) may be restarting/recycling too much: http://blogs.msdn.com/b/johan/archive/2007/05/16/common-reasons-why-your-application-pool-may-unexpectedly-recycle.aspx

No comments:

Post a Comment