TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to prevent large file upload using web.config
Dhaval Patel
Nov 22, 2012
5.5
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
How to prevent large file uploading usinf web.config
Adding following to the system.web section of the web.config file will also
prevent over-large uploads from being created
<!-- set max upload to 25 MB -->
<
httpRuntime
executionTimeout
=
"300"
maxRequestLength
=
"25000"
/>
How to prevent large file upload using web.config
Next Recommended Reading
Programatically Modifying and Saving AppSetting value in Root Level Web.Config using ASP.NET C#