Microsoft KB Archive/252886

From BetaArchive Wiki
Knowledge Base

INFO: Exchange 2000 Does Not Support Directory API

Article ID: 252886

Article Last Modified on 2/22/2007


  • 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

This article was previously published under Q252886


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

Keywords: kbinfo kbmsg KB252886