You must Sign In to post a response.
  • Category: ASP.NET

    The type or namespace name 'Interop' does not exist in the namespace 'Microsoft.Office'

    Hello Friends,
    I have used
    Microsoft.Office.Interop.Outlook namespace in my application for the same. I have referenced a dll Interop.Microsoft.Office.Interop.Outlook.dll.

    I have also added reference of Microsoft outlook 14.0 object library 9.4. All are working fine on local machine.

    But on server it is giving error

    The type or namespace name 'Interop' does not exist in the namespace 'Microsoft.Office' (are you missing an assembly reference?)

    Help by anyone is highly appreciated..

  • #761242

    In your local pc have Microsoft office (Outlook) then your server system no have this

    So you can install outlook in MS - Product after try

    then can you refer the Interop.dll in your project check them also.

    Name : Dotnet Developer-2015
    Email Id

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #761273
    Hello Navneet,

    As per your last thread. You were creating the email from outlook. Now you are hosting your website. That's great.

    You can add Interop.Microsoft.Office.Interop.Outlook.dll into your bin folder of your project on the server.

    Hope this will solve your problem.

    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"

Sign In to post your comments