Bloggin in the UK RSS 2.0
 Monday, August 10, 2009
This occurs when you use Response.Redirect inside of a Try / Catch block.
Your code will work and the browser will be redirected but you may wish to prevent the error if you are monitoring and getting lots of alerts.

You can prevent the error by overloading the method and passing false like this:

Response.Redirect ("nextpage.aspx", false);
The reason for this behaviour is interesting and is explained here:
http://www.c6software.com/articles/ThreadAbortException.aspx



Microsoft Article that explains the workaround.
http://support.microsoft.com/kb/312629/EN-US/

Monday, August 10, 2009 11:43:34 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
Archive
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010
Charlie Barker
Sign In
Statistics
Total Posts: 163
This Year: 5
This Month: 1
This Week: 0
Comments: 76
Themes
Pick a theme:
All Content © 2010, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)