IIS 5 & IIS 6
Mysterious IIS Application Reset
Last post Oct 21, 2016 03:29 AM by lextm
Oct 19, 2016 07:03 PM|Hamoush|LINK
I'm having a weird problem where my ASP.Net application resets after doing some specific actions on my website. After adding some logging in Application_End(), I see that the shutdown reason is due to "ConfigurationChange". I obtained this from System.Web.Hosting.HostingEnvironment.ShutdownReason.
However, I have looked and looked and no config files seem to be changing on my web server. There is no anti-virus running on the server. We are using Windows Server 2012 R2, IIS version 6.2, .NET version 4.5.
Also, yes we do have patch KB3052480 installed. Any help would be very much appreciated. Thanks.
Oct 20, 2016 07:14 AM|Yuk Ding|LINK
The problem may be caused by CPU limit action or idle time out. Please try to disable these configurations in IIS manager->application pool->set idle time out to 0.
If you enabled generate recycle event log entry, you could find the changeconfiguration record in event viewer.
Besides, you may use following code with
System.Web.ApplicationShutdownReason shutdownReason to get the detailed error message.
Oct 20, 2016 04:03 PM|Hamoush|LINK
Hi Yuk, thanks for looking into this for me.
Our CPU limit was already set to 0. I tried setting the idle timeout to 0 as well but still get the same problem. I do not think it's a timeout issue as it happens only if the first user to log on after the server has been restarted carries out a certain
action on the website. After the problem happens once, it doesn't happen again unless the entire server is restarted (even if a user carries out the same action again).
Also, I do not see any recycle event log entries when this problem occurs. Our problem is with application restarts, not application pool recycles. The W3WP.exe process stays the same. This should be the reason why we do not see any recycle log entries.
Oct 21, 2016 03:29 AM|lextm|LINK
No matter what file has changed, it is .NET, so you can always debug it in the proper way,
If you are not capable of following the steps, open a support case via