asp超出响应缓冲区限制 [英] Response Buffer Limit Exceeded in asp

查看:70
本文介绍了asp超出响应缓冲区限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们正在使用经典的ASP应用程序.当我使用Response.ContentType ="application/pdf"将6.41MB的pdf数据写入Internet Explorer时遇到错误 response.BinaryWrite rs(列名").

数据可在数据库的longblob列中找到.请帮助纠正此问题.请我有需要.

错误的详细信息在下面给出.

错误''ASP 0251:80004005''
超出响应缓冲区限制
/admin/loadpdf.asp,第21行
ASP页的执行导致响应缓冲区超过其配置的限制.


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.

推荐答案

默认情况下,ASP将打开页面缓冲.你可以试试这个...

在页面顶部的
By default ASP will have page buffering turned on. You could try this...

At the top of your page, after
<%@Language="VBScript"%>

添加:

<%Response.Buffer = False%>


希望对您有所帮助.


I hope this helps.


我在asp.net中开发了一个应用程序,问题得以解决.
i developed an application in asp.net my problem is solved.


这篇关于asp超出响应缓冲区限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