PRB: IRowsetNotify Error with ADO Data Control and ADO Recordset (195638)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q195638 SYMPTOMS
Prior to MDAC version 2.5, when you manipulate methods of the ADO Data Control's Recordset property through code, or when you manipulate an ADO Recordset object that has controls bound to it, you receive the following error message:
Run-time error '-2147217888 (80040e20)':
Provider called a method from IRowsetNotify in the consumer and the
method has not yet returned.
In MDAC 2.5 or later, the error message appears as follows:
Consumer's event handler called a non-reentrant method in the provider.
RESOLUTION- Use a client-side cursor instead of a server-side cursor.
-or- - Add a call to the Recordset's Move method immediately prior to the offending line. For example:
ADODC1.Recordset.Move 0
Resolution number 2 is the workaround discussed in the "More Information" section below.
-or-
- Microsoft Visual Basic 6.0 Service Pack 3 has been found to resolve this error in some scenarios.
For information on installing Service Pack 3 of Microsoft Visual Basic, please see the following article in the Microsoft Knowledge Base:194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
STATUS
The following are two methods to resolve this issue:
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
288772 BUG: Error Message Received When You Use the DTPicker to Update Table
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbDataBinding kbDSupport kbExcel123Quattro kbprb KB195638 |
---|
|