Link to home
Start Free TrialLog in
Avatar of jimmymathai
jimmymathai

asked on

SQLSTATE: S1000 Connection busy with the results for another hstmt

I created ODBC DSN for an SQL2000 Database. In VB I am using ADO 2.5. I created a connection object using the dsn with server side cursor. after opening few recordsets using the connection using the .open method further attempt to open a recordset gives the following error

[Microsoft][ODBC SQL Server Driver]Connection is busy with the results for another hstmt

It is necessary to use the recordsets in the application. how to handle this error.

Jimmy
Avatar of jimmymathai
jimmymathai

ASKER

ODBC version is 3.52
SQL 2000 Service Pack 2
ASKER CERTIFIED SOLUTION
Avatar of i014354
i014354

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for the reference.
For the ADO recordset there is no stillexecuting property.

Can I make the query a synchronous one.
Can you post your code?
It seems to be a bug with ODBC. we changed the design to use ADO directly without the need for ODBC. with that it is working