5 pts.
 Rights to Exchange Information Store
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

Answer Wiki:
Sounds like the job uses the locally logged on user credentials when it runs. Open Services and change the Log On properties of the services that the job uses to the ADMSRV profile. Another option is to keep the server logged in as ADMSRV, and lock the desktop if your have security concerns.
Last Wiki Answer Submitted:  December 5, 2008  7:28 pm  by  mshen   27,325 pts.
All Answer Wiki Contributors:  mshen   27,325 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _