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:
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)?
User contributions licensed under CC BY-SA 3.0