Can Outlook be run from a Windows Service?

Joined
Aug 29, 2005
Messages
3
Reaction score
0
I have a application that I converted to vb.net (from vb6) so I could run it as a service. It processes attachments from an Outlook mailbox using Outlook Redemption and works as a user run application, but I need it to run as a service. When run as a service, it doesn't work and I am getting Application Errors:
Rejected Safe Mode action : Microsoft Office Outlook.

followed by:
Faulting application outlook.exe, version 11.0.6565.0, stamp 42cacc7d, faulting module mso.dll, version 11.0.6568.0, stamp 42e18ef6, debug? 0, fault address 0x0003446c.

and a System error:
The server {0006F03A-0000-0000-C000-000000000046} did not register with DCOM within the required timeout.

Any ideas if this is possible and what is needed? The code is the same, so maybe the user "NT AUTHORITY\SYSTEM" needs something?

Thank you in advance!
 

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

Top