As the title says - how do I disable all of the ASP.NET unhandled errors appearing in the event log? Cant see anything obvious in IIS / the web.config...
|
feedback
|
|
The easiest way I can think of right now is through a code-based solution, not web.config. In the global.asax file for your application, you can add an Application_Error event handler. In this, you can do whatever you want to do to log the error (or not...) and then redirect to an appropriate error page. Call A simple global.asax that does only this functionality would look like:
With all that being said, there has to be a way to do this using the web.config healthMonitoring section, I just can't figure out how to say "turn off logging for all events". | |||
|
feedback
|