I am running an ERP webapplication Exact eSynergy in which I can schedule appointments. I also use Exchange to schedule appointments and setup a synchronisation between Exchange and eSynergy so I can use either application to see all appointments.
The synchronisation job is setup in the SQL job scheduler (running as ADMSRV) and executes an application SynergyExchange.exe with some parameters (SQL server, database en Exchange server name). On the Exchange server side I had to set sent-as/receive-as rights to the user ADMSRV to be able to read/write users mailbox/agenda.
So far so good. The synchronisation is working perfect as long as the user ADMSRV is logged into the server where the SQL job is running. When logged out, the job is still running but errors occur in the logging: Failed to process calendar for ATK: The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]] (-2147221231)
When not logged into the SQL server the application SynergyExchange.exe is executed, but is not able to access the Exchange information store: hence no synchronisation of appointments.
When loggen in again the synchronisation runs ok.
This is not the same problem as when using Windows Scheduled Task, with the switch "run of not logged on".
What's going wrong and how to troubleshoot?
Software/Hardware used:
ASKED:
December 5, 2008 12:43 PM
UPDATED:
December 5, 2008 7:28 PM