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 11941 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:
Everything You Know About CSS Is Wrong! - Free 37 Page Preview!
For web designers and developers who want to ensure they're using the very latest, best-practice CSS techniques.
Introduction to Web Applications Development
This 376 page eBook "Introduction to Web Applications Development", starts with an introduction to the internet, including a brief history of the TCT/IP protocol and World Wide Web.
100% Free Subscription until Stock lost.View complete list.
Sponsored by