VS2015 - Microsoft Office PIA - AxInterop.Microsoft.Office.Interop.OutlookViewCtl COM Exception with Windows 10 1903 PRO

0

We are using the Microsoft Office PIA for an application that integrates with Exchange Server 2010 SP3.

On the client PCs we are specifically using the AxInterop.Microsoft.Office.Interop.OutlookViewCtl.dll (v14) on a win forms project with Office Pro Plus 2016 installed

Some of our users have different versions of Windows 10 isntalled and we have found that some versions cause our application to throw a COM exception.

The combinations that work / don't work are:

  • Windows 10 1809 PRO the application works
  • Windows 10 1809 PRO upgraded to 1903 ENT the application works
  • Windows 10 1903 PRO the application does not work

The exception occurs on the first call to set the AxMicrosoft.Office.Interop.OutlookViewCtl.AxViewCtl.Folder property.

The exception is: "Failed To Load Mailbox" COM exception (0x80020009)

The folder property is being set to:

String.Format($@"\\Public Folders - {Environment.UserName}@company.name.com\All Public Folders\CRM\Email\{PublicFolderPath}")

We have tried building with v15 and v14 of the interop dll with no success.

We are trying to undersatnd why the interop does not work on an upgrade of 1809 PRO to 1903 PRO and yet does work on 1903 ENT.

Has anyone else encountered this and managed to find a solution to getting the interop to work across both versions (1809 PRO and 1903 PRO)?

visual-studio-2015
activex
outlook-addin
office-interop
exchange-server-2010
asked on Stack Overflow Jan 28, 2020 by Kevin Knight

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0