OutlookGoogleCalendarSync: COM Exception 64-bit Outlook [0x80040155 Interface not registered]

Issue forked from Issue #90

Same error here with Outlook 2016 on Windows 10 (1703), Exchange 2016. Outlook Google Calendar Sync.zip

2017-05-26 09:37:16,818 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - System.InvalidCastException: Impossible d'effectuer un cast d'un objet COM de type 'Microsoft.Office.Interop.Outlook.ApplicationClass' en type d'interface 'Microsoft.Office.Interop.Outlook._Application'. Cette opération a échoué, car l'appel QueryInterface sur le composant COM pour l'interface avec l'IID '{00063001-0000-0000-C000-000000000046}' a échoué en raison de l'erreur suivante : Interface non enregistrée (Exception de HRESULT : 0x80040155).


Possible fixes to try [updated 17 Jul]:

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 30 (13 by maintainers)

Most upvoted comments

Voilà! The reglibv12.exe finally worked! Specifically:

  • I downloaded the reglibv12.exe file from the link you gave me and placed it into the “C:\Windows\Microsoft.NET\Framework64\v4.0.30319” folder.

  • I executed the command: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\regtlibv12.exe "C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB"

  • (Actually I initially got an error message, until I executed cmd.exe in admin mode by pressing shift then right-clicking on the Window menu in the bottom left corner.)

  • With successful execution of reglibv12.exe from cmd.exe in admin mode, OCGS finally works.

(On a side note, to respond to one of your questions, I searched my registry, and the only reference to msoutl.olb is HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\TypeLib{00062FFF-0000-0000-C000-000000000046}\9.6\0\Win64, which has “C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB” as its default value; this is the valid location of the only msoutl.olb in my system.)

Thanks again for your help!