IIS application restart problem
No edit summary
(Replacing message template with parser tag)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==== The problem ====
<message>Write the content here to display this box</message>
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;
==== The Problem ====
You may 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.


Azure Web App Restarting Automatically Due to '''Overwhelming Change Notification''' or '''IIS Configuration Change'''.
==== 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 a known tricky area to handle within IIS.
This is not how we want it to behave because we control site updates within MD and TK.


===== web.config =====
Both MD and TK have this setting set to Disabled with:
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"
  fcnMode="Disabled"


===== Empty root level in your IIS or WebApp =====
==== 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.
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:
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <configuration>
  <configuration>
Line 29: Line 28:
   </system.web>
   </system.web>
  </configuration>
  </configuration>
[[Category:MDriven Designer]]
    [[Category:IIS]]
{{Edited|July|12|2024}}

Latest revision as of 07:43, 17 June 2024

The Problem

You may 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>
This page was edited 95 days ago on 06/17/2024. What links here