Once I did this I get:
Response object error 'ASP 0157 : 80004005'
Buffering On
Buffering cannot be turned off once it is already turned on.
Main Topics
Browse All TopicsHello everyone,
I have a report that I am building via a web page and the web page needs to display the records from pay period to pay period so 1st - 15th then 16th - end of the month. Since this report will run daily I have no way to know for sure what the end table date will be. For example if it's the 13th I need the 12th to be the last column to show. I was trying to do this via a loop of some sort with:
<% Dim dy, dt,tbw
dy = 1
dt = Month(Date()) & "/" & dy & "/" & Year(Date())
response.Write("day is: " & dt & "<br/>")
tbw = "5%"
%>
<%
if not dt = "" then
do until dt = Date()-1
response.Write("<td width=" & tbw & "><strong>" & dt & "</strong></td>")
dy = dy +1
loop
end if
%>
This gives me an error:
Response object error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
Is there an easier way or can someone show me what I am doing wrong?
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.
Business Accounts
Answer for Membership
by: DarthSonicPosted on 2009-10-13 at 23:19:22ID: 25567728
put this within your loop:
If Response.Buffer Then Response.Flush
or this to the very top of your scriot:
Response.Buffer = False