473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

HELP: Response Buffer Limit Exceeded

I am running IIS v6.1 on a virtual hosting server. Changing the default
metabase value is out of the question. Can someone tell me how I can fix
this script? Thank you.

<%
set conn = server.CreateObject("Adodb.connection")
conn.open application("connStr")

manualID = request.querystring("manualID")
if request.Form("manualID") <"" then manualID = request.form("manualID")

set rs = conn.Execute("select manufacturer, t.* from [technical manuals] t,
Manufacturers m where t.mfgID=m.mfgID and t.manualID=" & cint(manualID))

if rs.eof then response.Redirect "techindex.asp"

if not LoggedIn() then response.Redirect "login.asp?manualID=" & manualID
if not IsAccountActive() then response.Redirect
"login.asp?Active=false&manualID=" & manualID

filename = "/" & rs("url")
filename = mid(filename, instrrev(filename, "/")+1)

set fs = server.CreateObject("scripting.fileSystemObject")
sFname = server.mapPath("/manuals.hidden/" & rs("url"))
if not fs.FileExists(sFname) then
url = "/manuals.hidden/" & rs("manufacturer") & "/" & filename
sFname = server.MapPath(url)
end if

'response.ContentType = "application/pdf"
response.AddHeader "Content-Disposition", "attachment; filename=" &
filename
Dim objStream
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Type = 1
objStream.Open
objStream.LoadFromfile(sFname)
Response.binaryWrite objStream.read
objStream.Close
Set objStream = Nothing

Response.Flush
Response.End
' response.redirect url
%>
Nov 3 '06 #1
3 2685
"Jim Rojas" <jr****@tech-man.comwrote in
news:aQ***************@tornado.tampabay.rr.com:
I am running IIS v6.1 on a virtual hosting server. Changing the
default metabase value is out of the question. Can someone tell me
how I can fix this script?
[code deleted]

So far as I can see, your problem has exactly NOTHING to do with MS
Access. Looks like an ASP or ASP.NET question to me. Or ADO, which
is not an Access technology at all.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Nov 3 '06 #2
Any document larger than 4MB in size will generate this error. Yes, I agree
that it is an ASP or ASP.Net issue. I was hoping someone ran across this
same issue before. I tried adding
<% response.buffer = false %>, then I get another error stating that
buffer must be on.

Jim Rojas

"David W. Fenton" <XX*******@dfenton.com.invalidwrote in message
news:Xn**********************************@127.0.0. 1...
"Jim Rojas" <jr****@tech-man.comwrote in
news:aQ***************@tornado.tampabay.rr.com:
>I am running IIS v6.1 on a virtual hosting server. Changing the
default metabase value is out of the question. Can someone tell me
how I can fix this script?

[code deleted]

So far as I can see, your problem has exactly NOTHING to do with MS
Access. Looks like an ASP or ASP.NET question to me. Or ADO, which
is not an Access technology at all.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Nov 3 '06 #3
"David W. Fenton" <XX*******@dfenton.com.invalidwrote in
news:Xn**********************************@127.0.0. 1:
So far as I can see, your problem has exactly NOTHING to do with MS
Access. Looks like an ASP or ASP.NET question to me. Or ADO, which
is not an Access technology at all.
Yes, it's probably ADO. ADO is responsible for global warming, aids,
poverty and George Bush. So it figure's!

--
Lyle Fairfield

from http://msdn.microsoft.com/library/de...l=/library/en-
us/dnmdac/html/data_mdacroadmap.asp

Obsolete Data Access Technologies
Obsolete technologies are technologies that have not been enhanced or
updated in several product releases and that will be excluded from future
product releases. Do not use these technologies when you write new
applications. When you modify existing applications that are written using
these technologies, consider migrating those applications to ADO.NET.
The following components are considered obsolete:
....
Data Access Objects (DAO): DAO provides access to JET (Access) databases.
This API can be used from Microsoft Visual Basic®, Microsoft Visual C++®,
and scripting languages. It was included with Microsoft Office 2000 and
Office XP. DAO 3.6 is the final version of this technology. It will not be
available on the 64-bit Windows operating system.
.....
Nov 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Brian Piotrowski | last post by:
Hi All, I'm trying to run a simple query from an ASP page. I want the query to select each individual field in a table and compare it to another table. If the value doesn't exist, I want it...
2
by: Patrick Bates | last post by:
I have an ASP page which is returning so much data that I'm receiving a message that the Response Buffer Limit has exceeded its configured values. Any idea where to find this configured value so...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
0
by: Brian Piotrowski | last post by:
Hi All, I have an SQL Server 2000 table that contains less than 2000 records. I would like to select some of these records and group them. The query I wrote runs fine in SQL Server's Query...
1
by: Brian Piotrowski | last post by:
Hi All, I'm trying to run a simple query from an ASP page. I want the query to select each individual field in a table and compare it to another table. If the value doesn't exist, I want it...
2
by: Newsgroup | last post by:
I have a problem with my sql server. I use a lot of Request.QueryString("Index1") But the Request.QueryString is always the same. I use in If-Loops. The server send me the follow message:...
2
by: Steven Bazeley | last post by:
I had a download failure problem with a 95MB wmv file. I thought it was my code but I could not find anything wrong. So I tested the download by replacing the 95MB file with a smaller one...
4
by: cbtechlists | last post by:
I have an ASP app that we've moved from a Windows 2000 to a Windows 2003 server (sql server 2000 to sql server 2005). The job runs fine on the old servers. Part of the app takes a recordset and...
1
by: Gurpal | last post by:
I'm getting this error when I test this page. Here is the error: Response object error 'ASP 0251 : 80004005' Response Buffer Limit Exceeded /test/test4.asp, line 0 Execution of the ASP...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.