locked
Outlook Error - Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005. RRS feed

  • Question

  • User-1352472826 posted

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

    This is the error i get when executes my application through iis.

    I am trying to attach a file to microsoft outlook.

    Please any body help me to figure this out.

    I have been looking abt this error since last week. Please help me...

     

    Thanx in advance.

    Friday, March 4, 2011 5:30 AM

Answers

  • User2130758966 posted

    This is because you dont have Microsoft Outlook installed -on your server-

     

    You cant use office interop to attach a file like this. If Outlook was installed on the server then the best you could do is run some server code to open outlook on the server and attach a file to an email.

    There is not way to remote control a users Outlook installation from server to client. This would be a massive security risk if websites could take over your Outlook.

    Instead if you need to send an attachment from the website to an email address you should do it all via code by following an article such as this:

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 4, 2011 10:35 AM