Microsoft KB Archive/275917

{|
 * width="100%"|

PRB: ADSI 2.5 and MDAC 2.6 Compatibility Issues

 * }

Q275917

-

The information in this article applies to:


 * Microsoft Active Directory Service Interfaces, version 2.5
 * Microsoft Data Access Components version 2.6

-

SYMPTOMS
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) : &quot;Class not registered&quot;

CAUSE
Earlier MDAC components, on which the ADSI 2.5 provider depends, were removed.

RESOLUTION
This problem is resolved in the version of ADSI that is installed by the Directory Services Client (DSClient) for Microsoft Windows NT 4.0.

MORE INFORMATION
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:

"http://support.microsoft.com/support/mdac/26setupfaq.asp" For additional information on the DSClient, see the following Microsoft Web site:

"http://www.microsoft.com/windows2000/adclients/"