Skip to content

Unable to interact with recent versions of Outlook (Microsoft 365) #4

Description

@jason1365

No longer syncing (cannot "delete all synced items" either) with: Microsoft® Outlook® for Microsoft 365 MSO (Version 2502 Build 16.0.18526.20546) 64-bit

Error Syncing:
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: Interface not registered (Exception from HRESULT: 0x80040155).
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   at Microsoft.Office.Interop.Outlook.ApplicationClass.GetNamespace(String Type)
   at OutlookCalendarSync.OutlookHelper.<>c__DisplayClass1_0.<GetFolder>b__0()
   at OutlookCalendarSync.OutlookHelper.RetryInteropAction(Func`1 action)
   at OutlookCalendarSync.OutlookHelper.GetFolder(OutlookCalendar calendar)
   at OutlookCalendarSync.OutlookCalendar.GetAppointmentItemsInRange(DateTime syncDateTime)
   at OutlookCalendarSync.MainForm.SyncWorker_DoWork(Object sender, DoWorkEventArgs e)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions