Re: Exmerge Error Please Help

From: Dan Townsend [MSFT] (dtown_at_online.microsoft.com)
Date: 02/15/04


Date: Sat, 14 Feb 2004 21:18:58 -0600

It was a GAL permission issue.

-- 
Hope that helps,
Dan Townsend
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email to this address, post a reply to this newsgroup.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"ne1" <anonymous@discussions.microsoft.com> wrote in message
news:109f201c3f332$d3074810$a501280a@phx.gbl...
> Exmerge must have exchange domain servers permissions,
> also must have full admin rights to the local machine that
> you are running it from.
>
> I think thats it, although i would not hurt to have full
> exchand admin rights.
> >-----Original Message-----
> >I am running an exchange 2000 native mode enviroment that
> was upgraded from
> >exchange 5.5 we are trying to use exmerge to create
> a "brick backup" of our
> >email server so we have the ability to restore just a
> single mailbox.  Below
> >you will find a MaxLog dump of the exmerge.log file from
> a try to create a
> >PST of a single mailbox, we get the error (Error
> extracting information from
> >server DN '' (CMapiSession::GetInfoFromProfile)) on all
> mail boxes.  Please
> >Help
> >-James
> >
> >--------
> >
> >**********************************************************
> ******
> >Microsoft Exchange Mailbox Merge Program, v6.0.5762.3
> >Start Logging:February 13, 2004   21:25:29
> >**********************************************************
> ******
> >[21:25:29] Logging Level: Maximum
> >[21:25:29] Reading settings from
> file 'D:\exchsrvr\BIN\EXMERGE.INI'.
> >[21:25:29] Data directory name read from .INI
> file: 'D:\EXMERGE'.
> >[21:25:29] Merge action read from .INI file: 0
> >[21:25:29] DomainControllerForSourceServer read from INI
> file: 'Plato'
> >[21:25:29] SrcServerLDAP-Port read from INI file: ''
> >[21:25:29] Source server name read from .INI
> file: 'FROEBEL'.
> >[21:25:29] Entered Routine:
> >(CADRoutines::IdentifyFamilyOfExchangeRunningOnServer)
> >[21:25:29] Entered Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:29] BaseDN: 'LDAP://FROEBEL/rootDSE'
> >[21:25:30] Error 8007203a opening an LDAP connection.
> >('LDAP://FROEBEL/rootDSE')
> (CADRoutines::GetNamingContextData)
> >[21:25:30] Ending Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:30] Entered Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:30] BaseDN: 'LDAP://Plato/rootDSE'
> >[21:25:30] Ending Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:30] Default Naming
> Context: 'DC=cascadia,DC=ctc,DC=edu'
> >[21:25:30] Accessing Domain Controller 'PLATO'
> >[21:25:30] Entered Routine:
> (CADRoutines::GetExchangeServerNameInfo)
> >[21:25:30] BaseDN: 'LDAP://PLATO/CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu'
> >[21:25:30] Got IDirectorySearch interface
> >[21:25:30] Set search preferences
> >[21:25:30] Filter used:
> >'(&(objectCategory=msexchExchangeServer)(cn=FROEBEL))'
> >[21:25:30] Successfully executed directory search
> >[21:25:30] Legacy Exchange DN: '/O=Cascadia Community
> >College/OU=CASCADIA/cn=Configuration/cn=Servers/cn=FROEBEL
> '
> >(CADRoutines::GetExchangeServerNameInfo)
> >[21:25:30] Distinguished name read:
> >'CN=FROEBEL,CN=Servers,CN=CASCADIA,CN=Administrative
> Groups,CN=Cascadia
> >Community College,CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu'
> >(CADRoutines::GetExchangeServerNameInfo)
> >[21:25:30] Ending Routine:
> (CADRoutines::GetExchangeServerNameInfo)
> >[21:25:30] 'FROEBEL' is running Exchange Server 2000 or
> later
> >[21:25:30] Ending Routine:
> >(CADRoutines::IdentifyFamilyOfExchangeRunningOnServer)
> >[21:25:30] Source server read from settings file
> is 'FROEBEL'.
> >[21:25:30] DomainControllerForDestServer read from INI
> file: ''
> >[21:25:30] SrcServerLDAP-Port read from INI file: ''
> >[21:25:30] Destination server name read from .INI
> file: ''.
> >[21:25:30] Message selection start date read from .INI
> file: ''.
> >[21:25:30] Reading list of subjects for messages to be
> selected from file ''
> >[21:25:30] Subject string match criteria read from INI
> file: 0
> >[21:25:30] Reading list of attachment names for messages
> to be selected from
> >file ''
> >[21:25:30] Attachment name string match criteria read
> from INI file: 0
> >[21:25:30] Folder process setting read from .INI file: 2
> >[21:25:30] Apply to sub folders setting, read from .INI
> file: 0
> >[21:25:30] List of folders to be ignored has been read. 0
> folders in the
> >list.
> >[21:25:30] DelimiterUsedInMailboxFile setting read
> from .INI file: 2
> >[21:25:30] File containing list of private information
> store databases, read
> >from .INI file: ''.
> >[21:25:30] File containing list of mailboxes, read
> from .INI file:
> >'D:\exchsrvr\BIN\MAILBOXES.TXT'.
> >[21:25:30] Remove intermediate PST files setting read
> from .INI file: 1
> >[21:25:30] Date attribute read from .INI file: 0
> >[21:25:30] Data import method read from .INI file: 1
> >[21:25:30] ReplaceDataOnlyIfSourceItemIsMoreRecent
> setting read from .INI
> >file: 1
> >[21:25:30] Copy user data setting read from .INI file: 1
> >[21:25:30] Copy associated folder data setting read
> from .INI file: 1
> >[21:25:30] Copy folder permissions setting read from .INI
> file: 0
> >[21:25:30] Copy dumpster items setting read from .INI
> file: 0
> >[21:25:30] UseThisPSTFileForAllMailboxes setting read
> from .INI file: ''
> >[21:25:30] MapFolderNameToLocalisedName setting read
> from .INI file: 0
> >[21:25:30] RenameFoldersBasedOnFolderMappings setting
> read from INI file: 0
> >[21:25:30] Default Locale read from INI file: 1033
> >[21:25:30] Current machine locale ID is 0x409
> >[21:25:30] Command line received:
> >[21:25:30] Processor architecture: Intel
> >[21:25:30] Operating System Version 5.0 (Build 2195)
> >[21:25:37] Entered Routine:
> >(CADRoutines::IdentifyFamilyOfExchangeRunningOnServer)
> >[21:25:37] Entered Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:37] BaseDN: 'LDAP://FROEBEL/rootDSE'
> >[21:25:38] Error 8007203a opening an LDAP connection.
> >('LDAP://FROEBEL/rootDSE')
> (CADRoutines::GetNamingContextData)
> >[21:25:38] Ending Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:38] Entered Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:38] BaseDN: 'LDAP://Plato/rootDSE'
> >[21:25:38] Ending Routine:
> (CADRoutines::GetNamingContextData)
> >[21:25:38] Default Naming
> Context: 'DC=cascadia,DC=ctc,DC=edu'
> >[21:25:38] Accessing Domain Controller 'PLATO'
> >[21:25:38] Entered Routine:
> (CADRoutines::GetExchangeServerNameInfo)
> >[21:25:38] BaseDN: 'LDAP://PLATO/CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu'
> >[21:25:38] Got IDirectorySearch interface
> >[21:25:38] Set search preferences
> >[21:25:38] Filter used:
> >'(&(objectCategory=msexchExchangeServer)(cn=FROEBEL))'
> >[21:25:38] Successfully executed directory search
> >[21:25:38] Legacy Exchange DN: '/O=Cascadia Community
> >College/OU=CASCADIA/cn=Configuration/cn=Servers/cn=FROEBEL
> '
> >(CADRoutines::GetExchangeServerNameInfo)
> >[21:25:38] Distinguished name read:
> >'CN=FROEBEL,CN=Servers,CN=CASCADIA,CN=Administrative
> Groups,CN=Cascadia
> >Community College,CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu'
> >(CADRoutines::GetExchangeServerNameInfo)
> >[21:25:38] Ending Routine:
> (CADRoutines::GetExchangeServerNameInfo)
> >[21:25:38] 'FROEBEL' is running Exchange Server 2000 or
> later
> >[21:25:38] Ending Routine:
> >(CADRoutines::IdentifyFamilyOfExchangeRunningOnServer)
> >[21:25:38] Entered Routine:
> >(CADRoutines::GetExchangeServerStorageGroupInfo)
> >[21:25:38] BaseDN:
> >'LDAP://Plato/CN=InformationStore,CN=FROEBEL,CN=Servers,CN
> =CASCADIA,CN=Admin
> >istrative Groups,CN=Cascadia Community
> College,CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu'
> >[21:25:38] Got IDirectorySearch interface
> >[21:25:38] Set search preferences
> >[21:25:38] Filter used: '(objectClass=msexchPrivateMDB)'
> >[21:25:38] Successfully executed directory search
> >[21:25:38] Entered Routine:
> >(CADRoutines::GetMailboxesHomedOnExchangeServerDatabases)
> >[21:25:38] Searching the Active Directory for mailboxes
> homed on the
> >following databases:
> >[21:25:38] CN=Mailbox Store (FROEBEL),CN=First Storage
> >Group,CN=InformationStore,CN=FROEBEL,CN=Servers,CN=CASCADI
> A,CN=Administrativ
> >e Groups,CN=Cascadia Community College,CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu
> >[21:25:38]
> BaseDN: 'LDAP://Plato/DC=cascadia,DC=ctc,DC=edu'
> >[21:25:38] Got IDirectorySearch interface
> >[21:25:38] Set search preferences
> >[21:25:38] Filter used:
> >'(&(objectCategory=person)(objectClass=user)
> (homeMDB=CN=Mailbox Store
> >(FROEBEL),CN=First Storage
> >Group,CN=InformationStore,CN=FROEBEL,CN=Servers,CN=CASCADI
> A,CN=Administrativ
> >e Groups,CN=Cascadia Community College,CN=Microsoft
> >Exchange,CN=Services,CN=Configuration,DC=cascadia,DC=ctc,D
> C=edu))'
> >[21:25:38] Successfully executed directory search
> >[21:25:40] Found 441 mailboxes, in the Active Directory,
> homed on the
> >specified databases.
> >[21:25:40] Ending Routine:
> >(CADRoutines::GetMailboxesHomedOnExchangeServerDatabases)
> >[21:25:40] Entered Routine:
> (CMapiSession::CreateSystemAttendantProfile)
> >[21:25:40] Entered Routine:
> >(CAdminProfileRoutines::CreateSystemAttendantProfile)
> >[21:25:40] Entered Routine:
> >(CAdminProfileRoutines::CreateSystemAttendantProfile)
> >[21:25:40] Entered Routine:
> (CAdminProfileRoutines::HackMapiSvcInfForSA)
> >[21:25:40] Ending Routine:
> (CAdminProfileRoutines::HackMapiSvcInfForSA)
> >[21:25:40] Ending Routine:
> >(CAdminProfileRoutines::CreateSystemAttendantProfile)
> >[21:25:40] Ending Routine:
> >(CAdminProfileRoutines::CreateSystemAttendantProfile)
> >[21:25:40] Ending Routine:
> (CMapiSession::CreateSystemAttendantProfile)
> >[21:25:40] Entered Routine:  (CMapiSession::Logon)
> >[21:25:40] Entered Routine:  (CMapiSession::MapiInit)
> >[21:25:40] Successfully initialized MAPI.
> >[21:25:40] Ending Routine:  (CMapiSession::MapiInit)
> >[21:25:40] MAPI Logon successful.
> >[21:25:40] Ending Routine:  (CMapiSession::Logon)
> >[21:25:40] Entered Routine:
> (CMapiSession::GetMailboxesOnServer)
> >[21:25:40] Getting list of mailboxes on the server.
> >[21:25:40] Found default store.
> >[21:25:40] Opened Exchange Server Store.
> >[21:25:40] Entered Routine:
> >(CMapiSession::GetMailboxesOnServerFromPrivateIS)
> >[21:25:40] GetMailboxesOnServerFromPrivateIS:
> QueryInterface succeeded
> >[21:25:40] GetMailboxesOnServerFromPrivateIS:
> GetMailboxTable succeeded
> >[21:25:40] Number of mailbox records read: 441.
> >(CMapiSession::GetMailboxesOnServerFromPrivateIS)
> >[21:25:40] Ending Routine:
> >(CMapiSession::GetMailboxesOnServerFromPrivateIS)
> >[21:25:40] Finished getting list of mailboxes.
> >[21:25:40] Ending Routine:
> (CMapiSession::GetMailboxesOnServer)
> >[21:25:40] Session logoff successful.
> >[21:25:40] Entered Routine:
> (CMapiSession::DeleteOurProfile)
> >[21:25:40] Ending Routine:
> (CMapiSession::DeleteOurProfile)
> >[21:25:40] Time to get mailbox data: 2 seconds
> >[21:25:48] Using attribute 'PR_MESSAGE_DELIVERY_TIME' for
> date operations.
> >[21:25:48] Merging data into target store. The program
> will copy only those
> >messages that do not exist in the target store.
> >[21:25:48] Associated folder data will be copied to the
> target store.
> >[21:25:48] Using 'English (US)' (0x409) as the default
> locale (Code page
> >1252)
> >[21:25:48] All mailboxes will be processed, regardless of
> locale
> >[21:25:48] Program will use 1 worker threads
> >[21:25:48] Initializing worker thread (Thread0)
> >[21:25:48] ((Thread0)) Before CopyMailboxData -
> ACCOUNTADMINISTRATOR
> >[21:25:48] Entered Routine: EDKRoutines::CopyMailBoxData)
> >[21:25:48] Using locale 0x409 and code page 1252 to
> connect to mailbox
> >[21:25:48] Copying data from mailbox 'Account
> Administrator'
> >('ACCOUNTADMINISTRATOR') on Server 'FROEBEL' to file
> >'D:\EXMERGE\ACCOUNTADMINISTRATOR.PST'.
> >[21:25:48] DN of object is '/o=Cascadia Community
> >College/ou=CASCADIA/cn=Recipients/cn=accountadministrator'
> .
> >[21:25:48] Entered Routine:  (CMapiSession::MapiInit)
> >[21:25:48] Successfully initialized MAPI.
> >[21:25:48] Ending Routine:  (CMapiSession::MapiInit)
> >[21:25:48] Entered Routine:
> (CMapiSession::CreateEMSPSTProfile)
> >[21:25:48] Ending Routine:
> (CMapiSession::CreateEMSPSTProfile)
> >[21:25:48] Successfully created profile.
> >[21:25:48] Entered Routine:  (CMapiSession::Logon)
> >[21:25:48] Entered Routine:  (CMapiSession::MapiInit)
> >[21:25:48] Successfully initialized MAPI.
> >[21:25:48] Ending Routine:  (CMapiSession::MapiInit)
> >[21:25:48] MAPI Logon successful.
> >[21:25:48] Ending Routine:  (CMapiSession::Logon)
> >[21:25:48] Entered Routine:
> (CMapiSession::GetInfoFromProfile)
> >[21:25:48] Opened profile section.
> >[21:25:48] Got profile properties
> >[21:25:48] Error extracting information from server DN ''
> >(CMapiSession::GetInfoFromProfile)
> >[21:25:48] Ending Routine:
> (CMapiSession::GetInfoFromProfile)
> >[21:25:48] Errors encountered. Copy process aborted for
> mailbox 'Account
> >Administrator' ('ACCOUNTADMINISTRATOR').
> >[21:25:48] Entered Routine:
> (CMapiSession::DeleteOurProfile)
> >[21:25:48] Ending Routine:
> (CMapiSession::DeleteOurProfile)
> >[21:25:48] Session logoff successful.
> >[21:25:48] Ending Routine: EDKRoutines::CopyMailBoxData)
> >[21:25:48] ((Thread0)) CopyMailboxData Failed -
> ACCOUNTADMINISTRATOR
> >[21:25:48] ((Thread0)) Incremented progress bar
> >[21:25:48] Number of items copied from the source store
> for all mailboxes
> >processed: 0
> >[21:25:48] Total number of folders processed in the
> source store: 0
> >[21:25:48] 0 mailboxes successfully processed. 1
> mailboxes were not
> >successfully processed. 0 non-fatal errors encountered.
> >[21:25:48] Process completion time: 00:00:00
> >[21:25:48] MAPI uninitialized.
> >[21:25:49] MAPI uninitialized.
> >----
> >
> >
> >.
> >


