iis6 and iis7 limit the upload file of request header size and do not support the FSO solution

  • 2020-05-12 06:27:59
  • OfStack

Solutions:

1. IIS6 (2003 operating system)

The default limit of IIS6.0 in 2003 is 200K for uploading and 4M for downloading. Therefore, the above problems appear and are solved as follows:

1. Open the Internet information service (IIS) manager first
(local computer)-- properties -- allows direct editing of the configuration database (N)
1. Check "allow direct editing of configuration database (N)".

2. Then disable the iis admin service service in the service, using the command iisreset/stop

3. Find windows\system32\inesrv\ base.xml, open base.xml in the utility book, find ASPMaxRequestEntityAllowed, change it to the required value, default is 204800, that is 200K, change it to 51200000(50M)

4. Start IIS, command: iisreset/start

For security reasons, IIS 6 defaults to a maximum request of 200K(i.e., a maximum submission data limit of 200KByte, 204800Byte).

Solutions:

win2003 upload size limitation issues

Solutions:

1. Close IIS Admin Service service (start - control panel - management tools - service, find IIS Admin Service double-click - stop)

2. Open the C: > Windows > system32 > inesrv > metabase.xml

3. Change the value of SPMaxRequestEntityAllowed to what you need, and the default is 204800

4. Activate IIS Admin Service

win2003 download size limit problem

If you cannot download more than 4M attachments in IIS 6.0, you can follow these steps:

1. Turn off iis admin service service in the service first.

2. Find C: > Windows > system32 > inesrv > Below the metabase.xml file.

3. Open it in plain text, find AspBufferingLimit and change it to the desired value (20M = 20480000).

4. Save and restart iis admin service service.

2. IIS7 (2008 operating system)

IIS manager modification method:

Open the IIS manager and double click the "ASP" in "IIS" to open the "configure the properties of the ASP application" and expand the "restricted properties".
Modify the value of "maximum request entity principal limit", the default value is 200000 (that is, less than 200KB);
Change it to the size you want, for example: 1024000000 (1GB).
After modification, click "apply"!

Manual modification of config method:

1. First, set the permission to modify this file, right click on the property, and modify it in the permission.
2, C \ windows \ System32 \ inetsrv \ config \ schema
Open IIS_schema.xml with notepad
To find the < attribute name="maxAllowedContentLength" type="uint" defaultValue="30000000" / >
3000000 defaults to 30MB (not exactly). Plus 1 0 is 300MB. Modify as needed (1M=1024kB). Restart iis
Note: stop IIS service command iisreset/stop start IIS command iisreset/start restart IIS command iisreset.

3. Problem solving without support for FSO (2003 operating system)

1. First look for scrrun. dll in the system disk. If this file exists, please skip to step 3; if not, please execute step 2.
2. Find scrrun.dl_ in the installation file directory i386, unzip it with winrar to get scrrun.dll, then copy it to x (your system disk) :windowssystem32.
3. Run regsvr32 scrrun and dll.


Related articles: