No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==== The | ==== The Problem ==== | ||
You might end up with problems | You might end up with problems like 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'''. | |||
Azure Web App Restarting Automatically Due to '''Overwhelming Change Notification''' or '''IIS Configuration Change'''. | |||
This is a known tricky area to handle within IIS. | This is a known tricky area to handle within IIS. | ||
===== web.config ===== | ===== web.config ===== | ||
There are settings in web.config to control how IIS monitors files that change in the | There are settings in web.config to control how IIS monitors files that change in the website, and after a number of changed files, the app pool is recycled. | ||
This is not | This is not how we want it to behave because we control site updates within MD and TK. | ||
Both MD and TK have this setting set to Disabled with | Both MD and TK have this setting set to Disabled with | ||
fcnMode="Disabled" | fcnMode="Disabled" | ||
===== Empty | ===== Empty Root Level in Your IIS or WebApp ===== | ||
However, | However, 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. | 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. | ||
Line 29: | Line 27: | ||
</system.web> | </system.web> | ||
</configuration> | </configuration> | ||
[[Category:IIS]] |
Revision as of 08:10, 15 March 2023
The Problem
You might end up with problems like 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 website, and after a number of changed files, the app pool is recycled.
This is not how we want it to behave because we control site updates 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, 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>