INFO: Exchange 2000 Does Not Support Directory API

Article translations Article translations
Article ID: 252886 - View products that this article applies to.
This article was previously published under Q252886
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


The Directory API (DAPI) is not supported under Exchange 2000. DAPI code that was written for previous versions of Exchange will not work against the Exchange 2000 directory. Instead, you should use Active Directory Services Interface (ADSI) or Light-weight Directory Access Protocol (LDAP) API to programmatically manipulate the Exchange 2000 directory.


Exchange 2000 Directory Services is tightly integrated with and dependent on Microsoft Windows 2000 Directory Services. DAPI is a technology specific to earlier versions of Microsoft Exchange. Because of the tight integration with the Windows 2000 directory structure, DAPI support is not included in Exchange 2000. LDAP API is supported in Exchange 2000, but Microsoft recommends that you use ADSI to develop custom directory solutions.

Earlier versions of Exchange Server running on Windows NT platforms will still support DAPI, and these earlier servers can participate in Exchange 2000 organizations. However, any directory solutions that target Exchange 2000 or Windows 2000 directory objects must use ADSI or LDAP API as the mechanism for doing so.

You cannot use the Exchange 2000 .dll files with DAPI to programmatically access an Exchange 5.x server. You must use Exchange Server version 5.x .dll files.


For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
280136 FIX: Incorrect Version of Dapi.dll Installed from Exchange 2000 CD for Exchange 5.5 Management Tools
169551 INFO: Items Required to Use DAPI


Article ID: 252886 - Last Review: February 28, 2014 - Revision: 2.4
  • Microsoft Exchange 2000 Server Standard Edition
  • Microsoft Exchange Development Kit 5.5
  • Microsoft Exchange Development Kit 5.5
  • Microsoft Exchange Server 2003 Software Development Kit
kbnosurvey kbarchive kbinfo kbmsg KB252886

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from