Web Site Health Monitoring not working on Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm fairly new to dotNet but I've set up a web site and SQL database, with
Health monitoring on which works fine localy on my development machine.
However when ever upload the web site to our web servers i get nothing
logging. Any help would be great.Heres the relevant info from my web config.
I know the connection string works as i use this else where in the site.

<healthMonitoring enabled="true">
<eventMappings>
<clear />

<!-- Log ALL error events -->
<add name="All Errors"
type="System.Web.Management.WebBaseErrorEvent"
startEventCode="0" endEventCode="2147483647" />

<!-- Log application startup/shutdown events -->
<add name="Application Events"
type="System.Web.Management.WebApplicationLifetimeEvent"
startEventCode="0" endEventCode="2147483647"/>
</eventMappings>

<providers>
<clear />

<!-- SqlWebEventProvider information here -->
<add connectionStringName="Connection String NAme"
maxEventDetailsLength="1073741823"
buffer="false" bufferMode="Notification"
name="SqlWebEventProvider"
type="System.Web.Management.SqlWebEventProvider" />
</providers>

<rules>
<clear />

<add name="All Errors Default" eventName="All Errors"
provider="SqlWebEventProvider" profile="Default"
minInstances="1"
maxLimit="Infinite" minInterval="00:01:00" custom="" />

<add name="Application Events Default" eventName="Application Events"
provider="SqlWebEventProvider" profile="Default" minInstances="1"
maxLimit="Infinite" minInterval="00:01:00" custom="" />
</rules>
</healthMonitoring>

Thanks
 
Found the problem I need to give the Application pool user permission to run
the event loger job within the database.
 
Back
Top