Outlook 365 Security Manager Error

Add-in Express™ Support Service
That's what is more important than anything else

Outlook 365 Security Manager Error
 
Garry Lowther




Posts: 54
Joined: 2009-02-22
I upgraded to Outlook Security Manager yesterday, and whilst this works fine for Outlook 2016, it throws the following error when using Outlook for Microsoft 365 MSO (16.0.12127.21210) 32-bit on Windows 10
Product ID: 00201-11639-39362-AA595

SecurityManager = New AddinExpress.Outlook.SecurityManager... 2. .ConnectTo(oApp)... System.ArgumentException: Value does not fall within the expected range. at AddinExpress.Outlook.IOutlookSecurityManager2.Connect(Object vTarget) at AddinExpress.Outlook.SecurityManager.ConnectTo(Object outlookApp) at TriSys_Business_Forms.COutlook.SendEMail(Boolean bShowDialogue)
28/03/21 20:55:09 ERROR 3: bEmail=True oMsg = oApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem)... 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: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) at Microsoft.Office.Interop.Outlook.ApplicationClass.CreateItem(OlItemType ItemType) at TriSys_Business_Forms.COutlook.SendEMail(Boolean bShowDialogue)

Can you please confirm that AddinExpress.Outlook.SecurityManager supports Outlook for Microsoft 365, and why this is not working?
Posted 29 Mar, 2021 02:04:52 Top
Garry Lowther




Posts: 54
Joined: 2009-02-22
So I used Windows 10 to REPAIR Office 365 and this fixed the problem.
Sorry to have wasted your time.

Kind Regards, Garry.
Posted 29 Mar, 2021 02:52:22 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Garry,

This isn't a waste of time! Thank you for posting both problem description and resolution. I believe this will help someone this day or other.


Andrei Smolin
Add-in Express Team Leader
Posted 29 Mar, 2021 03:32:05 Top