IIS6 and IIS7 limit the size of uploaded files (request headers) and _win servers without support for FSO solutions

Source: Internet
Author: User
Tags metabase

Solution:

One, IIS6 (2003 operating system)

2003 IIS6.0 default limit upload size limit to 200K, download limited to 4M, so the problem above, resolved as follows:

1. Open Internet Information Services (IIS) Manager first
(local computer)----property----allows direct editing of the metabase (N)
Be sure to check first "Allow direct editing of the Metabase (N)"

2. Then turn off the IIS Admin service in the service and use the command: iisreset/stop

3. Find the windows\system32\inesrv\ under the Base.xml, this open base.xml, find aspmaxrequestentityallowed change him to the required value, the default is 204800, that is 200K, Change it to 51200000 (50M)

4. Start IIS, command: Iisreset/start

IIS 6 For security reasons, the default maximum request is 200K (that is, the maximum submission data limit is 200KByte, 204800Byte).

Solution:

Win2003 upload Size limit problem

Solution:

1. Turn off IIS Admin Service (Start-Control Panel-admin tools-Services, find IIS Admin service double-click-Stop)

2. Open C:>windows>system32>inesrv>metabase.xml

3. Modify the value of spmaxrequestentityallowed for your own needs, default to 204800

4. Start the IIS Admin Service

Win2003 Download size limit problem

In IIS 6.0, when you cannot download an attachment that exceeds 4M, you can resolve it by following these steps:

1, first in the service to shut down the IIS Admin Service services.

2, find c:>windows>system32>inesrv> under the MetaBase.xml file.

3, open with plain text, find aspbufferinglimit change it to the desired value (can be modified to 20M namely: 20480000).

4, save, and then restart the IIS Admin service.

Second, IIS7 (2008 operating system)

IIS Manager Modification Method:

Open IIS Manager-double-click ASP in IIS-open the Configure ASP should program properties-expand restriction 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: 1024000000 (1GB).
Click "Apply" to complete the modification!

To manually modify the Config method:

1, first set to modify the permissions of this file, right key properties, permissions to modify.
2, C\windows\system32\inetsrv\config\schema
Open Iis_schema.xml with Notepad
Find <attribute name= "maxallowedcontentlength" type= "uint" defaultvalue= "30000000"/>
3000000 defaults to 30MB (not exactly equal). Plus a 0 is 300MB. Make your own modifications (1M=1024KB) as needed. Restart IIS
Note: Stop IIS service Command iisreset/stop start IIS command iisreset/start restart IIS command iisreset.

Third, do not support the FSO problem resolution (2003 operating system)

1, first in the system disk to find Scrrun.dll, if the existence of this file, please skip to step three, if not, please perform the second step.
2, in the installation file directory i386 find Scrrun.dl_, with WinRAR decompression, get scrrun.dll, and then copy to X (your system disk): Windowssystem32 directory.
3, the Operation Regsvr32 Scrrun.dll can.

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.