Error Message : DAPIWrite for Mailbox <Location> Failed with DAPI Error 0x800000a6 (255237)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.1

This article was previously published under Q255237

SYMPTOMS

When you run the Exchange MAPI Management Agent, you may receive the following error message:
Error was encountered in function : HrDoImport calling DAPIWrite.. Error message :
DAPIWrite for Mailbox /o=TEST/ou=TEST1/cn=Mailing Lists/cn=Test_design failed with DAPI error 0x800000a6.

CAUSE

This issue can occur if you use illegal characters in the Display-Name-Printable box in the Foreign Entries Output Add template.

The name in this box populates the Simple Display Name field in Exchange.

RESOLUTION

To resolve this issue, do not use illegal characters when you create the Simple Display Name for Exchange.

MORE INFORMATION

Microsoft Exchange does not accept the following characters in the Simple Display Name field.
   `
   ~
   @
   #
   $
   %
   ^
   &
   *
   [
   ]
   {
   }
   \ 
   |
   _
				


Microsoft Exchange replaces any of the illegal characters with a question mark (?). The error message continues to occur in Microsoft Metadirectory Services 2.1, however, the recipient of the e-mail continues to populate Microsoft Exchange.

You may also receive the following Event ID.
Event Type: Error
Event Source: Directory Import
Event Category: None
Event ID: 166
Date: 2/21/2000
Time: 1:44:48 PM
User: N/A
Computer: TestServer
Description:
The description for Event ID 166 with the Directory Import source cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kberrmsg kbnetwork kbprb KB255237