470,855 Members | 3,323 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,855 developers. It's quick & easy.

Application Restarting - Configuration has changed.

The problem is that the web application mysteriously shuts down (ending all
sessions) due to a supposed 'configuration change'. By using ASP.Net Health
Monitoring we can determine that the application occasionally raises a
"Application is shutting down. Reason: Configuration changed." event during
normal application usage. The only known way to duplicate this event is to
manually save the web.config, which correctly triggers the event as
expected. Otherwise, the shutdown occurs sporadically and cannot be reliably

a) This is NOT the application shutting down due to the hosting environment
shutting down.
b) This is NOT due to application shutting down due to a bin directory
c) No code is modifing the web.config. The file's Modification date remains
d) No other application or application pool is shutdown.
e) Behavior occurs sporadically and cannot be reliably reproduced.
f) All ASP.Net C# code is Framework 2.0 compliant using no obsolete or
deprecated code. Compiled in Release mode.
g) Machine.config is not being changed.
h) No virus scanners are running.
i) No excessive memory usage.
1) A user of the application can trigger a PDF generation which queues a
MSMQ message.
2) A Win32 service listens for these messages and directly writes a PDF
(over the course of several seconds) to the http://www.blah.com/PDF
3) While the PDF is being generated, the user sees a continuously refreshing
wait screen whilst checking another MSMQ for status.
4) A Verisign PayfloPro COM control is used to transact money through a
payment gateway.

Health Monitoring Error Information:
Event code: 1002
Event message: Application is shutting down. Reason: Configuration changed.
Event time: 5/9/2006 9:54:18 AM
Event time (UTC): 5/9/2006 1:54:18 PM
Event ID: 2d0b8ea6fa674a66982b8f4f067a31c4
Event sequence: 74
Event occurrence: 1
Event detail code: 50004

Process information:
Process ID: 2948
Process name: w3wp.exe
ASP.Net 2.0
Windows Server 2003, IIS6 (Latest Services Packs)
This cannot be duplicated on a WinXP Professional workstation.
May 23 '06 #1
0 1176

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Will Mathies | last post: by
reply views Thread by Shankar | last post: by
7 posts views Thread by Simon Jefferies | last post: by
9 posts views Thread by Wayne Wengert | last post: by
6 posts views Thread by Martin Bischoff | last post: by
2 posts views Thread by Kevin Antel | last post: by
7 posts views Thread by Steven Cliff | last post: by
4 posts views Thread by =?Utf-8?B?TWFyaw==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.