473,386 Members | 1,610 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,386 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 1320

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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.