error: 80080005 with outlook

Asked By vis 12
08-Feb-10 10:21 AM
Earn up to 0 extra points for answering this tough question.

I am trying to connect to outlook application through ASP.net 2.0 site.

I am getting following error

“Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005.” While executing the statement

Application outlookApp = new Application();

 

It works fine on development server. I am using profile name as username and password for that the user for which mailbox is configured.Development machine is having Windows XP as OS and Application server is windows server 2003.

 

Please help me on this.

  re: error: 80080005 with outlook

Frinavale Soldevi replied to vis 12
08-Feb-10 01:26 PM
I've seen very similar errors happen when I haven't installed an essential COM component in a website that I support. You need to make sure that you have installed the required COM components on your web server.

In this case, Outlook needs to be installed on the web server.
Or you need to install a redistribution package that lets you do what you need to do....(these packages exist for Office...but I don't think there is one for Outlook).

-Frinny
Create New Account