Article ID: 275917 - View products that this article applies to.
This article was previously published under Q275917
This article has been archived. It is offered "as is" and will no longer be updated.
After you install Microsoft Data Access Components version 2.6, queries that use the Active Directory Services Interfaces (ADSI) OLEDB provider, ADSDSOObject, may return the following error:
Error -2147221164 (80040154) : "Class not registered"
Earlier MDAC components, on which the ADSI 2.5 provider depends, were removed.
This problem is resolved in the version of ADSI that is installed by the Directory Services Client (DSClient) for Microsoft Windows NT 4.0.
ADSI version 2.5 depends on legacy components of MDAC that were removed in MDAC version 2.6. The version of ADSI that is available through the DSClient does not depend on these components. Likewise, the version of ADSI that is present as a system library in Microsoft Windows 2000 does not depend on these legacy components. In either of these installations, ADSI is fully compatible with MDAC 2.6.
If it is not possible to use the DSClient run time for Windows NT 4.0 or to run on a Windows 2000 computer, an installation of MDAC 2.6 can be rolled back to an earlier version. For details, see the following Microsoft Web site:
Note ADSI 2.5 is not compatible with any version of MDAC later than MDAC 2.5.
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/216709/EN-US/ )ADSI 2.0, 2.5, and MDAC 2.1 Compatibility Issues
(https://support.microsoft.com/kb/223048/EN-US/ )FIX: Using ADO with ADSI Returns 'Error 800a01ad (429)'
(https://support.microsoft.com/kb/216290/EN-US/ )INFO: Determining Which Version of ADSI Is Installed