473,233 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

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
reproduced.

Notes:
------------------------------------
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
change.
c) No code is modifing the web.config. The file's Modification date remains
unchanged.
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.
Thoughts:
------------------------------------
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
directory.
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
Account name: NT AUTHORITY\NETWORK SERVICE
Platform:
------------------------------------
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 1315

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Will Mathies | last post by:
I have changed the icon used for my C# windows form application. Now I am having problems. When my app has several windows open they get grouped on the taskbar. The icon that this group uses is...
0
by: Shankar | last post by:
The system occasionally comes up with an error message saying Application Restarting ASP_0147. Is there anyway to stop this error from happening. Once this happens the whole session is lost....
7
by: Simon Jefferies | last post by:
Hello, I'm trying to create a new ASP. NET Web Application project, when I enter a name and press OK i get the following: Web Access Failed. The default web access mode for this project is...
9
by: Wayne Wengert | last post by:
I built an ASP application and it runs fine on my local IIS. I am trying to move the application to my web service (ISP) out on the internet. I've read several of the help articles but they all...
6
by: Martin Bischoff | last post by:
Hi, I'm creating temporary directories in my web app (e.g. ~/data/temp/temp123) to allow users to upload files. When I later delete these directories (from the code behind), the application...
2
by: Kevin Antel | last post by:
We've put the application in its own pool and turned off all recycling. Yet, when we get to a certain point in the application, we get kicked back to the beginning of the application and the event...
7
by: Steven Cliff | last post by:
I have started to use the new Enterprise Library (Jan 06) and have set up a skeleton project using the DAAB. This all seems to work fine apart from when I come to secure the app.config file via...
7
by: zb | last post by:
I am not convinced and need your opinion. My understanding is that if bin directory's content is changed then the ASP.Net application recycles (Applicatin is restarted). Is it also true for the...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Following the samples online, we implemented a windows service in .Net. Like most services, there's a worker thread actually doing stuff in the background. The problem we've run into is...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.