Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code ?

A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code ?

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subin Alex
    wrote on last edited by
    #1

    Hi, When i run my asp.net2.0 application i get the bug message : "A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code" . What could it be , Plz Help!!

    N A S 3 Replies Last reply
    0
    • S Subin Alex

      Hi, When i run my asp.net2.0 application i get the bug message : "A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code" . What could it be , Plz Help!!

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Are you redirecting from a page before the processing completes? Show us the relevant code. :)

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      • S Subin Alex

        Hi, When i run my asp.net2.0 application i get the bug message : "A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code" . What could it be , Plz Help!!

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        I have googled and got this and you can check this also ThreadAbortException Occurs If You Use Response.End, Response.Redirect, or Server.Transfer

        cheers, Abhijit CodeProject MVP

        1 Reply Last reply
        0
        • S Subin Alex

          Hi, When i run my asp.net2.0 application i get the bug message : "A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code" . What could it be , Plz Help!!

          S Offline
          S Offline
          smurariu
          wrote on last edited by
          #4

          Hey, That usually occurs when using Response.Redirect("url"). Find the place where you do this and use Response.Redirect("url", false); By default response.redirect will end the response thread and when you specify false you instruct it not to. I don't really know why you would want that. Regards

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups