ASP. NET upload file exceeds maximum request length

Source: Internet
Author: User

Today, the system encountered a problem, upload more than 4m files, Uploadify will error: exceeded the maximum request length.

At first I thought it was the size of the set, but then I looked at Uploadify's filesizelimit=1024*10, which is at least 10M in capacity,

So I followed the program, found that is uploadify internal, a return value, has begun to error, so on the internet search, found this post: http://blog.csdn.net/jingjing_amy/article/details/6320708

Error reason: The ASP. NET default maximum upload file size is 4M and the run time-out is 90S.

Solution:

1. Modify the Web. config file to change this default value

1   <configuration>       2         <system.web>       3                     "1048576" executiontimeout="3600" />4          </system.web>       5   <configuration>

ASP. NET upload file exceeds maximum request 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.