Microsoft KB Archive/313199

= Error 19092 Occurs When You Are Running in Test Mode for the MAPI MA =

Article ID: 313199

Article Last Modified on 6/17/2005

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q313199



SYMPTOMS
When you are running in Test mode by using the MAPI management agent, you may receive error entries that are similar to the following error entries in the genlogs for mailboxes:

DBG_00 04a0 01/09/24 11:52:23.744 (DS_importtMain) Importt invoked: Mon Sep 24 11:52:18 2001

DBG_00 04a0 01/09/24 11:52:23.760 (DS_openLogFiles) Reflector MA [ma=mapi, DsaName=internm0101,ou=Applications,dc=microsoft,dc=com]

DBG_00 04a0 01/09/24 11:52:23.760 (DS_openLogFiles) working on [zcExchangeOrganization,zcExchangeSite,zcExchangeContainer,zcExchangeServer]

DBG_00 04a0 01/09/24 11:52:25.088 (DS_close) Process exited successfully Mon Sep 24 11:52:24 2001

DBG_00 04a0 01/09/24 12:02:57.103 (DS_readCommandLine) DN not found after -currentDN

DBG_00 04a0 01/09/24 12:02:57.103 (DS_readCommandLine) Importt invoked with unknown argument [ma=mapi,DsaName=internm0101,ou=Applications, dc=microsoft,dc=com]

ERR_00 04a0 01/09/24 12:02:57.103 (DS_close) Process exited 19092 at Mon Sep 24 12:02:57 2001



CAUSE
This issue can be caused by the following code in the MAscript: IF %zcDsPerformInTestMode% = TRUE THEN echo *************************************************************************** echo Synchronizing Metadirectory Users in Test Mode echo *************************************************************************** EXECUTE importt -objectClass &quot;zcExchangeMailbox&quot; -currentDn -addParent &quot;%dn%&quot; Note that the -addparent switch is between -currentDn and &quot;%dn%&quot;. This is incorrect because -currentDn &quot;%dn%&quot; must be together, either before or after -addparent.



RESOLUTION
To resolve this issue, make the following change to the EXECUTE line: EXECUTE importt -objectClass &quot;zcExchangeMailbox&quot; -addParent -currentDn &quot;%dn%&quot; Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

Additional query words: mms zoomit

Keywords: kberrmsg kbenv kbprb KB313199

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.