FIX: Access Violation in IDBProperties::GetProperties When You Use OLE DB Service Components (301679)
The information in this article applies to:
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6 SP1
- Microsoft Data Access Components 2.6
This article was previously published under Q301679 SYMPTOMS
When a multithreaded application uses the OLE DB service components, if the application uses the same IDBProperties interface pointer to call the IDBProperties::GetProperties method simultaneously in two different threads, the call to GetProperties may fail with E_UNEXPECTED, or you may receive an access violation.
If you are using Microsoft Data Access Components (MDAC) 2.5 Service Pack 2 (SP2), an access violation occurs. If you are using MDAC 2.6 SP1, E_UNEXPECTED is returned. In both cases, the call succeeds because the interface supports multithreaded access.
RESOLUTIONMDAC 2.6 SP1To resolve this problem, obtain the latest service pack for Microsoft Data Access Components 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
The MDAC 2.6 SP1 version of this fix should have the following file attributes:
Date Version Size File name Platform
----------------------------------------------------------
20-Jul-2001 2.61.7720.0 459,024 Oledb32.dll x86
MDAC 2.5 To resolve this problem, obtain the latest service pack for Microsoft MDAC 2.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 293312INFO: How to Obtain the Latest MDAC 2.5 Service Pack
The MDAC 2.5 SP2 version of this fix should have the following file attributes:
Date Version Size File name Platform
----------------------------------------------------------
25-Jun-2001 2.52.7625.0 483,600 Oledb32.dll x86
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 MDAC 2.5 Service Pack 3. This problem was first corrected in Microsoft Data Access Components 2.6 Service Pack 2.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbMDAC250SP3fix kbbug kbfix kbmdac260sp2fix KB301679 |
---|
|