MAPI logon fails through SQL Job

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!
I have got a VB.NET exe which is using MAPI object to read the emails.
Now, the exe works excellent if I execute it independently. However, my
requirement is, I have to call this exe through SQL Jobs (SQL Agent). Now,
when I do that way, the MAPI logon fails, everytime.

It is giving me this error:
[Collaboration Data Objects - [MAPI_E_LOGON_FAILED(80040111)]]

Please help!

Regards,
Sachin Vaishnav
 
What account does SQL Agent log in as? Perhaps, if you set the Agent to run
as (say you) you would have better success.
 
Back
Top