Win7 iis7.5 Request object error ' ASP 0104:80,004,005 '

Source: Internet
Author: User

Today in the WIN7 test ASP program, the upload file is too big to upload error prompts, I thought my program out of the question, limited the upload size.

However, I did not find any errors in the program when I checked it several times. Finally, Baidu helped me solve the problem. The following text was found: Win7 Configure IIS server How to release 200k limit of upload

Windows7 a lot of people have been used, like to tinker with the site presumably also opened IIS used to debug their own web site, but Win7 adopted is IIS7, interface and set up methods and XP, Win2003 very different, how to modify the limit upload file size of the problem is quite a struggle, Most of the data found on the Internet is for XP and Win2003, Win7 there is no MetaBase.xml this file.

An article said: "Double-click ASP in IIS – Open the Configure ASP should be a program's properties"-Expand the restriction properties; Modify the "Maximum request entity principal limit" value, the default value is 200000; change it to the size you want to modify ", I follow the sample to finish the gourd, or not!"

Boring to study the site background error message, which refers to the "request filtering ...", the desktop Open Internet Information Services (IIS) Manager does not have a "request Filter" configuration? Open look, inside sure enough great article, click on "Edit function settings" can see here and " Request Restrictions ", modify the following:" Maximum allowable content length ", the default is 30M, arbitrarily change a little bigger, I changed to 300M, click" OK ", restart IIS, upload try, 50M, 90M can be.

To summarize the previous modifications, the 200k upload limit in the Win7 IIS configuration is divided into two steps:

The value of "Maximum request entity principal limit" is modified from ASP configuration;

The value of the allowed maximum content length is modified from the request filtering configuration. These two steps should be in no separate order.

Another article said it was modified: Open the Windowssystem32inetsrvconfigschema folder on the partition where the system is located, and then open the Iis_schema.xml lookup with Notepad and modify the value 30000000. But I did not succeed in the results of the test, the administrator of the super User login to modify, save the prompt does not have permissions, the file is read-only, always cannot modify the file properties, so I personally think this approach is not suitable for the general user. The following is my every step of the screenshot, there is a basis for a look to understand, can not understand the combination of words to explain it.

Related Article

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.