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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top