Click here to Skip to main content
15,912,072 members
Home / Discussions / Database
   

Database

 
AnswerRe: Returning more than one value from a stored procedure? Pin
Scott Serl25-Oct-06 8:00
Scott Serl25-Oct-06 8:00 
GeneralRe: Returning more than one value from a stored procedure? Pin
Belfast Child30-Oct-06 22:43
Belfast Child30-Oct-06 22:43 
QuestionCalculated Field Pin
Dayekh25-Oct-06 0:00
Dayekh25-Oct-06 0:00 
AnswerRe: Calculated Field Pin
Colin Angus Mackay25-Oct-06 0:57
Colin Angus Mackay25-Oct-06 0:57 
GeneralRe: Calculated Field Pin
Dayekh25-Oct-06 1:45
Dayekh25-Oct-06 1:45 
AnswerRe: Calculated Field Pin
Eric Dahlvang25-Oct-06 3:25
Eric Dahlvang25-Oct-06 3:25 
GeneralRe: Calculated Field Pin
Dayekh25-Oct-06 4:29
Dayekh25-Oct-06 4:29 
QuestionMigrating db app from IIS5 to IIS6 Pin
MikeyV124-Oct-06 23:50
MikeyV124-Oct-06 23:50 
Hi All

I have been tasked with migrating an asp\db app from IIS5 to IIS6. The app basically asks users to fill in a search form which then returns relevant records. If the result returns more than about 500 records then the page fails to load (page cannot be displayed error). There are no errors in the event logs, IIS logs or the httperr log. With fewer records then it works fine. It all worked fine on the IIS 5 box.

If I remove 4 of the displayed fields (there are about 12 in total) by just deleting the field from the code below (i.e. deleting every thing between the <tr> </tr> tags) so that there are fewer fields to display for each record then it works again. Looks like it's complaining about the amount of data returned but it's only a few hundred records.

Can anyone shed any light?

Thanks for your help

Mike


The code that displays the records:


.
.
.
'create a recordset
set sqlResults = server.createobject("ADODB.recordset")
sqlResults.open selectPart, dBconnection, 1, 3
CountRecords = sqlResults.recordcount
%>


<font color="navy" face="arial">&nbsp;
<P></P>
<center>

<table align="center" border="2" width="589" bordercolor="navy"
bgcolor="#e6e6e6">
<TR>
<TD width="571" height="26" valign="top" align="middle"> <font
color="navy" size=+1><B><%=CountRecords%>
record(s) held</B></font> </TD>
</TR>
</table>


<%do while not sqlResults.EOF%>

<table align="center" border="2" width="589" height ="95%"
bordercolor="navy" bgcolor="lightblue" style="HEIGHT: 103px; WIDTH:
589px">
<TR>
<TD align="right" valign="top" width ="199"
bgcolor="lightblue"><font color="navy"><B>
Part No:&nbsp;</B></font></TD>
<TD align="middle" width= "372" bgcolor="#e6e6e6"><font color
="navy"><B><%=sqlResults(" Part No")%>
</B></font></TD>
</TR>
<TR>
<TD align="right" valign="top" bgcolor="lightblue"><font
color="navy"><B>Manufacturers
Part No:</B></font></TD>
<TD align="middle" bgcolor="#e6e6e6"><font color
="navy"><B><%=sqlResults("Manuf Part No")%>
</B></font></TD>
</TR>
.
.
About 10 more fields listed here in the same way as the above ones.
.
.
<%

sqlResults.MoveNext
loop

%>
</TABLE>



QuestionTransactions between layers. Pin
Luis C. Lopez24-Oct-06 9:22
Luis C. Lopez24-Oct-06 9:22 
AnswerRe: Transactions between layers. Pin
Colin Angus Mackay24-Oct-06 22:31
Colin Angus Mackay24-Oct-06 22:31 
AnswerRe: Transactions between layers. Pin
Luis C. Lopez25-Oct-06 6:05
Luis C. Lopez25-Oct-06 6:05 
QuestionSearch Security Pin
tmoney10124-Oct-06 2:17
tmoney10124-Oct-06 2:17 
AnswerRe: Search Security Pin
Colin Angus Mackay24-Oct-06 3:38
Colin Angus Mackay24-Oct-06 3:38 
AnswerRe: Search Security Pin
Pete O'Hanlon26-Oct-06 9:05
mvePete O'Hanlon26-Oct-06 9:05 
QuestionOne large table vs. several smaller tables Pin
Joe Smith IX24-Oct-06 0:25
Joe Smith IX24-Oct-06 0:25 
AnswerRe: One large table vs. several smaller tables Pin
Jim Conigliaro24-Oct-06 4:48
Jim Conigliaro24-Oct-06 4:48 
GeneralRe: One large table vs. several smaller tables Pin
Joe Smith IX25-Oct-06 8:49
Joe Smith IX25-Oct-06 8:49 
GeneralRe: One large table vs. several smaller tables Pin
Jim Conigliaro25-Oct-06 9:33
Jim Conigliaro25-Oct-06 9:33 
GeneralRe: One large table vs. several smaller tables Pin
Joe Smith IX26-Oct-06 2:21
Joe Smith IX26-Oct-06 2:21 
GeneralRe: One large table vs. several smaller tables Pin
Jim Conigliaro26-Oct-06 2:33
Jim Conigliaro26-Oct-06 2:33 
QuestionGathering Data and Calculating??? Pin
nit11523-Oct-06 14:50
nit11523-Oct-06 14:50 
AnswerRe: Gathering Data and Calculating??? Pin
Edbert P23-Oct-06 15:01
Edbert P23-Oct-06 15:01 
AnswerRe: Gathering Data and Calculating??? Pin
Rob Graham23-Oct-06 15:03
Rob Graham23-Oct-06 15:03 
GeneralI forgot to mention..... Pin
nit11523-Oct-06 17:01
nit11523-Oct-06 17:01 
AnswerRe: Gathering Data and Calculating??? Pin
Jerry Hammond25-Oct-06 16:50
Jerry Hammond25-Oct-06 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.