System.Threading.ThreadAbortException error without response.

I have an ASP.NET program that fires this exception, apparently randomly. I saw other questions about these exceptions, and everyone says the Response.Redirect problem. However, I am not using Response.Redirect, I am not calling Response.End, so I have no idea what is going on here.

However, I have an assumption: this program receives a lot of data, it can process data even for 3 or 4 minutes or even more. Could it be internally, something closes the connection, or something like that because of this?

Thank you very much in advance!

+3
source share
2 answers

, - Script, ThreadAbortException.

, : -

Server.ScriptTimeout = 900 // Time allowed in seconds
0

executeTimeout web.config, .

http://msdn.microsoft.com/en-us/library/e1f13641.aspx

IIS6 +, , . ping, , IIS . Ping Enabled, .

0

Source: https://habr.com/ru/post/1725836/


All Articles