IIS application restart problem
No edit summary
No edit summary
Line 4: Line 4:
Azure Web App Restarting Automatically Due to '''Overwhelming Change Notification''' or '''IIS Configuration Change'''.
Azure Web App Restarting Automatically Due to '''Overwhelming Change Notification''' or '''IIS Configuration Change'''.


This is a known tricky area to handle within IIS. dASDA sdAS DAsdsD ds
This is a known tricky area to handle within IIS.  


===== web.config =====
===== web.config =====
Line 29: Line 29:
   </system.web>
   </system.web>
  </configuration>
  </configuration>
[[Category:IIS]]
  [[Category:IIS]]

Revision as of 11:53, 12 December 2022

The problem

You might end up with problems that your IIS or Azure WebApp restarting over and over. Look in the MDrivenServer or TurnKey log files for this;

Azure Web App Restarting Automatically Due to Overwhelming Change Notification or IIS Configuration Change.

This is a known tricky area to handle within IIS.

web.config

There are settings in web.config to control how IIS monitors files that change in the web site and after a number of changed files, the app pool is recycled.

This is not a behavior we want because we control site updates from within MD and TK.

Both MD and TK have this setting set to Disabled with

fcnMode="Disabled"
Empty root level in your IIS or WebApp

However, it seems that you might still have this problem if you don't have the web.config at the root level.

So, if you have installed your MDrivenServer in the __MDrivenServer directory without having a TurnKey server installed at the root level, add this code in a web.config at the root level.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="__MDrivenServer">
    <system.web>
      <httpRuntime maxRequestLength="2147483647" executionTimeout="300" targetFramework="4.5" requestValidationMode="2.0" fcnMode="Disabled" />
    </system.web>
  </location>
  <system.web>
    <httpRuntime maxRequestLength="2147483647" executionTimeout="300" targetFramework="4.5" requestValidationMode="2.0" fcnMode="Disabled"/>
  </system.web>
</configuration>
This page was edited 84 days ago on 02/10/2024. What links here