7

IIS recycles an ASP.net Application Pool automatically whenever either the /bin folder or the web.config file changes.

Is there a way to disable that feature? This is IIS 7.5 running in Integrated mode, and the underlying intention is to allow applications (with Full Trust) to update and restart themselves.

8

Yes you can.

In the Application Pool > Advanced Settings > Recycling section, set the Disable Recyling for Configuation Changes to True.

  • 2
    Even with the Disable Recycling for Configuration Changes = True, we could not prevent IIS from soft recycling the associated apppool when any file was added or removed from bin - even a text file. – Jeremy Murray Aug 4 '16 at 23:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.