473,394 Members | 1,794 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,394 software developers and data experts.

Event message: Application is shutting down. Reason: Hosting environment is shutting down.

Sorry for the double post (also in the IIS group).

We've got an ASP.Net 2.0 app running on IIS6. We kept losing sessions, and
enabled health monitoring to see what was happening. This morning the got
the following in the logs. Any idea what would cause it?

Event code: 1002
Event message: Application is shutting down. Reason: Hosting environment is
shutting down.
Event time: 7/17/2007 10:28:37 AM
Event time (UTC): 7/17/2007 3:28:37 PM
Event ID: 6cf974868548461ab7d7bc8616a6f455
Event sequence: 426
Event occurrence: 1
Event detail code: 50002

Application information:
Application domain: /LM/W3SVC/1/ROOT/[appname]-1-128291552554452908
Trust level: Full
Application Virtual Path: /[appname]
Application Path: c:\inetpub\wwwroot\[appname]\
Machine name: [servername]

Process information:
Process ID: 6036
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Jul 17 '07 #1
2 13638
This is what happens when your ASP.NET Application recycles. The AppDomain
shuts down and is replaced by a new one. Recycling can be caused by IIS
settings that you can change for the specified AppPool, as well as by just
plain "bad code" that needs to be refactored and tested.
Peter
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com

"Jack" wrote:
Sorry for the double post (also in the IIS group).

We've got an ASP.Net 2.0 app running on IIS6. We kept losing sessions, and
enabled health monitoring to see what was happening. This morning the got
the following in the logs. Any idea what would cause it?

Event code: 1002
Event message: Application is shutting down. Reason: Hosting environment is
shutting down.
Event time: 7/17/2007 10:28:37 AM
Event time (UTC): 7/17/2007 3:28:37 PM
Event ID: 6cf974868548461ab7d7bc8616a6f455
Event sequence: 426
Event occurrence: 1
Event detail code: 50002

Application information:
Application domain: /LM/W3SVC/1/ROOT/[appname]-1-128291552554452908
Trust level: Full
Application Virtual Path: /[appname]
Application Path: c:\inetpub\wwwroot\[appname]\
Machine name: [servername]

Process information:
Process ID: 6036
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Jul 17 '07 #2
I got a reply from the IIS group -

There is an option on the Performance tab (of the IIS app pool) that
shutdowns down your application if it has been idle for 20 minutes. This
could be one cause.

I'm changing our configuration to 60 minutes to see if it has any impact.
If all users are idle for 60 minutes, it needs to shut recucle.
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.comwrote
in message news:42**********************************@microsof t.com...
This is what happens when your ASP.NET Application recycles. The AppDomain
shuts down and is replaced by a new one. Recycling can be caused by IIS
settings that you can change for the specified AppPool, as well as by just
plain "bad code" that needs to be refactored and tested.
Peter
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com

"Jack" wrote:
>Sorry for the double post (also in the IIS group).

We've got an ASP.Net 2.0 app running on IIS6. We kept losing sessions,
and
enabled health monitoring to see what was happening. This morning the
got
the following in the logs. Any idea what would cause it?

Event code: 1002
Event message: Application is shutting down. Reason: Hosting environment
is
shutting down.
Event time: 7/17/2007 10:28:37 AM
Event time (UTC): 7/17/2007 3:28:37 PM
Event ID: 6cf974868548461ab7d7bc8616a6f455
Event sequence: 426
Event occurrence: 1
Event detail code: 50002

Application information:
Application domain: /LM/W3SVC/1/ROOT/[appname]-1-128291552554452908
Trust level: Full
Application Virtual Path: /[appname]
Application Path: c:\inetpub\wwwroot\[appname]\
Machine name: [servername]

Process information:
Process ID: 6036
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Jul 18 '07 #3

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

Similar topics

6
by: NotGiven | last post by:
My hosting company has pre-intalled PEAR in a directory out of the web directory (and not in php-includes). I've tried including the absolute /to/path/ in the requre statement but it does not...
0
by: Dave LLoyd | last post by:
Hi, Does anyone know of any concise documents that detail securing the .net framework installation in a shared web hosting environment? Thanks, Dave.
5
by: Andy | last post by:
Hi, I'm looking for a event calendar application. I've found a few but they all seem to be pretty basic. I need one that incorporates some kind of filtering so that if person1 logs on...
0
by: oldman | last post by:
Greetings to all and thanks in advance..... I'm having a reoccuring error message in the application log on XP-home. I'm starting here because it's a .NET message. From what I can see in the log...
0
by: rodchar | last post by:
hey all, has anyone gotten WebRequest to work in a share hosting environment? thanks, rodchar
1
by: SenthilPSL | last post by:
When I call a webservice on IIS on Windows 2000 Server with .NET runtime 2.0, I get the following Error. System.Net.WebException: The operation has timed out From ASPX Pages, I call the web...
2
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I am monitoring web apps with the windows event log and noticed several (Hosting environment is shutting down) statements. The server appears to still be running, just wondering any ideas on...
0
by: yamadonga | last post by:
Hi.. I have hosted my Asp.net application on Godaddy shared hosting environment. Now I want to upload images to my hosting server by using my code. So I used file upload control to upload my files,...
1
by: chandhrakv | last post by:
Hi experts, Can any one please respond with the resolution. Machine: WIN2K3, ASP.NET application, .NET 2.0 with June 2007 hotfix installed recently. Facing daily 1000 errors with the same type...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.