DAPI Error 0xc0000114 Running the Exchange MAPI Management Agent (261948)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.1

This article was previously published under Q261948

SYMPTOMS

When you try to export mailboxes to Microsoft Exchange by running the Exchange management agent (MA) in Creator mode, you may receive the following error message:
Error Message: Error message : DAPIWrite for Mailbox /cn=Test545 failed with DAPI error 0xc0000114.

CAUSE

The distinguished name (DN) for the object is not correct.

The following sample record is an example of a record in the Create file that causes the error message. The first line in the Create file contains "A" for add and the DN of the object to be imported to Exchange. This particular DN is missing the container structure in the imported object will reside:

Create File:
A /cn=test545
- Obj-Class:Mailbox
- Given-Name:test
- Surname:545
- Home-MTA:/o=/ou=/cn=Configuration/cn=Servers/cn=Minimi/cn=Microsoft MTA
- Display-Name:test545
- Mail-nickname:test545

The record that contains the correct DN looks like the following sample record for an Exchange server in the MMS organization, Charlotte organizational unit, and Montana recipients container:

Create File:
A /o=MMS/ou=Charlotte/cn=Montana/cn=test545
- Obj-Class:Mailbox
- Given-Name:test
- Surname:545
- Home-MTA:/o=/ou=/cn=Configuration/cn=Servers/cn=Minimi/cn=Microsoft MTA
- Display-Name:test545
- Mail-nickname:test545

Typically, when an object is pasted in the connector space for a management agent running in Creator mode, the Exchange DN is built as an attribute of the connector space object. However, if the paste operation does not function correctly, the DN may only contain "/CN=Username." When the Create file is built, it contains an incorrect DN.

RESOLUTION

Retry the copy and paste or the drag-and-drop operation in Microsoft Metadirectory Services (MMS) and verify the correct Exchange DN. You can also change the zcProprietarytransportMailbox attribute value for the object.

To verify that the Exchange DN is correct:
  1. Right-click the connector space object located in the MA running in Creator mode, and then click Properties.
  2. Verify that the Exchange DN value (the zcProprietarytransportMailbox attribute) is correct. This value should be the DN of the object after it is created in Exchange.

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbenv kberrmsg kbprb KB261948