Unprocessed ASP.NET Errors - Are Records Available?

We had a problem when a .NET error occurred in the root of our application cluster, which circumvented our error handling and displayed a common ASP.NET error message.

Is there anywhere to check to see these errors if it bypasses their logging? (Writing to .NET / IIS by default or something else?)

Thanks.

+7
source share
3 answers

You should be able to test the application event viewer.

  • Right-click My Computer
  • Control
  • Event Viewer
  • Application

The assumption here is that it bubbled up and was not found anywhere.

+6
source
// Inside your logger constructor: AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomainUnhandledException); // Then: private void AppDomainUnhandledException(Object sender, UnhandledExceptionEventArgs e) { // Log as unhandled exception: e.ExceptionObject.ToString() } 
+2
source

If you are using IIS7, you can add a failed request trace through IIS Manager. For more information, see the following article:

http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis-7/

+1
source

All Articles