Use in your loop from time to time a <% response.flush %>. This sends the actual content of the buffer to the browser.
Main Topics
Browse All TopicsI am getting this error when the number of records are returning more data.(above 3000 records)
Response object, ASP 0251 (0x80004005)
Execution of the ASP page caused the Response Buffer to exceed its configured limit.
I tried Response.Buffer = False .That made a very very slow loading of the page.
and administrator do not want to increse the Response buffering in the IIS.
How can i solve this error?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am using recordset paging, but do to some reason
if there are 20 pages and I set objRs. PageSize= 10, it is not setting to 10
instead it is getting all of them when I am in page 1. When I move to say page 19, it will bring all the data that belongs to page 19 and 20.
If I am in page 5, it is bringing all the data for page 5 to 20.
That is why I am getting this buffer over flow error.
objrs.CacheSize=iPageSize 'which is 15
objRs.Open strquery,objconn,3,3
objrs.PageSize= iPageSize
iPageCount = objRS.PageCount
If iPageCurrent > iPageCount Then iPageCurrent = iPageCount
If iPageCurrent < 1 Then iPageCurrent = 1
If iPageCount = 0 Then
Response.Write "No records found!"
Else
objRS.AbsolutePage = iPageCurrent
end if
Business Accounts
Answer for Membership
by: WMIFPosted on 2006-03-01 at 10:49:28ID: 16077823
are you really displaying 3000+ records on your page? the scroll bar must be so small thats its almost unusable. have you considered recordset paging to shorten the pages by breaking it up into multiple pages?