FIX: Access Violation Occurs in ADO When You Reopen a Recordset by Using adUseClient and adReadOnly Against MSDASQL (326834)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q326834 SYMPTOMS
When you call the Open method of an ADO client-cursor Recordset object that has been opened and closed previously, an access violation may occur if you change the LockType parameter of the method from adLockOptimistic to adLockReadOnly.
This problem only occurs with the Microsoft OLE DB Provider for ODBC (MSDASQL).
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft Data Access Components (MDAC) 2.6. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
300635 INFO: How to Obtain the Latest MDAC 2.6 Service Pack
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components (MDAC) 2.6 Service Pack 2.
Modification Type: | Major | Last Reviewed: | 8/16/2002 |
---|
Keywords: | kbbug kbClient kbDSupport KB326834 |
---|
|