I am trying to set up health monitoring in IIS 6 / ASP.NET 2 running Windows Server 2003.
What I want to do for the first step is to receive application life events in addition to the default events (as specified in C: \ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ CONFIG \ web.config).
On my dev machine, running on IIS 7 as NetworkService on Windows 7, works fine.
On an IIS 6 machine, by default, events are still logged in the event log, but there are no additional life-time events. In addition, no events related to incorrect configuration are logged or displayed . In addition, using SimpleMailProvider instead of registering events does not produce results .
It seems like it's just ignoring my settings. I tried many configuration options - I even copied all the global health monitoring settings into the web.config application - but no luck.
Thanks in advance!
Here are the settings I added to web.config:
<healthMonitoring enabled="true">
<rules>
<clear />
<add name="All Errors Default" eventName="All Errors" provider="EventLogProvider" profile="Critical" />
<add name="Application Lifetime Events Default" eventName="Application Lifetime Events" provider="EventLogProvider" profile="Critical" />
<add name="Failure Audits Default" eventName="Failure Audits" provider="EventLogProvider" profile="Critical" />
</rules>
</healthMonitoring>
source
share