How to stop web.config restating the application automatically on changes

Parent Previous Next
  Qsoar Installation And Configuration Guide ›› Web.Config application settings ›› How to stop web.config restating the application automatically on changes


This information has been drawn from (and is currently untested): http://stackoverflow.com/questions/613824/how-to-prevent-an-asp-net-application-restarting-when-the-web-config-is-modified/31470150#31470150


For the primary source see: https://support.microsoft.com/en-us/help/911272/fix-asp.net-2.0-connected-applications-on-a-web-site-may-appear-to-stop-responding and https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.100).aspx



Add  fcnMode="Disabled" to web.config in system.web httpRuntime.


   <system.web>

       <httpRuntime

           targetFramework=... >

           ...

           fcnMode="Disabled"

.../>

   </system.web>



Or


Change DisallowRotationOnConfigChangeto true in the Advanced Settings of the application pool in IIS.