PRB: 80040e25 Error Calling a Stored Procedure |
When you call a SQL Server 6.5 Stored Procedure using ActiveX Data Objects (ADO) version 1.5, the following error appears:
This error occurs if the recordset is created with an adOpenKeySet (1) or adOpenStatic (3) cursor.Microsoft OLE DB Provider for ODBC Drivers error '80040e25' All HROWs must be released before new ones can be obtained.
Here are several possible resolutions:
rstAuthors.Open "sp_report", cnnPubs, 0, 3
Set rstAuthors = CreateObject("ADODB.Recordset")
rstAuthors.CursorLocation = 3
rstAuthors.Open "sp_report", cnnPubs, 1, 3
rstAuthors.Open "EXEC sp_report", cnnPubs, 1, 3
This error does not occur with ADO version 1.0.
This problem was corrected in ActiveX Data Objects (ADO) 2.0 and later.
You may download the latest version of ADO in the Microsoft Data Access Components (MDAC) download, available at the following site:
http://www.microsoft.com/data/download.htm
Additional query words:
Keywords : kbADO kbADO150 kbADO150bug kbADO200fix kbDatabase kbSQLServ kbStoredProc kbGrpVBDB kbGrpMDAC kbDSupport kbADO210sp2fix kbado250fix
Version : WINDOWS:1.5
Platform : WINDOWS
Issue type : kbprb
Technology :
|
Last Reviewed: March 1, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |