AspdotnetCodes.com
Voted 'Best ASP.NET Host' for 2008 – DiscountASP.NET
 
Articles Subscribe for our Articles Updates
Books
Resources
Downloads
Free Tech Magazines
Archives
Softwares
Newsletter
Suggest Us
Link to Us
 Set the File Upload Size to Maximum in Asp.Net
Posted by Moderator1 on  1/4/2008 3:25:39 AM 1277 Views
 
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" />


Post New Tips/Tricks View all Tips/Tricks

Sponsored by