Win 2003 IIS settings

  
        Under Windows 2003 system, when uploading a large file, the error "Request object error 'ASP0104:80004005'" is displayed.

modify the win2003 IIS6.0 asp upload file size of 200k is defined, it does not affect the uploaded ASPx sequence. In IIS 6.0, the default configuration is particularly strict and secure, with a maximum of 204,800 bytes transmitted, which minimizes attacks that were previously too loosely timed and qualified. For security reasons, IIS6 acquiesced that the maximum request is 200K (that is, the maximum submission data limit is 200KByte, 204800Byte). (No such defined in the previous versions IIS6.0)

processing scheme

method: Step

: correction IIS configuration, permit editing the configuration database. First open, Internet Information Services, as shown below:

Step two: first shut IISadminservice service in the service, find metabase.XML under Windowssystem32inesrv, open, find ASPMaxRequestEntityAllowed he needs to be amended to value, The default is 204800, which is 200K, if it is corrected to 51200000 (50M).

IISadminservice then restart the service.

Method two:

a new text file, as follows:

'-------------------- --------------------------------

setproviderObj = GetObject ( "winmgmts: /root /MicrosoftIISv2" )

setvdirObj = providerObj.get ( "IISWebVirtualDirSetting = 'W3SVC /1 /ROOT'")

WScript.Echo "Before:" & vdirObj.ASPMaxRequestEntityAllowed

vdirObj .ASPMaxRequestEntityAllowed = 51200000

vdirObj.Put_ ()

WScript.Echo "Now:" & vdirObj.ASPMaxRequestEntityAllowed

'---------- ------------------------------------------

then custody for. vbs file, such as: vf.vbs

then at the command line mode, perform file cscript way and file name, such as:

cscriptd: vf.vbs

this ASP in order to modify the size of the upload of the above configuration: 51200000 bytes (50 megabytes)

supplementary to upload win2003 defined processing scheme to indicate

Microsoft site uploaded IIS6ResourceKitTools ( http: //www.microsoft.com/downloads/details.ASPx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&;displaylang=en
), after the device, use MetabaseExplorer to fix the (local) LMW3SVCAspMaxRequestEntityAllowed attribute (default is 200K= 204800), the correction is 1G; at the same time, the ASPScriptTimeout property is adjusted and the time limit is adjusted, so that large files can be uploaded. At this time found

AspMaxRequestEntityAllowed lost, the right to add new attribute points ASP, need to configure their size, and then to determine the detailed operation flow ~~~

Image:

the first step: to load the Microsoft site after IIS6ResourceKitTools, double-click the holding device presents the following interface:

second step: turn open: start - the order of menu -IISResources-MetabaseExplorer, running MetabaseExplorer.

third step: fill in the information window presented:

Step four: Pick fifth step (local) LMW3SVC

window in order: correction ( local) LMW3SVCASPMaxRequestEntityAllowed property, corrected to a larger value, such as 1G:

added: If you amended in accordance with the method "? easy to move the system in Win2003 can not upload attachments should be how to deal with", then continue with the following steps :

first step:

Step two: this time will show ASPmaxrequestentityallowed objects, double click. Presents:

Step Three: Click: general, held as follows. The method defined Windowsserver2003 upload and download attachment

help.powereasy.Net/help/SiteWeaver/151_2.Html

correction 2008-12-0513: 33

Windowsserver2003 built IIS6.0 The IIS6.0 default configuration will limit the size of the gold and software upload and download attachments. This method can be delimited.

1, this method only use Windowsserver2003.

1, being given IOA upload files larger than 200K.

processing method

. 1) in the maintenance service, the service shut IISAdminService

2) open Windowssystem32inesrvmetabase.XML

3) the correction value ASPMaxRequestEntityAllowed own needs, the default is 204800 (200K)

4) start IISAdminService the service.

2, Baocuo IOA when downloading large attachments.

processing method:

1. In the maintenance service, the service shut IISAdminService 2.

open Windowssystem32inesrvmetabase.XML

3. correction value of ASPBufferingLimit for their own needs, and the default is 4194304 (4M)

4. start IISAdminService the service.
Copyright © Windows knowledge All Rights Reserved