FIX: Access Violation Occurs on the Filter Property in ADO (308262)



The information in this article applies to:

  • Microsoft Data Access Components 2.7
  • Microsoft Data Access Components 2.6
  • Microsoft Data Access Components 2.6 SP1

This article was previously published under Q308262

SYMPTOMS

An access violation may occur if you try to access the Filter property of an ActiveX Data Objects (ADO) Recordset object on a multi-processor computer under heavy load.

CAUSE

This problem occurs because there are two threads that are both contending for the same line of code in the Msado15.dll file.

RESOLUTION

To 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 English version of this fix should have the following file attributes or later:

MDAC 2.6 SP1:
Date           Time   Version      Size       File name
---------------------------------------------------------
10-Sep-2001    7:05   2.61.7910.0  528,656    Msado15.dll
				
MDAC 2.7:
Date           Version      Size      File name
------------------------------------------------
30-Nov-2001    2.71.8130.0  643,072   Msadce.dll
				

STATUS

Microsoft 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.

Modification Type:MinorLast Reviewed:9/26/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbmdac260sp2fix KB308262