What is this error in Outlook plugin log?

Test pass however sidepanel shows otherwise~

Log error below:

2018-12-05 17:00:00,481 [VSTA_Main] ERROR Sugar.Outlook.Outlook - RDOSession can't be initialized
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.get_Session()
at Sugar.Outlook.Outlook.OpenRDOSession()

Does anybody knows how to solve this error?

Parents Reply Children
  • Need IT assistance on re-installing outlook. Will update if error is gone after re-installing.

    Thanks guys. Fast and great ^^

  • I had reinstalled outlook 2013 in windows 10. 

    The errors are still there.

    Logs for plug in version 2.5 below:

    2018-12-26 13:34:59,681 [VSTA_Main] ERROR Sugar.Outlook.Outlook - RDOSession can't be initialized
    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.get_Session()
    at Sugar.Outlook.Outlook.OpenRDOSession()
    2018-12-26 13:35:01,869 [VSTA_Main] ERROR Sugar.Outlook.Outlook - RDOSession can't be initialized
    System.Exception: RDOSession can't be initialized ---> 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.get_Session()
    at Sugar.Outlook.Outlook.OpenRDOSession()
    --- End of inner exception stack trace ---
    at Sugar.Outlook.Outlook.OpenRDOSession()
    at Sugar.Outlook.DTO.OutlookObjectBaseOOM.GetRDOObjectFromOOMObject(Object outlookObject)
    at Sugar.Outlook.DTO.OutlookObjectMail.GetRDOMail()
    at Sugar.Outlook.DTO.OutlookObjectMail.GetRDORecipients()
    at Sugar.Outlook.DTO.OutlookMailMessage.GetEmailAddresses()
    at SugarOutlook.UI.SidePanel.Model.Mail.SPMailObjectModel.<>c__DisplayClass23_0.<GetEmailAddressesAsync>b__0()
    at System.Threading.Tasks.Task`1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at SugarOutlook.UI.SidePanel.Model.Mail.SPMailObjectModel.<LoadEmailModels>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at SugarOutlook.UI.SidePanel.ViewModel.Mail.SPMailObjectViewModel.<LoadEmailsAsync>d__27.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at SugarOutlook.UI.SidePanel.ViewModel.SPOutlookObjectViewModel.HandleException(ExceptionDispatchInfo capturedException)
    2018-12-26 13:35:01,870 [VSTA_Main] ERROR Sugar.Outlook.Outlook - RDOSession can't be initialized
    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.get_Session()
    at Sugar.Outlook.Outlook.OpenRDOSession()

    Logs for plug in version 2.6.1 below:

    2018-12-26 13:40:20,645 [VSTA_Main] INFO SugarOutlook.SugarServiceController - Sugar Instance Version : 8.0.0 (ENT)
    2018-12-26 13:40:21,088 [VSTA_Main] ERROR SugarOutlook.UI.SidePanel.ViewModel.SPOutlookObjectViewModel - SidePanel data load error
    System.Exception: RDOSession can't be initialized ---> 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.get_Session()
    at Sugar.Outlook.Outlook.OpenRDOSession()
    --- End of inner exception stack trace ---
    at Sugar.Outlook.Outlook.OpenRDOSession()
    at Sugar.Outlook.DTO.OutlookObjectBaseOOM.GetRDOObjectFromOOMObject(Object outlookObject)
    at Sugar.Outlook.DTO.OutlookObjectMail.GetRDOMail()
    at Sugar.Outlook.DTO.OutlookObjectMail.GetRDORecipients()
    at Sugar.Outlook.DTO.OutlookMailMessage.GetRecipients()
    at Sugar.Outlook.DTO.OutlookMailMessage.GetEmailAddresses()
    at SugarOutlook.UI.SidePanel.Model.Mail.SPMailObjectModel.<>c__DisplayClass24_0.<GetEmailAddressesAsync>b__0()
    at System.Threading.Tasks.Task`1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at SugarOutlook.UI.SidePanel.Model.Mail.SPMailObjectModel.<LoadEmailModels>d__20.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at SugarOutlook.UI.SidePanel.ViewModel.Mail.SPMailObjectViewModel.<LoadEmailsAsync>d__27.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at SugarOutlook.UI.SidePanel.ViewModel.SPOutlookObjectViewModel.HandleException(ExceptionDispatchInfo capturedException)
    2018-12-26 13:40:21,089 [VSTA_Main] ERROR SugarOutlook.UI.SidePanel.ViewModel.SPOutlookObjectViewModel - SidePanel data load error
    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.get_Session()
    at Sugar.Outlook.Outlook.OpenRDOSession()