IIS File Size Limit

Source: Internet
Author: User
Tags metabase

I. Modify the size limit of uploaded files:
1. Run iisreset-stop to disable the IIS Admin Service.
2. Find the metabase. xml file under windows \ system32 \ inesrv.
3. Open it in plain text mode and find aspmaxrequestentityallowed to change it to the desired value (for example, 10 m is: 10240000). The default value is 204800, that is, 200 K.
4. Save the disk and run iisreset to restart the IIS Admin Service.

Ii. Modify the size limit of the downloaded file:
1. Run iisreset-stop to disable the IIS Admin Service.
2. Find the metabase. xml file under windows \ system32 \ inesrv.
3. Open it in plain text mode. Find aspbufferinglimit and change it to the desired value (for example, 20 m, that is, 20480000). The default value is 4 m.
4. Save the disk and run iisreset to restart the IIS Admin Service.

Win2008 + iis7:
Open IIS Manager
Double-click "asp" in "IIS"
Open "configure asp shouldProgram"
Expand "restricted attributes ";
 
Modify the value of "Maximum Request Entity subject limit". The default value is 200000 (less than KB );
 
Modify the size you want to modify, for example, 52000000 (50 MB ).
 
After modification, click "application"

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.