IIS6 ASP 0251 exceeds Response Buffer limit error Solution

Source: Internet
Author: User
Today, I made a file download page for ASP testing, using ADODB. stream is used to download files to hide the real path. Because it is a local test, a 63.8m file is used for download testing, but the following error is prompted: response object error 'asp 0251: 66661'

Response Buffer limit exceeded

/Showuser. asp, row 0

The execution of this ASP page causes the Response Buffer to exceed its configuration limit.

Remember that the default file upload in IIS6 is 200 kb. Does the default buffer have this limit? Therefore, the test file is replaced with a K file, and the program passes smoothly. It seems that this restriction exists, so open metabase under c: \ windows \ system32 \ inesrv. XML: Search for buffer. Four buffers are found in total. The aspbufferinglimit = "572" of the 4194304 rows is determined by Kingsoft, and the value is 4096 (4 m ), therefore, the downloaded test file is replaced with another 3.8m file, and the program passes smoothly. Then, the test file is replaced with a 5.8m file, and the above error occurs, it seems that this is the cause of the error, so I added "0" to "4194304", and 5.1 of the files can be downloaded smoothly. The problem is solved.

Note: Modify metabase. before using XML, you must first disable the iisadminservice in the service, restart the IIS service after modification, or enable IIS, right-click the computer name, and select Properties, check the first option "allow direct editing of the configuration database". If the program runs out after modification, you can adjust the default time-out period as appropriate, and increase the default buffer. Will it cause other problems I do not know, all the losses caused by this have nothing to do with me, so please decide whether to adopt it or not.

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.