welcome to my blog
The best place on the internet for random code!
www.therealgromer.com









Aug
25
    
“Thread was being aborted.” Exception on Response.Redirect
Posted (Mike) on 25-08-2007

I was getting this exception while finishing up the sign up page on BG Alert and I couldn’t figure out why it was doing it.  I was getting redirected after I was able to sign up.  I was getting my welcome email for my “new user,” but I was also getting an email about this error (the system sends me emails on any error for during this testing phase to help me fix bugs and issues).  I was even getting redirected, which is what threw me so much.  I was getting an error caused by the Response.Redirect, but it was still running.

Turns out that it was because the Response.Redirect was inside a try..catch block.  To fix this error, all you do is pull the Response.Redirect out of the try block or ignore the error.  Hope this helps some of you out!

Post a comment
Name: 
Email: 
URL: 
Comments: