473,394 Members | 2,002 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,394 software developers and data experts.

Response Buffer Error - Ideas Please!

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 reported. Here's the code I have to do
this check:

'Check to see if there are any assemblies not in the database!
strSQL = "select substring(mtoc,2,6) as deadmodel from bos_data where
substring(bos_data.mtoc,2,6) not in (select code from tire_matrix) AND
plantcode = " & Request.Querystring("pcode")
rsAFON.Open strSQL, adoCon
if rsAFON.eof = false then
do while rsAFON.eof = false
response.write("<tr><td colspan=15 bgcolor=000000 class=hilite
align=center>***WARNING *** MODEL TYPE: " & rsAFON("deadmodel") & "IS NOT IN
THE DATABASE! PLEASE NOTIFY ISD IMMEDIATELY!</td></tr>")
loop
end if
When I run the SQL String in SQL's Query Analyzer, I get the expected
results. However, when I run it in an ASP page, I get this error:
---------------
Response object error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
/ptest.asp, line 0
Execution of the ASP page caused the Response Buffer to exceed its
configured limit.
-------------------
Does anyone have any ideas? I've also made this into a Stored Procedure as
well, but I received the same results. I'm running this page on an IIS 6.0
/ Win2k3 Web Edition box. All of my other SQL queries run except this one.
Does it have anything to do with it doing another select from within the
statement? If so, is there a better way to write this piece of code?
Thanks!

Brian.
Nov 18 '05 #1
1 1763
try Microsoft.Public.Inetsever.Asp.General

"Brian Piotrowski" <bp*********@NOSPAM.simcoeparts.com> wrote in message
news:uB*************@TK2MSFTNGP11.phx.gbl...
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 reported. Here's the code I have to do
this check:

'Check to see if there are any assemblies not in the database!
strSQL = "select substring(mtoc,2,6) as deadmodel from bos_data where
substring(bos_data.mtoc,2,6) not in (select code from tire_matrix) AND
plantcode = " & Request.Querystring("pcode")
rsAFON.Open strSQL, adoCon
if rsAFON.eof = false then
do while rsAFON.eof = false
response.write("<tr><td colspan=15 bgcolor=000000 class=hilite
align=center>***WARNING *** MODEL TYPE: " & rsAFON("deadmodel") & "IS NOT
IN
THE DATABASE! PLEASE NOTIFY ISD IMMEDIATELY!</td></tr>")
loop
end if
When I run the SQL String in SQL's Query Analyzer, I get the expected
results. However, when I run it in an ASP page, I get this error:
---------------
Response object error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
/ptest.asp, line 0
Execution of the ASP page caused the Response Buffer to exceed its
configured limit.
-------------------
Does anyone have any ideas? I've also made this into a Stored Procedure
as
well, but I received the same results. I'm running this page on an IIS
6.0
/ Win2k3 Web Edition box. All of my other SQL queries run except this
one.
Does it have anything to do with it doing another select from within the
statement? If so, is there a better way to write this piece of code?
Thanks!

Brian.

Nov 18 '05 #2

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...
1
by: Lou | last post by:
I'm using the Response Filter Class in MS KB article 811162 (http://support.microsoft.com/default.aspx?scid=kb;EN-US;811162) to generate a static htm page from an asp.net template page being...
3
by: Brad | last post by:
I have a response filter which injects "standard" html into my pages. The filter works fine when the initial stream is small enough not to buffer...or....if I have a large unbuffered stream (i.e. I...
2
by: hoenes1 | last post by:
I've got an aspx-Page "SendFile.aspx" which is called by a Link on "ShowListOfFiles.aspx" and sends the file in the OnLoad Eventhandler. The filename to download is stored in a Session variable....
8
by: Mantorok | last post by:
Hi all I have the contents of a text file that I would like to output to the response stream, however IE thinks it is XML and comes up with and error, here is the code: Response.ContentType =...
12
by: Jim Rodgers | last post by:
I have a big asp file that has an error under certain conditions -- totally repeatable. However, it only fails when I set response.buffer = True at the top. WHen I set it False in order to debug...
1
by: nettleby | last post by:
The Microsoft site has confused me on this issue: http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/iisbook/c06_redirection.mspx?mfr=true Says that: "ASP automatically discards...
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...
36
by: James Harris | last post by:
Initial issue: read in an arbitrary-length piece of text. Perceived issue: handle variable-length data The code below is a suggestion for implementing a variable length buffer that could be used...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.