File Upload Size Problems August 23 2004
When attempting to upload files larger than 4 MB, the default .NET environment will crap out on you doing a server timeout.
The way I solved this problem was to edit the “web.config” file and add the following section:
<httpRuntime executionTimeout=”180″
maxRequestLength=”10240″
useFullyQualifiedRedirectUrl=”false” />
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfhttpruntimesection.asp
- Posted in : .NET
- Author : site admin

Comments»
no comments yet - be the first?