Solved

ASP Buffer Limit Issue

Posted on 2012-12-20
5
558 Views
Last Modified: 2012-12-21
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...
0
Comment
Question by:Bob Schneider
5 Comments
 
LVL 30

Assisted Solution

by:Brad Howe
Brad Howe earned 125 total points
Comment Utility
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.  

Cheers,
Hades666
0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 250 total points
Comment Utility
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.
0
 
LVL 9

Assisted Solution

by:keyu
keyu earned 125 total points
Comment Utility
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
response.flush
objrs.movenext
loop
%>

option 3: increase buffer limit in iis

https://www.trustwave.com/support/kb/article.aspx?id=11889
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points
Comment Utility
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>
rs.movnext
loop

output using getrows

if not rs.eof then
    myArray=rs.getrows()
end if
' close database

' now use your array to loop through data
0
 

Author Closing Comment

by:Bob Schneider
Comment Utility
Nice.  Thanks so much!!
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now