When uploading a file, the length of the report exceeds the limit length

Source: Internet
Author: User
Tags stack trace


Server Error in '/' Application.

Maximum request length exceeded.

D Escription: an unhandled Exception occurred during the execution of the current Web request. Review the stack trace for more information about the error and where it is originated in the code.

exception Details: system.web.httpexception: Maximum request length exceeded.


cause of error: This error is caused because the application maximum request byte length exceeds the default request byte length Solution: You can add the following configuration in Web. config:

<system.web> Add the following sentence below. I'm done.

or add the following paragraph can also be resolved.

executiontimeout= "1200"
Maxrequestlength= "102400"
Usefullyqualifiedredirecturl= "false"
Minfreethreads= "8"
Minlocalrequestfreethreads= "4"
apprequestqueuelimit= "100"

/>


When uploading a file, the length of the report exceeds the limit length

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.