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] -

Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
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: 172
This Year: 14
This Month: 1
This Week: 1
Comments: 77
Themes
Pick a theme:
All Content © 2010, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)