Add-in + Outlook integration frequently breaking

Sarah Gould 0 Reputation points
2023-12-08T16:47:06.9366667+00:00
We use a document management system called iManage, which integrates with Office. I have one user who frequently uses a site feature for the document management website that is supposed to launch an email in Outlook with an attachment. It normally works, but keeps breaking where it will throw an error on the website. I've been working with the document management team, but the logging is showing that it's failing on Office's side, so I'm trying to find out if there's a solution we can work out.

Notably, when it breaks, doing an Office Quick Repair fixes it, but it eventually comes back within a few days or weeks. This is the error showing in the logs:

2023-12-01 15:33:06,706 [39] ERROR > [Cloud] [490ce5c7-7785-44a9-b2d8-96a4fff6f2ec] IsMapiNamespaceValid

System.InvalidCastException: Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.ApplicationClass' to interface type 'Microsoft.Office.Interop.Outlook._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063001-0000-0000-C000-000000000046}' failed due to the following error: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND)).

   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)

   at Microsoft.Office.Interop.Outlook.ApplicationClass.GetNamespace(String Type)

   at iManage.iwCommands.Utilities.IsMapiNamespaceValid(Object oOutlookApp)
Outlook | Windows | Classic Outlook for Windows | For business
{count} votes

1 answer

Sort by: Most helpful
  1. ChristyZhang-MSFT 26,126 Reputation points Microsoft External Staff
    2023-12-11T05:50:30.36+00:00

    Hi @Sarah Gould ,

    Welcome to our forum!

    Does this issue occur recently? If so, have you done any specific operations before that?

    In order to further confirm if the issue is related to the add-in itself, it's suggested that you could disable it to check if the issue persists.

    If the issue is related to the add-in itself, it's suggested that you could remove it and re-add it to check if there're any differences.

    And i notice that the issue disappeared temporarily after repairing Outlook, what the version of Outlook are you currently in? We recommend that you could uninstall the current Office and download and install the latest version to check whether the problem is resolved.

    If the issue persists, please kindly understand Outlook tag here mainly focus on general issues about Outlook desktop client, and we know little about the iManage add-in. It's suggested that you could refer to this article and check if you configured the add-in correctly: Configuring, adding, and uninstalling the iManage Work add-in for Microsoft Outlook. If it doesn't help, you can also contact the support of iManage for more professional suggestions.

    (Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

    Hope to help you!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.