Thread was being aborted error
Hi,
Can any one help me. I am using try catch exception
and getting 'Thread was being aborted'.
can any one tell me why it is coming.
Thanks & regards
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Jun 22, 2009, 1:44 AM EDT
If you want to use it inside Try/Catch block then use the following code.
Response.Redirect(queryAddress.ToString(), false);
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Jun 22, 2009, 12:47 AM EDT
If u r using Response.Redirect make sure your Response.Redirect is outside Try/Catch block. You cannot transfer control to other process from try/catch block.
Purushottam RathoreRank #120 · 18.2K reputationPosted Jun 22, 2009, 1:17 AM EDT
Purushottam RathoreRank #120 · 18.2K reputationPosted Jun 22, 2009, 4:23 AM EDT
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Jun 22, 2009, 5:21 AM EDT