or download this
The error 0x80040111 is MAPI_E_LOGON_FAILED
...
http://www.querycat.com/faq/3d7ee57b7b443939d913ff34d5047edf
As you will note we were not passing any logon details. This worked fo
+r me as it defaults to Outlook. If you had a session that was talking
+ to exchange I might well try a null logon to there. Another possibil
+ity is that you have another logon session running on the machine you
+ are using. This appears to break things. Having Outlook open seems t
+o have helped in one instance although it runs fine for me here with
+Outlook closed. Outlook on some systems leaves instances running so a
+ quick 3 finger salute [ctr]+[alt]+[del] | Processes | Select all Out
+look processes and and kill them with End Process.