|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MAPI logon fails through SQL JobHi!
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. Show quote "Sachin Vaishnav" <SachinVaish***@discussions.microsoft.com> wrote in message news:6F9303A8-9E27-459D-B2B7-7DFD9CDEEB79@microsoft.com... > 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 |
|||||||||||||||||||||||