Home » FAQ » ASP.NET » Error Handling » Why do I get error message ‘System.Threading.ThreadAbortException: Thread was being aborted’ while using Response.Redirect
Response.Redirect will cause a ThreadAbort exception. To resolve this use VB.NET
Response.Redirect(url,false)
C#
Response.Redirect(url,false) ;
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with