I am accessing a SQL Server database via SQL select statement. the query works fine, no problems there. What happens is, i open the recordset and then open other recordsets while i'm looping through this one. I have a close after i am done with every recordset.
I get this error:
The line that it happens on is not always this line #. It shows a different line number everytime where the second recordset gets opened. I have no idea what is wrong and am not really sure how to explain it, but it loops through 661 records and then pops out this error. i looked at record 662 and there is nothing wrong with it. Can anyone help.
David Kuhn
------------------
I get this error:
Code:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.
/vntgsf/GPTSQL/FreightReport.asp, line 147
The line that it happens on is not always this line #. It shows a different line number everytime where the second recordset gets opened. I have no idea what is wrong and am not really sure how to explain it, but it loops through 661 records and then pops out this error. i looked at record 662 and there is nothing wrong with it. Can anyone help.
David Kuhn
------------------