Build a Really Useful ASP.NET Exception Engine

July 8, 2007

http://www.eggheadcafe.com/articles/20030816.asp Excerpt: “The GetLastError() method of the Server object returns a reference to a generic HttpException wrapping the original exception that was passed from your ASP.NET page to the Application_Error event. Gain access to the original exception by calling its GetBaseException() method. This will provide the original exception instance, regardless of how many layers have [...]

0