Last post Mar 14, 2018 12:37 PM by KALYANA ALLAM
Feb 28, 2018 12:38 PM|KALYANA ALLAM|LINK
I am receiving this exception,when I try to load the report ,it executes for around 5 minutes and throws the error
"Server returned 404:Not Found response. Page will be reloaded when you click "OK""
The Log shows the below exception.
System.Threading.ThreadAbortException: Thread was being aborted.
Anythoughts on how to resolve this error.
Feb 28, 2018 12:55 PM|PatriceSc|LINK
Some context could help. It looks like a https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.scripttimeout(v=vs.110).aspx that
you could increase (or if using SSRS or Crystal report, it might be a timeout option in the service client to tell the server how much time is allowed).
You could also double check why it takes that much time (for example showing more data than the user really need).
Mar 01, 2018 06:08 AM|Cathy Zou|LINK
Hi KALYANA ALLAM
This problem occurs when the endResponse parameter of the HttpResponse.Redirect method is not set to false. By default, the endResponse parameter is set to true.
Instead of Response.End();
Mar 01, 2018 02:04 PM|KALYANA ALLAM|LINK
Thanks for the suggestion will try it out and will get back to you.
Mar 14, 2018 12:37 PM|KALYANA ALLAM|LINK
As per logs the thread abort is being caused by IIS timeouts.Added this to increase the IIS timeout .thus avoiding thread aborts