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.