Migrating app from IIS5 to IIS6 problem
- From: mike.varley1@xxxxxxxxxxxx
- Date: 24 Oct 2006 07:41:03 -0700
Hi
I have a simple DB app using an Access databse that I have had to
migrate from an IIS 5 box to IIS 6. 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). With fewer records then it works
fine. It all worked fine on the IIS 5 box.
Now if I remove 4 of the displayed fields 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?
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">
<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: </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>
.
- Prev by Date: Re: Error when Reusing ADO Connection & Command
- Next by Date: Re: nope, it didn't help
- Previous by thread: Re: determine whether a field is identity column
- Next by thread: Re: MDAC 2.8 - Command returning a Recordset in C++
- Index(es):
Relevant Pages
|
|