Workaround for Windows Server 2008R2 IIs7 upload file limits

Source: Internet
Author: User
Tags metabase

The IIS7.0 method is modified as follows:
1. Open IIS Manager → Double-click ASP in IIS → Open the Configure ASP properties for the program → expand restricted properties;
2, modify the "Maximum request entity principal limit" value, the default value is 200000 (that is, less than 200KB);
3, change it to the size you want to modify, such as: 52000000 (50MB);
4. Click "Apply" to complete the modification ok!

Attached: IIS7 real solution for uploading large file limits
1. Open Internet Information Services (IIS) Manager;
2, close the IIS service;
3. Double-click on "Default Web Site" → Double-click on "Request Filter" in the pane of the right pane → "edit feature settings" → Modify the "Maximum allowed content length" under "Request Limit", the default is 30M, arbitrarily change the size, I changed to 300M, click "OK";
4. Restart IIS, and then upload the test.

The IIS6.0 method is modified as follows:
1, in IIS right-click "Local Computer" select "Properties", check "allow direct editing of the configuration database";
2. Close the "IIS Admin Service" services in the service;
3, find c:\windows\system32\inetsrv\ under the "MetaBase.xml", open, find "aspmaxrequestentityallowed" to change him to the desired value, the default is 204800, that is, 200k, Modify it to 51200000 (50MB);
4. Then restart the IIS Admin service.

When you cannot download more than 4M attachments in IIS 6.0, you can resolve the following steps as follows:
1. Close the IIS Admin Service services in the service first.
2. Find the MetaBase.xml file under Windows\system32\inetsrv\.
3, open in plain text mode, find AspBufferingLimit to change it to the desired value, the default is 4194304 (can be modified to 20M, namely: 20480000).
4. Save and restart the IIS Admin service.

Workaround for Windows Server 2008R2 IIs7 upload file limits

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.