Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I am running a simple query to get data out of my database & display them. I'm getting an error that says Response Buffer Limit Exceeded.

Error is:
Response object error 'ASP 0251 : 80004005' 
Response Buffer Limit Exceeded 
/abc/test_maintenanceDetail.asp, line 0 
Execution of the ASP page caused the Response Buffer to exceed its configured limit.

I have also tried Response.flush in my loop and also used response.buffer = false in my top of the page, but I am still not getting any data.

My database contains 5,600 records for that. Please give me some steps or code to solve this. Is there any other solution for that?

Thanks
Posted
Updated 11-Feb-11 0:05am
v2

You can try to set the value of AspBufferingLimit higher. See here: IIS Metabase: AspBufferingLimit[^]

Before you do that I strongly advise you to use a test SQL statement in you APS page that only returns lets say 10 or 20 records. The ASP buffer defaults to 4MB which means your average output per record is above 749 bytes of markup. If you try a SQL statement that gives you only a couple of rows you can verify that your ASP page generally works. If you still have the same problem after restricting the SQL recordset there is probably a bug in your page that puts it into an infinite loop, like forgetting to do a move next on the resultset.

Cheers!
 
Share this answer
 
Hi ,

I have also used movenext in my recordset for the loop.I have also used Response.flush in my loop and
also response.buffer = false in that code but still it gives error
Is there any other way to solve the error

see my code is:


VB
<% do while not rsMaint.eof %>
                            <%
                                vBoardSKU = rsMaint("RecordID")

SQL
vSql = "SELECT mediavendors.CompanyName from boards inner join mediavendors on boards.vendorid = mediavendors.vendorid where boards.recordid = '" & vBoardSKU & "'"
                                Set rsMaint2= PerformSQL3( vSql , 1 )


VB
<%
                                rsMaint.movenext
                                loop
                            %>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900