Solution to ASP exceeding the Response Buffer limit

Source: Internet
Author: User
Tags server memory
Some people may not be able to hear it, but some may be normal.
Program Here, we can read the real file and use ADODB. Stream to read it.

Today, I found that some of the following errors may occur:

Reference

Response object error 'asp 0251: 66661'

Response Buffer limit exceeded

/Download_k2.asp, row 88

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

After reading this song, there were more than 4 MB. Considering that Win2000 was replaced with win2003 some time ago, it should be the limitation in win2003. It was normal in Win2000.

Search online. The first method is to "main directory"-"Configure"-"option" in IIS, and remove the check box before enabling cache, that is, disable cache. This should not work. If it is disabled, it will affect the performance and should be enabled.

Search again and see the following solution:

Reference

We can increase the buffer of the buffer:

Disable iisadminservice in the service first
Find metabase. xml under windows \ system32 \ inesrv,
Open and find aspbufferinglimit to change it to the desired value. The default value is 4194304, that is, 4096kb.
We recommend that you change it to 41943040 (40 m) or a suitable value, depending on whether the server memory is large enough.
Restart the iisadminservice.

Note:
1. Check whether the server memory volume is sufficient.
2. Because the data volume is large, you must modify the ASP processing time accordingly, that is:
Modify "aspscripttimeout". The default value is 90 seconds)
Modify "aspsessiontimeout". The default value is 20 minutes)
Http://aprain.com/article.asp? Id = 396

The default cache size of IIS6 was only 4 m. I changed 41943040 to 8194304, and about 8 m was not enough. Save. The system prompts that the file cannot be saved. It seems that this file is locked when IIS is running. Net stop IISADMIN, save OK, and then Net start w3svc.

Try again to solve the problem :)

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.