problem with Interop.Outlook.dll usage

May 27 2010 7:17 AM
Hi All,

i am using Interop.Outlook.dll for reading mails from a outlook folder.
Application is running properly when i run it as Windows form application.
But when i run it as 'Windows Service', it is giving problem.
Service is getting started, but it initialize components like outlook.application windows is saying 'Outlook has encountered an error. do you want to send error report.'

please help me. I feel like when a dll is working properly as window form application, it should also run as a window service.


thanks in advance

Regards,
Sivakumar

Answers (4)