Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Core.IRibbonUI.'
I am getting the following error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Core.IRibbonUI.'
The OnePlaceMail Outlook add-in encountered an unexpected issue.
Error: Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoft.Office.Core.IRibbonUI'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000C03A7-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPEE_LIBNOTREGISTERED)).
Application: mscorlib
Method: IntPtr GetCOMIPFromRCW(System.Object, IntPtr, IntPtr ByRef, Boolean ByRef)
Stack Trace: at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Microsoft.Office.Core.IRibbonUI.InvalidateControl(String ControlID)
at FileToWSSOutlookAddIn.OPMOutlookRibbon.RebuildMoveAndCopyRecentLocations()
at FileToWSSOutlookAddIn.OPMOutlookRibbon.a(Object A0, EventArgs A1)
at Scinaptic.OnePlaceMail.API.Core.ConfigurationBase.a(Object A0, FileSystemEventArgs A1)
at System.IO.FileSystemWatcher.OnChanged(FileSystemEventArgs e)
at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
![](https://secure.gravatar.com/avatar/08de28e9f0961ce6eff4e1f1d598f868?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Mitch Piasecki commented
What was the fix? I'm having the same issue
-
Hi Stephen,
Thank you for your inquiry.
We have emailed you the solution.
Regards,
Zeeshan