locked
outlook assembly problem RRS feed

  • Question

  • User-992533020 posted

    Hi , i have an application in which i am importing outlook contacts, its working fine on local machine, but while hosting, when i try to import outlook contacts it shows me a error

    "

    Could not load file or assembly 'Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

    "

    how can i solve that one....

    Friday, February 1, 2013 4:15 AM

Answers

  • User-760709272 posted

    It'll be something to do with security or permissions.  There are loads of pages on this issue if you google the error message you are getting.  Automating Outlook from asp.net simply isn't supported, Microsoft have never said that you can get it to work.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 1, 2013 8:24 AM

All replies

  • User-760709272 posted

    You need to install outlook on the server, however your code will be running under whatever user your anonymous asp.net account is using so you'll only see their contacts.  Also Office apps are not suitable for server-side automation and you'll run into a lot of problems trying to do this.

    Friday, February 1, 2013 4:31 AM
  • User-992533020 posted

    ya i installed the outlook on the server, and after that i got the error

    "

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

    "

    now please tell me what can i do for this, i need to impliment the outlook import .

    Friday, February 1, 2013 8:14 AM
  • User-760709272 posted

    It'll be something to do with security or permissions.  There are loads of pages on this issue if you google the error message you are getting.  Automating Outlook from asp.net simply isn't supported, Microsoft have never said that you can get it to work.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 1, 2013 8:24 AM