I am getting the error Maximum request length exceeded when I am trying to upload a video in my site.
How do I fix this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using IIS for hosting your application, then the default upload file size is 4MB. To increase it, please use this below section in your
web.config–For IIS7 and above, you also need to add the lines below:
Note:
maxRequestLengthis measured in kilobytesmaxAllowedContentLengthis measured in byteswhich is why the values differ in this config example. (Both are equivalent to 1 GB.)