Mail Activities Error: QueryInterface Call On The COM Component For The Interface With IID ‘{00063001-0000-0000-C000-000000000046}’ Failed Interface Not Registered (Exception from HRESULT: 0x80040155).

Cannot use Outlook Mail Activities due to the following error: Message: 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).

Fix the TypeLib

  1. Navigate to HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}
  2. Delete the version keys (e.g. 9.5) for any version of Outlook that is not installed on the system, based on the Version Table Provided.
  • For example, if not using Outlook 2013 then remove the 9.5 entry. If not using Outlook 2010 then remove the the 9.4 entry.
    • DO NOT DELETE the entry for the version that was specified in the last step of the previous Fix The Interface section.

Ensure MSOUTL.LIB is Registered

  1. In the previous Fix The Typelib section, make sure that the registry key value ending with MSOUTL.OLB is pointing to a valid file location. The key location should be something like HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}\9.6\0\Win64
  2. Make sure that file is properly registered
    1. Download regtlibv12.exe to the computer
    2. Go the Windows Start Menu and type cmd
    3. In the search results, right-click cmd.exe and select Run as Administrator...
    4. Change directory to where you downloaded regtlibv12.exe, eg: cd %USERPROFILE%\Downloads
  3. Execute the following command, where is the value taken from step #iii:
  • regtlibv12.exe "".
For example:
  • regtlibv12.exe "C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB"
  1. Run Outlook .