We created a Windows Service (c#) that runs on users' machines. It
interacts with the desktop to alert the user of certain events. I
would also like it to be able to interact with the user's Outlook to
populate an e-mail for them that they can edit and send. When the
service is running under my account, it works fine, but when I set it
to run as SYSTEM I get this error:
Exception Type: System.Runtime.InteropServices.COMException
ErrorCode: -2147221021
Message: Operation unavailable
I read in this article (http://support.microsoft.com/kb/288366/) that
you can configure Office applications to automatically run as the
Interactive Account using dcomcnfg, but there is no Application in
Dcomcnfg for Outlook. Is there a way to get this to work?
Thanks,
Tim
Archived from group: microsoft>public>office>developer>outlook>vba