ODBC Connection Pooling Object and Counters Disappear from Performance Monitor (238442)
The information in this article applies to:
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
This article was previously published under Q238442 SYMPTOMS
When using Performance Monitor to watch Open Database Connectivity (ODBC) connection pooling statistics, the ODBC Connection Pooling object and all of its counters occasionally disappear from the list of items available in the Add to Chart dialog box.
As another side effect, if an application or service calls the OpenODBCPerfData function in the ODBC Driver Manager (Odbc32.dll), an "Access Denied" error code (c0000022) is returned.
CAUSE
The ODBC Driver Manager is incorrectly passing in a NULL pointer as the Security Descriptor argument when calling CreateMutexA and when creating a memory-mapped file through ODBCCreateFileMapping.
When a security descriptor is a Null pointer, as opposed to a NULL DACL, the default security descriptor is used, which permits access only to the Local System account and the owner.
Therefore, if a service that runs under the System account starts and uses the ODBC Connection Pooling Performance Monitor counters, user-mode applications are denied access to the necessary mutexes and file mapping, and performance counter information is unavailable.
RESOLUTIONA supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft Data Access Components service pack that contains this hotfix. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name Platform
-------------------------------------------------------------
7/22/99 3.510.4322 194KB Odbc32.dll
7/22/99 3.510.4322 86KB Odbccp32.dll
7/22/99 3.510.4322 70KB Odbcint.dll
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in MDAC 2.6. If you have MDAC 2.1 or 2.5 you can install the following hotfix, or you can upgrade to MDAC 2.6. For the latest version of MDAC, see the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 10/7/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbDatabase kbfix kbQFE KB238442 |
---|
|