• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 609
  • Last Modified:

ASP Buffer Limit Issue

What could be causing this issue: Execution of the ASP page caused the Response Buffer to exceed its configured limit.

It only happens when I try to view my site activity page.  I have had a lot of activity today.

Any help would be much appreciated...
Bob Schneider
Bob Schneider
4 Solutions
Brad HoweDevOps ManagerCommented:
Your site is just maxing the buffer.

Open IIS manager, go to your site under the IIS:ASP section, find the Limit Properties, expand and change the Response Buffering limit item.  

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I would also look at how your activity page is put together.  Perhaps there are some small tune ups that can make a big difference.
option 1:  In Classic ASP, at the top of your page, after <%@Language="VBScript"%> add:
 <%Response.Buffer = False%>

In ASP.NET, you would add Buffer="False" to your Page directive.
For example:
 <%@Page Language="C#" Buffer="False"%>

option 2: if this still not resolved your issue remove that line from top and try this..

do while not objrs.eof

option 3: increase buffer limit in iis

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
or option 4 - decrease the amount of data you are using at once.   You can split your data or output it differently.  Instead of

do until rs.eof
     response.write "<td>"&rs("somedata")&"rs(moredata")</td>

output using getrows

if not rs.eof then
end if
' close database

' now use your array to loop through data
Bob SchneiderCo-OwnerAuthor Commented:
Nice.  Thanks so much!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now