Global Exception Handler for ASP.NET
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngdebug' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Richard Winkler
-- This message, which was originally sent to "aspngcommunity", has been moved to "aspngdebug" mailing list by the List Master --This is a multi-part message in MIME format.------=_NextPart_000_0006_01C12D08.4FEAF0F0Content-Type: text/plain;    charset="us-ascii"Content-Transfer-Encoding: 7bitDoes anyone know how to set up a global error handler for ASP.NET. Thiswould capture errors just like the Exception class, except without usingtry-catch all over the place. Just a single global exception handlerthat would return the all the error information in an object, so that aruntime exception is not generated. Richard Winkler ------=_NextPart_000_0006_01C12D08.4FEAF0F0Content-Type: text/html;    charset="us-ascii"Content-Transfer-Encoding: quoted-printable<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =charset=3Dus-ascii"><TITLE>Message</TITLE><META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR></HEAD><BODY><DIV><FONT face=3DArial size=3D2><SPAN class=3D745154108-25082001>Does =anyone know how=20to set up a global error handler for ASP.NET.  This would capture =errors=20just like the Exception class, except without using try-catch all =over the=20place.  Just a single global exception handler that would return =the all=20the error information in an object, so that a runtime exception is not=20generated.</SPAN></FONT></DIV><DIV><FONT face=3DArial size=3D2></FONT> </DIV><DIV align=3Dleft><FONT face=3DArial size=3D2>Richard =Winkler</FONT></DIV><DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>------=_NextPart_000_0006_01C12D08.4FEAF0F0--
Reply to this message...
 
    
Saurabh Nandu (VIP)
Does anyone know how to set up a global error handler for ASP.NET. This
would capture errors just like the Exception class, except without using
try-catch all over the place. Just a single global exception handler
that would return the all the error information in an object, so that a
runtime exception is not generated.

Richard Winkler
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com