Bulletin IDA2E_218
Last Review02/14/2011
Revision1.0
Previous IDsNone
ObsoletesNone

ERROR: Add2Exchange AgentDirector failed to logon

Summary

If the directory used by the system to store MAPI dynamic profile information is unavailable for any reason, the synchronization service will not be able to log on. However, the console and logon test are able to successfully log on. The solution is to restore access to the profile directory or change the profile directory location via a registry key.

Symptom

The console and logon test are able to successfully connect to Exchange and create relationships. However, synchronization fails, leaving the error message Add2Exchange AgentDirector failed to logon in the Add2Exchange Event Viewer log.

Description

Add2Exchange uses MAPI dynamic profiles to connect to the various user mailboxes in Exchange. While these profiles exist temporarily in the registry when created under an interactive account (such as when using the console), they are instead created on the filesystem when made from a non-interactive account such as when run as a service.

The setting which controls the filesystem location for these dynamic profiles is described in the following Microsoft knowledgebase article:

http://support.microsoft.com/kb/166599

Resolution

First, check that the directory exists and that the service account is able to create files there:

  1. Log in as the Add2Exchange service account
  2. Open regedit.exe
  3. Go to the key: HKEY_LOCAL_MACHINE/Software/Microsoft/Windows Messaging Subsystem
  4. Examine the value: ProfileDirectory
  5. Determine if that directory exists
  6. Test whether you can create a file there

If you are able to successfully create a file there, your problem may be something other than the one described here. To make sure, open the file search in windows explorer and set it to search the profile directory for *.mmp. Then run a sync. If you see .mmp files being created, then this technical bulletin does not describe your issue.

If, however, you find that the profile directory is missing or that it does not allow you to create files, then resolve the issue by either:

  1. Create or modify the permissions on the directory
  2. Change the location specified in the ProfileDirectory value to a location where the service account can create files

The first solution is preferable since Add2Exchange may not be the only program which creates dynamic profiles on your system (Blackberry, for example). If you do end up changing the location, test any other Exchange add-ons you may have installed (the effect is local to just this system, not Exchange as a whole). If any other add-ons exhibit issues, find a location to which all add-on user accounts have permissions.

Applies To

  • Add2Exchange Standard
  • Add2Exchange Enterprise