Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

We are using classic asp application. i encountered an error when i am writing the pdf data which is of 6.41MB to the internet explorer by using Response.ContentType = "application/pdf"
response.BinaryWrite rs("column name").

The data is available in database in longblob column. Please help to rectify this problem. Please i am in need.

The details of the error are given below.

error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
/admin/loadpdf.asp, line 21
Execution of the ASP page caused the Response Buffer to exceed its configured limit.


please, please help me.
Posted

By default ASP will have page buffering turned on. You could try this...

At the top of your page, after
HTML
<%@Language="VBScript"%>
add:
HTML
<%Response.Buffer = False%>

I hope this helps.
 
Share this answer
 
Comments
jabair 24-Apr-12 0:23am    
I tried it. I have been getting same error.
Steve Maier 24-Apr-12 13:06pm    
How long does it run before you get that error?
i developed an application in asp.net my problem is solved.
 
Share this answer
 
Comments
raedsaleh11 26-Feb-13 4:12am    
also add :
<%Response.BufferOuput = False%>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900