Thread is being Aborted

asp.net Indonesia
  • 11 years ago

    Hi ,

    I am getting "Thread is being Aborted "error on Response.redirect("Page.aspx");

    I tried overloed version of response.redirect(passing false as second paramete) and took it out of the try catch block.

    still its giving the same error.

     StackTrace    "   at System.Threading.Thread.AbortInternal()\r\n   at System.Threading.Thread.Abort(Object stateInfo)\r\n   at System.Web.HttpResponse.End()\r\n   at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)\r\n   at System.Web.HttpResponse.Redirect(String url)\r\n   at constantcontact.WebForm1.test(Int32 id) in c:\\inetpub\\wwwroot\\constantcontactnew\\default.aspx.cs:line 79"    string

    Please help
     

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook