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 13954 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:
The ASP.NET 2.0 Anthology: 101 Essential Tips, Tricks & Hacks - Free 156 Page Preview
Learn the most practical features and best approaches for ASP.NET.
Windows 8: 50 Questions and Answers You Need to Make a Decision (Normally $9.95)
A guide to help you make an informed decision and determine the best way to use Windows 8 personally or professionally.
100% Free Subscription until Stock lost.View complete list.
Sponsored by