Today test a z-blog program upload file found the total hint "007~asp 0104~ not allowed to operate" error, after the degree of the help of friends, finally found a solution.
This is the windows2003 server to upload the file restrictions caused by the default upload file can only be 200K. You can increase the upload file size limit in the following ways.
Method One:
The first step: Modify the IIS settings to allow direct editing of the configuration database. Open first, Internet Information services
The second step: Find C:\windows\system32\inetsrv\ under the MetaBase.xml, open, find aspmaxrequestentityallowed to change him to the desired value, the default is 204800, that is, 200K, If you modify it to 2048000 (20M), the immediate effect of the failure, if you can not upload, please restart IIS.
Method Two:
Create a new text file with the following contents:
‘----------------------------------------------------
Set Providerobj=getobject ("Winmgmts:/root/microsoftiisv2")
Set vdirObj=providerObj.get ("Iiswebvirtualdirsetting= ' W3svc/1/root '")
WScript.Echo "Before:" & vdirobj.aspmaxrequestentityallowed
vdirobj.aspmaxrequestentityallowed=2048000
Vdirobj.put_ ()
WScript.Echo "Now:" & vdirobj.aspmaxrequestentityallowed
‘----------------------------------------------------
Then save the. vbs file to the D drive, such as: Iis.vbs
Then, in command-line mode, execute the cscript file path and filename, such as:
cscript D:\iis.vbs
In this way, the ASP upload size is changed for the above setting: 2048000 bytes (20 megabytes)
Not only this one program, and other programs sometimes have such errors occur, you may wish to use this method to try.
Error---
Cause of error: Unknown error
id:-**********
Summary:
007~asp 0104~ not allowed to operate ~
Request Object