This is most likely related to the http.untime web.config element:
<httpRuntime maxRequestLength= "4096" />
maxRequestLength is an integer value that defines the limit for the input stream in KB. The default value is 4096 (4 MB), set to this level so that users do not send large files to the server.
Additionally, you may need to add the executeTimeout = "999999" attribute to this element.
Note that the Microsoft documentation indicates the debug mode with respect to the execution of Timeout:
executeTimeout The default value is "00:01:50" (110 seconds).
This timeout applies only if the debug attribute in the compilation element is False. To prevent the application from stopping during debugging, do not set this timeout to a large value.
Dalorzo
source share