CreateMenusAndToolBars Ex: Error HRESULT E_FAIL has been returned from a call to a COM component. Line = 22


Version: R70.2

Article ID: PT000009

CreateMenusAndToolBars Ex: Error HRESULT E_FAIL has been returned from a call to a COM component. Line = 22main image

Description

When trying to launch a Microsoft Office application where PaperVision Tools is installed the following error message is displayed: CreateMenusAndToolBars Ex: Error HRESULT E_FAIL has been returned from a call to a COM component. Line = 22.

Summary

This usually will indicate that there was an issue with the installation of Tools.  In most cases it will occur when the installation was done with either insufficient permissions or with an antivirus application running that prevented the application from installing correctly.

The following steps should resolve the issue:

  1. Remove PaperVision Tools from Add/Remove Programs.
  2. Restart the computer.
  3. Ensure that the user performing the installation is logged in using a local administrator account.
  4. Disable all antivirus/anti-malware applications.
  5. Reinstall PaperVision Tools.
  6. Re-enable antivirus/anti-malware applications.
  7. Launch the Microsoft Office application that originally produced the error to ensure that the error is resolved, and Tools is available.