Click here to Skip to main content
Click here to Skip to main content

Tagged as

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">
</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 PinmemberWillian Arsenio30-Jul-13 2:43 
GeneralReason for my vote of 4 good tip PinmemberJESUSNAUN201022-Feb-11 3:06 
Reason for my vote of 4
good tip
GeneralReason for my vote of 3 I thing that very helper, to us Deve... PinmemberARIJOHNY22-Feb-11 1:39 
GeneralReason for my vote of 1 Not very good. PinmemberMoeez Shahid21-Feb-11 22: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 | Mobile
Web02 | 2.8.140827.1 | Last Updated 20 Feb 2011
Article Copyright 2011 by Md.Alauddin
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid