Click here to Skip to main content
11,430,109 members (75,443 online)
Click here to Skip to main content

Tagged as

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

, 20 Feb 2011 CPOL
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">
</httpruntime>
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.

License

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

Share

About the Author

Md.Alauddin

Bangladesh Bangladesh
No Biography provided

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    Rant Rant    Admin Admin   

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

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