AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 Set the File Upload Size to Maximum in Asp.Net
Posted by Moderator1 on  1/4/2008 3:25:39 AM 11960 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

Featured Resources:
Website Magazine
A free magazine offering practical advice and helpful tools from industry experts to help any website achieve Internet success.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time.
100% Free Subscription until Stock lost.View complete list.
Sponsored by