Microsoft KB Archive/289891

{|
 * width="100%"|

PRB: Package and Deployment Wizard Does Not Correctly Install ADSI

 * }

Q289891

-

The information in this article applies to:


 * Microsoft Active Directory Service Interfaces, versions 1.0, 2.0, 2.5
 * Microsoft Active Directory Client Extension
 * Microsoft Active Directory Services Interface, System Component

-

SYMPTOMS
A user may receive the following error message when he or she is attempting to use any of the ProgIDs that are typically registered by an installation of Active Directory Services Interfaces (ADSI):

Run-time error -2147721020 (800401e4)

Automation Error

Some examples of ProgIDs that are registered by a typical installation of ADSI are: ADsDSOObject, ADsNamespaces, ADSystemInfo, LDAPNamespace, NameTranslate, NDSNamespace, NWCOMPATNamespace, PropertyValue, SecurityDescriptor, and WinNTNamespace.

CAUSE
Active Directory Services Interface (ADSI) is not properly installed.

The Package and Deployment Wizard that comes with Microsoft Visual Basic and Microsoft Office Developer does not correctly install ADSI when deploying an application that is dependent on ADSI.

RESOLUTION
ADSI must be reinstalled. You can download the ADSI 2.5 Setup package from the following Microsoft Web site:

"http://www.microsoft.com/ntserver/nts/downloads/other/ADSI25/default.asp" -or-

A newer version of ADSI is included in the Active Directory Client Extension for Windows. You can download the Active Directory Client Extension for Windows NT 4.0 from the following site:

"http://www.microsoft.com/windows2000/adclients" Note that the Active Directory Client Extension version is different for Windows NT 4.0 and Windows 95/Windows 98. The Active Directory Client Extension for Windows 95 and Windows 98 can only be found on the Windows 2000 CD-ROM.

Windows 2000
ADSI is installed with Windows 2000. No additional installation is necessary.

Windows NT 4.0
The latest version of ADSI for Windows NT 4.0 can be installed from the Windows NT 4.0 Directory Services Client Extension (DSClient). For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

"Q289105 INFO: Support for ADSI on Windows NT 4.0" NOTE: Microsoft no longer supports versions of ADSI previous to 2.5.

Windows Millennium Edition
ADSI is not supported on Windows Millennium Edition.

Windows 95 and Windows 98
ADSI is not installed on Windows 95 and Windows 98 platforms by default, but you can install it from the Windows 2000-CD.