FIX: Access Violation Passing ADO Command Object to ADO Recordset Open() with MDAC 2.6 (301199)
The information in this article applies to:
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.6 SP1
- ActiveX Data Objects (ADO) 2.6
This article was previously published under Q301199 SYMPTOMS
When you pass an ActiveX Data Objects (ADO) Command object to the ADO Recordset.Open method, an access violation in Msado15.dll may occur.
RESOLUTION
This problem has been corrected in MDAC 2.6 Service Pack 2 (SP2) and MDAC 2.7. If you cannot upgrade to these versions, a hotfix is also available. For additional information about MDAC 2.6 SP2, click the article number below
to view the article in the Microsoft Knowledge Base:
300635 INFO: How to Obtain the Latest MDAC 2.6 Service Pack
The English version of this fix should have the following file attributes or later:
Date Version Size File name Platform
-----------------------------------------------------------
25-JUN-2001 2.61.7625.0 528,656 Msado15.dll x86
WORKAROUND
To work around this problem, do not pass a Command object to the Open method of a Recordset object.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.6 Service Pack 2 and MDAC 2.7.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbmdac260sp2fix KB301199 kbAudDeveloper |
---|
|