Solved

ASP Buffer Limit Issue

Posted on 2012-12-20
5
571 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
ID: 38711843
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
ID: 38711895
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
ID: 38712545
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
ID: 38712561
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
ID: 38712576
Nice.  Thanks so much!!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 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