IIS Health Monitoring via ASP.NET

  • Thread starter Thread starter wwwmike
  • Start date Start date
W

wwwmike

Does anybody has a working example how I can intercept application
restarts and send log information via emails or write them to my SQL
Server 2000DB.

Since I am on a shared server I do not have access to the log files
myself but I want to monitor the health of my asp.net application for
debugging.


I checked out the webmanagement class, but honestly I am more a copy &
paste developer.


Best Regards


Mike :)
 
Here ya go...

http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx

That example logs to the Application Log.

You should be able to easily modify that example
to send Emails or log to a SQL database.

If you need help with that, check out :
http://odetocode.com/Blogs/scott/archive/2005/11/01/2402.aspx
and
http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
Back
Top