473,394 Members | 1,699 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 Limit Exceeded Problems - 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.

Jul 19 '05 #1
3 17298
Turn the Response.Buffer off on the page, or on the entire site.

Response.Buffer = False

at the TOP of the page before any ASP code.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Brian Piotrowski" <bp*********@NOSPAM.simcoeparts.com> wrote in message
news:uQ*************@tk2msftngp13.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.

Jul 19 '05 #2
"Brian Piotrowski" wrote in message
news:uQ*************@tk2msftngp13.phx.gbl...
: 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!

See if this will help.
http://www.experts-exchange.com/Web/..._20726698.html

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #3
Thanks to everyone who responded. I was able to fix the problem by putting
a MOVENEXT command before the LOOP. Thanks to Mark for that tidbit of info.

Brian.

"Roland Hall" <nobody@nowhere> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
"Brian Piotrowski" wrote in message
news:uQ*************@tk2msftngp13.phx.gbl...
: 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!

See if this will help.
http://www.experts-exchange.com/Web/..._20726698.html

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 19 '05 #4

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

Similar topics

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...
6
by: tigr | last post by:
I am trying to read BLOBs from a large table (i.e., greater than 34K rows) using Java and the IBM JDBC driver (actually through an Application server). I get the following: SQL0429N The...
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...
3
by: Jim Rojas | last post by:
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 =...
5
by: twiggy182 | last post by:
Hi, I really need you help because I'm not very familliar with ASP and I could not find any solution to my problem. To put you in situation, I have a CGI to which I send a file name, and that...
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...
14
by: S N | last post by:
I am using the following code to hide the download url of files on my website. The code uses Response.Binarywrite to send file to the client. Kindly indicate the maximum size of the file that can be...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.