Find this in the global.asax file:
protected void Application_Error(Object sender, EventArgs e)
{
}
Not the best place for a simple redirect, but very useful for processing
errors, esp. for error tracing.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Anders Both" <an********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Does someon know if it is possible to make a setup in the asp.net process
so that some special c# method is called whenever a uncauht exception is
thrown.
Something like Application.ThreadException, in windows form.
Please be aware that I cannot use :
<customErrors defaultRedirect="url" redirect="url"/>
Because I have threads and Asynchronous methods running in my asp.net
process.
But maybe I can use somthing else ?
Best Regards, Anders Both, Denmark