Thread was being Aborted
-
I am Using
Response.redirect
for display an error page as well as general redirection. I find that most of the time this causes the error Thread was being aborted. mThis error then show up n my error page instead of the error I passed to my error handler class, which also does a redirect. Any Ideas would be extremely helpful. Thanks -
I am Using
Response.redirect
for display an error page as well as general redirection. I find that most of the time this causes the error Thread was being aborted. mThis error then show up n my error page instead of the error I passed to my error handler class, which also does a redirect. Any Ideas would be extremely helpful. ThanksThis occurs when you try to redirect to another page while inside of a try block of a try/catch. 2 possible solutions, redirect elsewhere, or redirect using the overload. For instance: Response.Redirect("url.aspx", false); this will cause redirection to delay until the current page has completed its processing. Tim Friesen tntfriesen1@hotmail.com Run... You fools! - Gandalf
-
This occurs when you try to redirect to another page while inside of a try block of a try/catch. 2 possible solutions, redirect elsewhere, or redirect using the overload. For instance: Response.Redirect("url.aspx", false); this will cause redirection to delay until the current page has completed its processing. Tim Friesen tntfriesen1@hotmail.com Run... You fools! - Gandalf