IIS6 is a solution to the above-mentioned file size

xiaoxiao2021-03-06  74

IIS6 Uploaded File Size Too Small Solution [Date: 2004-06-21] [From: Wizard Workshop]

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

Solution:

1. Turn off IIS Admin Service Service

2. Open / Windows/system32/inessrv/metabase.xml

3. Modify the value of AspMaxRequestentityAllowed to yourself, default is 204800

4. Start IIS Admin Service

Addon: Solution 2

1. Create a text file:

Program code: Code Content: 'use VBS set obj1 = GetObject ( "winmgmts: / root / MicrosoftIISv2") set obj2 = obj1.get ( "IIsWebVirtualDirSetting =' W3SVC / 1 / ROOT '")' Output default value WScript.Echo " AspMaxRequestEntityAllowed Default value: "& obj2.AspMaxRequestEntityAllowed 'Reset the value obj2.AspMaxRequestEntityAllowed = 1024000' set to 1mbyte, u can set to other what you want :) 'Save data obj2.Put_ ()' Output new value WScript.Echo" AspMaxRequestEntityAllowed New value: "& obj2.aspmaxrequestentityAllowed

2. Save as RequestChange.vbs 3. Enter the command line, run: cscript [pat] requestchange.vbs

转载请注明原文地址:https://www.9cbs.com/read-121538.html

New Post(0)