IIS limit file size method in Windows Server

Source: Internet
Author: User
Tags metabase

One, upload file size limit modification:
1, run Iisreset–stop, turn off the IIS Admin service.
2, find windowssystem32inesrv under the MetaBase.xml file.
3, open with plain text, find aspmaxrequestentityallowed to change it to the desired value (such as 10M: 10240000), the default is: 204800, namely: 200K.
4, save and then run IISReset to restart the IIS Admin service.

Second, the download file size limit modification:
1, run Iisreset–stop, turn off the IIS Admin service.
2, find windowssystem32inesrv under the MetaBase.xml file.
3, open with plain text, find aspbufferinglimit to change it to the desired value (such as 20M: 20480000), the default is 4M.
4, save and then run IISReset to restart the IIS Admin service.

WIN2008+IIS7:
Open IIS Manager
Double-click ASP in IIS
Open "Configure ASP should be a program's properties"
Expand constraint Properties;

Modifies the value of the maximum request entity principal limit, with a default value of 200000 (that is, less than 200KB);

Change it to the size you want to modify, such as: 52000000 (50MB).

Modify Complete click "Apply"

Related Article

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.