Logging ASP.NET Application Shutdown Events
page 2 of 2
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 19237/ 45
Article Contents:

Resources

View Entire Article

User Comments

Title: Good job   
Name: Game 9
Date: 2011-06-22 2:36:01 AM
Comment:
Good Job! man
Title: Medium trust forbids this code   
Name: Andrei Rinea
Date: 2009-01-12 5:01:00 AM
Comment:
I cannot run this in medium trust because of the use of reflection. Any other alternative? :(
Title: HostingEnvironment caused shutdown   
Name: ulu
Date: 2007-01-25 4:12:30 AM
Comment:
Hi, and thanks for the great article.

My log gives me _shutDownMessage = HostingEnvironment caused shutdown and the following stack:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
System.Environment.get_StackTrace()
System.Web.HttpRuntime.ShutdownAppDomain()
System.Web.Hosting.HostingEnvironment.ShutdownThisAppDomainOnce()
System.Web.Hosting.HostingEnvironment.InitiateShutdownWorkItemCallback(Object state)
System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

Any clue how to interpret this?

Big thanks

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-22 8:06:41 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search