Share via


IIS Express and System.Threading.ThreadAbortException

If you’re moving over to IIS Express and you spot these kind of entries in your trace log: -

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

Just check, if you’re using Response.Redirect then this is absolutely normal and nothing to worry about!

(Remember that the default login pages use Response.Redirect too).

Original post by Phil Winstanley on 19/02/11 here: https://weblogs.asp.net/plip/archive/2011/02/19/iis-express-and-system-threading-threadabortexception.aspx