Asp – Disabling ASP.Net 2.0 Web Events

asp.netasp.net-2.0

Some exceptions (web service calls) of a Web Application are not handled, because I want to show them on a Custom Error Page, passing from the Application_Exception method.
Porting my Web Application to ASP.Net 2.0, these events started to appear in the Event Viewer (Web Events, new feature of ASP.Net 2.0).

Is there a way to disable ASP.Net 2.0 Web Events, or to avoid the automatic logging in the Event Viewer?

Best Answer

I think you can disable HealtMonitoring in the web.config inside the framework folder, or change the rules to log some exceptions