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..?
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..?