Health Monitor or Not to Health Monitor?

written by Rick Reszler on Friday, September 08 2006

That is the question, in shared hosting ASP.NET 2

Here is my problem, we run many web servers with many domains in a shared hosting environment and have experienced server crashes or slow performance from either clients just forgetting to turn off debugging in there ASP.NET 2 applications or trying to debug intentionally. So we have decided to use the deployment element of ASP.NET 2 to disable debugging on our production servers by using this line in our machine.config <deployment retail="true"/> however this also prevents errors from showing both remotely as well as locally even when setting customErrors to "Off" in the web.config of the application.

So I am wondering what others have done for this or if using Health Monitoring in a shared hosting environment is more performance intrusive then just allowing debugging on the servers?

Below are some good articles and information I have found when researching this, also I want to say a special thank you to Scott Guthrie and Keyvan Nayyeri for the valuable insight and information! 

How To: Use Health Monitoring in ASP.NET 2.0 - MSDN Library

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005 by Scott Guthrie

Health Monitoring in ASP.NET 2 by Scott Allen 

Similar Posts

  1. CS 2.1 on Windows Server 2007 Codename "Longhorn"
  2. Long Pause.....
  3. Im Back!

Comments

  • Atif Aziz on on 9.21.2006 at 1:06 AM

    Atif Aziz avatar

    Have a look at ELMAH:

    www.raboof.com/.../ELMAH

    I specifically designed ELMAH for the kind of scenarios you're talking about. In fact, I use it on my public site (which runs in a shared hosting account) and get error reports online, via RSS feed and mail even with debugging turned off and custom errors turned on. In ELMAH, I also took on the challenge for shared hosting environments where you can provide ELMAH per application (backed by a single database) and configure it at the machine.config level. There is no absolutely no programming needed although the source code is included if you need to tailor it. It works for 1.x and 2.0. Don't know if it is what you're looking for, but I read your entry and it seemed to fit the fill. Anyway, I don't want to make this sound like a plug, so have a look and make your call.

  • on on 9.22.2006 at 10:06 PM

     avatar

    Atif thanks for this information I will be looking into this very soon! :-)

Comments are closed

Options:

Size

Colors