Tuesday, June 8, 2010

Why upload fails when using an ASP.NET FileUpload control to upload large files

For security reasons, ASP.NET is limited in terms of an uploaded file size. The default maximum file size is 4 MB but this can be changed by modifying the MaxRequestLength attribute of Machine.config's <httpRuntime> element.


This issue I faced in my one of application ipromotedigital

<httpRuntime executionTimeout="240" maxRequestLength="20480" />

No comments:

Post a Comment