Article ID: 238442 - View products that this article applies to.
This article was previously published under Q238442
This article has been archived. It is offered "as is" and will no longer be updated.
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.
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.
A 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:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMSNOTE: 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
Microsoft 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:
IMPORTANT!Care must be taken to install all files contained in this hotfix.
The ODBC core files perform automatic version checking. If the versions of these files are not consistent, error dialog boxes will be generated indicating that there is a version mismatch. This can cause problems under conditions where these dialog boxes go unanswered, such as on an unattended Web server. Under these circumstances, the system can appear to hang or freeze.
Important Notice for Microsoft Windows 95/98 UsersIf you are installing this fix onto a computer running Windows 95 or a computer with the original release of Windows 98, you may need to install the Windows 98 Migration dynamic-link library (DLL) included with this fix. Please carefully read the Migrate_qfe.txt file that is included with the Migration.exe file, included with the download.
Steps to Reproduce