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









Archive for August, 2007

Aug
25
    
Posted (Mike) in ASP.Net, BG Alert, C#, Coding on August-25-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!