Microsoft KB Archive/253928

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 12:52, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Error Message: Error Was Encountered in Function : HrDoImport Calling DAPIWrite...

Article ID: 253928

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Metadirectory Services 2.1



This article was previously published under Q253928

SYMPTOMS

When you are using the Microsoft Exchange MAPI management agent (MA) and attempting to process custom recipients, you may receive the following error message:

Error was encountered in function : HrDoImport calling DAPIWrite.. Error message : DAPIWrite for Mailbox /o=MICROSOFT/ou=MMSREPRO/cn=Custom Recipients/cn=a0150094 failed with DAPI error 0xc0000120

CAUSE

This error message occurs because the zcDseUpdateHeader and zcDseUpdateAdd settings have incorrect entries. The zcDseUpdateAdd setting has a first letter of "M" (for Modify); it should have an "A" (for Add).

The zcDseUpdateHeader setting is located in the Compass tool under Design MA, Connected Directory, Foreign Entries Output Template, and Header. The zcDseUpdateAdd setting is located in the Compass tool under Design MA, Connected Directory, Foreign Entries Output Template, and Add.

RESOLUTION

If your MA does not require a specialized head entry, disable the entries (by using a "#" character) in zcDseUpdateHeader. In zcDseUpdateAdd, change the first letter from "M" to "A". Operate your MA; the "A" allows the record to be presented as an add record to the connected directory.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.


Additional query words: Zoomit Via MA zscript genlogs

Keywords: kbenv kberrmsg kbprb KB253928