How to configure the size of files uploaded by IIS (200 kb by default)

Source: Internet
Author: User
Tags metabase

Today, the tribe will discuss with you how to set IIS to make the default size of uploaded files about 200 kb.
In fact, we only need to make some modifications to IIS on the server side to break through the K restriction. The method is as follows:
Step 1: directly edit the configuration database to allow
In IIS, right-click "Local Computer" and select "properties", and select "allow direct editing of configuration database ".
Step 2: Disable the "IIS Admin Service" Service
Choose "Control Panel"> "Administrative Tools"> "services", and find "IIS Admin Service" on the right. Right-click the item and select "stop" to close the service.
Step 3: Modify the "metabase. xml" File
Open "X: \ windows \ system32 \ inetsrv", and find "metabase. XML file, convert "metabase. open XML in notepad, search for "aspmaxrequestentityallowed", and change "204800" to "1024000000" to save the file.
Note: "X" is the drive letter of the system disk. Before proceeding to step 2, make sure that the first step has been operated. Otherwise, the modified "metabase. xml" file cannot be saved.
Step 4: Enable the "IIS Admin Service" Service
After the modification is complete, enable the "IIS Admin Service" service according to the first step.
After the preceding three steps, we have changed the size of the files uploaded by IIS to 100 mb. Of course, you can modify the size of the files uploaded at will.
Note: The operating environments of this instance are Windows 2003 and iis6.0. The settings in other operating systems are similar.

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.