Thursday, September 10, 2009

To set the maximum file upload size supported by Asp.Net

To set the maximum file upload size supported by Asp.Net, you must add the under 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