Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP

Qlik NPrinting can't find a supported template editor for the file the object reference is not defined as an instance of an object

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Qlik NPrinting can't find a supported template editor for the file the object reference is not defined as an instance of an object

Last Update:

Mar 16, 2021 7:22:51 AM

Updated By:

Sonja_Bauernfeind

Created date:

May 16, 2018 6:52:25 AM

The following error is displayed when opening an office template with Qlik NPrinting Designer:

Qlik NPrinting can't find a supported template editor for the file
C:\PATH OF FILE\
The object reference is not defined as an instance of an object

 

Environment

 

Resolution:

 

Before we begin with the solution, please back up your registry: How to back up and restore Windows registry

 

Solution Step 1:

  1. Open the Windows Registry: From the Start menu, type regedit.exe in the search box, and then press Enter
  2. Verify if the following files exist and note the path if different:

    MSWORD.OLB
    EXCEL.EXE
    MSPPT.OLB

    Default Folders:

    C:\Program Files\Microsoft Office\Root\Office16\MSWORD.OLB
    C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
    C:\Program Files\Microsoft Office\Root\Office16\MSPPT.OLB

  3. Verify the following keys. Correct the path if needed:

    Computer\HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.7\0\Win64

    C:\Program Files\Microsoft Office\Root\Office16\MSWORD.OLB

    Computer\HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win64

    C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE

    Computer\HKEY_CLASSES_ROOT\TypeLib\{91493440-5A91-11CF-8700-00AA0060263B}\2.c\0\Win64

    C:\Program Files\Microsoft Office\Root\Office16\MSPPT.OLB

  4. Verify if there is a Win32 versions of the same key and delete the Win32 folder if there is

    Example:
    Computer\HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.7\0\Win32

  5. Afterwards, reboot the machine.

 

Solution Step 1:

If the issue persists, continue with the next steps. The initial instructions help to correct keys that are saved in the registry key in the HKEY_CLASSES_ROOT folder. However, in some cases, this is not sufficient. It may happen that Office keys have been created in the HKEY_CURRENT_USER folder. They are always incorrect and must be removed.

  1. Open the Windows Registry: From the Start menu, type regedit.exe in the search box, and then press Enter
  2. Open the HKEY_CURRENT_USER folder and search for all the possible Office extensions: .xls, .xlsx, .xlsm, .xlsv, .doc, .docx, etc.
  3. All the folders named as an Office extension must be deleted.

 

Related Content:

Qlik NPrinting can't find supported reporting template editor 
NPrinting Designer : Unable to edit Excel report with Windows 10 - NPrinting cannot find a supported...

 

 

Cause:


Incorrect registration of the Microsoft Office registry keys. This may happen after incorrect installation or upgrade of Microsoft Office. 

Labels (2)
Comments
Felix
Partner - Contributor II
Partner - Contributor II

Thanks, that works for Excel.

But not for PowerPoint and Word. Any other suggestion?

Contributors
Version history
Last update:
‎2021-03-16 07:22 AM
Updated by: