What should you do?

You deploy an ASP.NET application to an IIS server.
You need to log health-monitoring events with severity level of error to the Windows application event log.
What should you do?

You deploy an ASP.NET application to an IIS server.
You need to log health-monitoring events with severity level of error to the Windows application event log.
What should you do?

A.
Run the aspnet_regiis.exe command.

B.
Set the Treat warnings as errors option to All in the project properties and recompile.

C.
Add the following rule to the <healthMonitoring/> section of the web.config file.
<rules>
<add name=”Failures”
eventName=”Failure Audits”
provider=”EventLogProvider” />
</rules>

D.
Add the following rule to the <healthMonitoring/> section of the web.config file.
<rules>
<add name=”Errors”
eventName=”All Errors”
provider=”EventLogProvider” />
</rules>



Leave a Reply 0

Your email address will not be published. Required fields are marked *