Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Component Checker Cannot Find Files in \Program Files\Common Files\System Folders


View products that this article applies to.

This article was previously published under Q323032
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/EN-US/ ) Description of the Microsoft Windows Registry

↑ Back to the top


Symptoms

If the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion registry key contains a registry value that is larger than 255 characters, the Microsoft Data Access Components (MDAC) Component Checker may not be able to find the files in the following folders:
\Program Files\Common Files\System\ADO
\Program Files\Common Files\System\MSADC
\Program Files\Common Files\System\Ole DB
When this occurs, the Component Checker reports that the files are not found.

For example, if the value of DevicePath in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion registry key is set to a string that is larger than 255 characters, you receive an error message that the Component Checker could not find files under the Common Files folder.

↑ Back to the top


Cause

The Component Checker uses a hard-coded buffer size of 256 when it opens the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion registry key. The Component Checker enumerates through the values under this registry key. If a registry value is larger than 255 characters, the Component Checker does not retrieve the CommonFilesDir value. The CommonFilesDir value is used to determine where the Common Files folder is located.

↑ Back to the top


Resolution

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this problem, follow these steps:
  1. Use Registry Editor to temporarily reduce the length of the offending registry value to less than 255 characters.
  2. Run the Component Checker.
  3. Change the registry value back to the original value.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

The Component Checker may report that the following files are missing:
  • Msdaps.dll
  • Oledb32r.dll
  • Oledb32.dll
  • Msdaosp.dll
  • Msdasqlr.dll
  • Msdasc.dll
  • Msdaenum.dll
  • Msdatt.dll
  • Msdasql.dll
  • Msdadc.dll
  • Msdaer.dll
  • Msadrh15.dll
  • Msador15.dll
  • Msado15.dll
  • Msader15.dll
  • Msdfmap.dll
  • Msadcfr.dll
  • Msdaprst.dll
  • Msaddsr.dll
  • Msadds.dll
  • Msadcs.dll
  • Msadcor.dll
  • Msadco.dll
  • Msadcer.dll
  • Msadcf.dll
  • Msadce.dll

↑ Back to the top


Keywords: KB323032, kbnofix, kbbug

↑ Back to the top

Article Info
Article ID : 323032
Revision : 2
Created on : 5/28/2003
Published on : 5/28/2003
Exists online : False
Views : 299