Go to "request object error 'asp 0104: 8080'" SOLUTION

Source: Internet
Author: User
In Windows2003 system, when uploading large files, the "request object error 'asp 0104: 66661'" error occurs.
Change the size of ASP files to 6.0 kb for IIS In win2003. Program No effect. In iis6.0, the default settings are especially strict and secure. Up to 204,800 bytes can be transferred, which can minimize attacks caused by too many loose timeouts and restrictions. For security reasons, IIS 6 sets the default maximum request value to 200 KB (that is, the maximum data submission quota is 200 Kbyte and 204800 bytes ). (This restriction is not available in versions earlier than IIS 6.0)

Solution

Method 1:

Step 1: Modify IIS settings to allow you to directly edit the configuration database. Open, Internet Information Service

Step 2: first disable the IIS Admin Service in the service and find metabase under windows \ system32 \ inetsrv. XML, open, find aspmaxrequestentityallowed and change it to the expected value. The default value is 204800, that is, 200 K. For example, change it to 51200000 (50 m ).
Restart the IIS Admin Service.

Method 2:

Create a text file with the following content:

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

Set providerobj = GetObject ("winmgmts:/root/microsoftiisv2 ")

Set vdirobj = providerobj. Get ("iiswebvirtualdirsetting = 'w3svc/1/root '")

Wscript. Echo "before:" & vdirobj. aspmaxrequestentityallowed

Vdirobj. aspmaxrequestentityallowed = 51200000

Vdirobj. Put _()

Wscript. Echo "now:" & vdirobj. aspmaxrequestentityallowed

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

Save it as a. vbs file, for example, VF. vbs.

Then, in command line mode, execute the cscript file path and file name, for example:

Cscript D: \ VF. vbs

In this way, the asp upload size is changed to the 51200000 bytes (50 MB) set above)

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.