In .NET 1.x there is a default maximum download time of 90s and for > 2.x this is 110s. However, this only applies to release code (debug=”false”) so make sure to test in release mode too!
In some circumstances, such as when serving a large file from .aspx, you may want to increase this.
This can be done using the executionTimeout attribute httpRuntime element in the web.config.
Example – set the timeout to 10 minutes:
<configuration><system.web>
<httpRuntime executionTimeout="600"/>
</system.web></configuration>
This cannot be set on an individual page with a location tag but can be done in a directory with a web.config in that directory.
No comments:
Post a Comment