Getting error "Error 3704 operation is not allowed when the object is closed vb6" using ADODB with Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL).
Sankaranarayanan M
1
Reputation point
Currently, We using Visual Basic 6.0
For Database connection, we are using ADODB connectivity through the Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL).
I am getting this error "Error 3704 operation is not allowed when the object is closed vb6"
They have given solution to use SET NOCOUNT ON in the stored procedure or in the SQL statement used with ADO
I have tried in one SP above mention solution is working.
Since we have multiple SP's, is there any solution other than the above mentioned one?
Community Center Not monitored
46,177 questions
Sign in to answer