Monday, June 20, 2011

Set the File Upload Size to Maximum in Asp.Net

To set the maximum file upload size supported by Asp.Net, you must add the <httpRuntime> under <system.web> section in the web.config file. The syntax is below

<httpRuntime maxRequestLength="Maximum size you want to upload in KB"
executionTimeout="No. of seconds for Execution Time Out" /> 

No comments :

Post a Comment