We have an application written in C/C++in Visual Studio 6 on Windows NT that send e-mail running as a service. We have Outlook 2000 installed on the Windows NT server to get the CDO, which is the API we use to do this.
This all works fine, but we're in a migration project and we're running into issues.
We are migrating this as follows:
- New servers are Windows 2000
- New dev environment is Visual Studio .Net (but still C/C++)
- Still Outlook 2000
We're finding that we can run the program perfectly well from an interactive login, but it doesn't run as a service. This all works perfectly well on WInNT, but not on WIndows 2000 (same code, same version of Outlook). It keeps throwing a COM error that looks like:
14-Sep-2004 at 11:21:14 PM COM error!
14-Sep-2004 at 11:21:14 PM Code = 800406f9
14-Sep-2004 at 11:21:14 PM Code meaning = IDispatch error #1273
14-Sep-2004 at 11:21:14 PM Source = Collaboration Data Objects
14-Sep-2004 at 11:21:14 PM Description = [Collaboration Data Objects - [MAPI_E_LOGON_FAILED(80040111)]]
Can anyone provide any insight into this? It sounds like a logon failure, but we're not getting any more information beyond this?