Error 19092 Occurs When You Are Running in Test Mode for the MAPI MA (313199)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.2
  • Microsoft Metadirectory Services 2.2 SP1

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 "zcExchangeMailbox"  -currentDn -addParent "%dn%"
				
Note that the -addparent switch is between -currentDn and "%dn%". This is incorrect because -currentDn "%dn%" must be together, either before or after -addparent.

RESOLUTION

To resolve this issue, make the following change to the EXECUTE line:
EXECUTE importt -objectClass "zcExchangeMailbox"  -addParent -currentDn "%dn%"
				
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.

Modification Type:MajorLast Reviewed:6/17/2005
Keywords:kbenv kberrmsg kbprb KB313199