Issue
The Shortuct Processing module TRACE-enabled log file may show the following:
2013-08-16 06:21:28Z|INFO|P:2964|T:5|Logic|Shortcut Postprocess Engine Initialized
2013-08-16 06:21:28Z|INFO|P:2964|T:5|ModuleClient|Assembly Version is 6.2.0.7721
2013-08-16 06:21:28Z|ERROR|P:2964|T:5|Logic|Could not initialize MAPI Stack
EXCEPTION: System.Runtime.InteropServices.COMException (0x80040111): Error in MAPILogonEx: MAPI_E_LOGON_FAILED
Make sure your code runs under the Windows user identity that has MAPI profiles.
When running in a service (including ASP under IIS), set your code to run under
the Windows user account that has MAPI profiles.
When connecting to an Exchange Server, you can also use RDOSession.LogonExchangeMailbox
which does not require an existing profile.
at Interop.Redemption.IRDOSession.Logon(Object ProfileName, Object Password, Object ShowDialog, Object NewSession, Object ParentWindowHandle, Object NoMail)
at ArchiveShuttle.Module.ShortcutPostprocessModule.Logic..ctor(IModuleClient moduleClient)
 
Solution
Create an online MAPI profile using the service account that is running the Post Processing Module.

Print Friendly, PDF & Email