The project "Aborting Threads" issue, Baidu backstage found, all because of the use of Response.End, Response.Redirect or Server.Transfer method.
Reason:
The Response.End method terminates the execution of the page and switches this execution to the Application_EndRequest event in the application's event pipeline, without executing the line of code that follows Response.End.
The Response.Redirect and Server.Transfer methods are internally called Response.End.
Workaround:
HttpContext.Current.ApplicationInstance.CompleteRequest substitution Response.End;
The overloaded method of Response.Redirect response.redirect (String URL, bool endresponse), which overrides the Response.Redirect, which is passed by the Endresponse parameter of the overloaded method False to cancel the internal invocation of the Response.End;
Server.Execute replaces Server.Transfer.
"Aborting thread" error resolution in ASP.