Click here to Skip to main content
13,299,898 members (68,900 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


7 bookmarked
Posted 20 Feb 2011

How to increase the upload file length limit in ASP.NET

, 20 Feb 2011
Rate this:
Please Sign up or sign in to vote.
How to increase the upload file length limit in ASP.NET
Generally, the uploading limit of ASP.NET FileUploader is 4MB. But you can increase the limit of length of uploaded file by using the following code into your web.config file in your website.
<httpruntime maxrequestlength="20480" executiontimeout="600">

You have to add this tag after the system.web of your web.config file...
If you want to increase the upload limit more than 20MB, then you have to change both the value of maxRequestLength in KB and also executionTimeout.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Bangladesh Bangladesh
No Biography provided

You may also be interested in...


Comments and Discussions

SuggestionRead MSDN Documentation Pin
Willian Arsenio30-Jul-13 3:43
memberWillian Arsenio30-Jul-13 3:43 
GeneralReason for my vote of 4 good tip Pin
JESUSNAUN201022-Feb-11 4:06
memberJESUSNAUN201022-Feb-11 4:06 
GeneralReason for my vote of 3 I thing that very helper, to us Deve... Pin
ARIJOHNY22-Feb-11 2:39
memberARIJOHNY22-Feb-11 2:39 
GeneralReason for my vote of 1 Not very good. Pin
Moeez Shahid21-Feb-11 23:25
memberMoeez Shahid21-Feb-11 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 20 Feb 2011
Article Copyright 2011 by Md.Alauddin
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid