Readming Outlook mails using MAPI through Windous Service - VB.NET

  • Thread starter COM Class Error while accessing Outlook
  • Start date
C

COM Class Error while accessing Outlook

I have developed windows service in VB.NET which reads mails from Outlook.
This is working fine in debug mode but once I installed it and start the
service, I am getting error like ' Retrieving the COM class factory for
component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the
following error: 80080005. '


oOutlook =

New Microsoft.Office.Interop.Outlook.Application() ' This line of code is
throwing error.

I have used Outlook 2003, DOT NET Framework2.0 with VS 2005 and OS is
windows 2003 server.
Can any one please help me out..?
 
B

Brian Tillman [MVP-Outlook]

I have developed windows service in VB.NET which reads mails from Outlook.
This is working fine in debug mode but once I installed it and start the
service, I am getting error like ' Retrieving the COM class factory for
component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
the
following error: 80080005. '

Ask programming questions in microsoft.public.outlook.program_vba,
..program_forms, or .program_addins.
 

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