You just put this code before of the final catch statement
catch (System.Threading.ThreadAbortException lException)
{
}
Another silly cause for this exception, when you are working file download window in asp.net. The reason is when the downloaded file name contains any spaces then u may get this error. You can keep an eye on that.