Relevant Pages

  • Re: How to modify program files in Vista?
    ... You must change your program to store ... If there is an application ini file that is common to all users there ... What Microsoft would like developers to do is to store the configuration ... subdirectory of the user's user profile folder. ...
    (microsoft.public.vc.mfc)
  • Re: How to modify program files in Vista?
    ... You must change your program to store ... If there is an application ini file that is common to all users there ... What Microsoft would like developers to do is to store the configuration ... subdirectory of the user's user profile folder. ...
    (microsoft.public.vc.mfc)
  • Re: Image Combo - Please help.
    ... > Controls do not have memory, so they don't know what you selected last ... You must store that information yourself (in ... > registry, an INI file, a plain text file, whatever... ... >>> combo has a ListIndex property anyway... ...
    (microsoft.public.vb.general.discussion)
  • Re: reading an ini file
    ... Once can use the WritePrivateProfileStructto store any kind of data ... > Also be aware of the fact that using a .INI file has certain limitations. ... See my Registry classes on my MVP ... >> CString strIntItem; ...
    (microsoft.public.vc.mfc)
  • Re: Mailbox Managment
    ... you can create an exmerge bat file that will use the ini file with the date ... mailbox for certain file types and then delete them after a defined time ... We need to be able clear a specific mailbox down of a specific file type ...
    (microsoft.public.exchange.admin)