Package and Deployment Wizard does not correctly install ADSI (289891)



The information in this article applies to:

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

This article was previously published under Q289891

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. To download the ADSI 2.5 Setup package, visit the following Microsoft Web site: A newer version of ADSI is included in the Active Directory Client Extension for Windows. For additional information about how to obtain the Active Directory Client Extension for Windows NT 4.0 or Windows 98, click the following article number to view the article in the Microsoft Knowledge Base:

288358 How to install the Active Directory client extension

MORE INFORMATION

ADSI information by operating system

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:

289105 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.

REFERENCES

Active Directory Service Interfaces Overview: For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

288358 How to install the Active Directory client extension

216290 Determining the version of ADSI that is installed on your computer


Modification Type:MajorLast Reviewed:8/4/2006
Keywords:kbDSWADSI2003Swept kbDeployment kbprb KB289891 kbAudDeveloper