Home >  User Guide - UPLINX Report Tool > Troubleshooting > Troubleshooting Word Report Issues > Word COM Issues

  Word COM Issues

 

 

 

 

Symptom

Word reports cannot be generated. When trying to generate a Word report, an error happens with the error message  "Interface not registered" as in the screenshot below. In the log file, the error will appear as

System.Runtime.InteropServices.COMException (0x80040155): Interface not registered (Exception from HRESULT: 0x80040155).

On the About tab of Report Tool, the Word version appears as "unknown'.

Verification

Please verify first that this is a Word integration issue by performing the following two tests:

1.) Check that the corect Word version is displayed in the About tab.

2.) Run a Test Word Report in Report Settings tab > Template Settings > Generate Test Report . Please see Step 3 - Verify VBA Macro Support in Microsoft Word.

3.) Check the log files as per section Logging and Tracing.

Explanation

The message indicates that the Microsoft Word installation is broken. The Word installation needs to be fixed. Windows COM registration is a windows mechanism to "bind" an application, in this case Word, to the operating system to be invoked by other applications. Report Tool does not directly invoke Word, it does this via COM and does not specify the word exe path to do so. This invocation is done via Windows COM interface and the error message indicates that this fails.

This can happen when downgrading to an earlier Microsoft Office/Word version or by installing multiple Microsoft Office/Word versions. Please google to read more about these issues. Please note that this is a generic software issue from Microsoft and cannot be remedied by fixing it from our product.

Solution

The following solutions are recommended:

1.) Repair or re-install Microsoft Word (strongly recommended).

2.) Search for the error message on the web. There are several solutions available.

Please note that this is a generic Microsoft Word issue in general, we cannot help to resolve these issues.

 

 

 

 

Copyright © 2024 UPLINX - Last updated 26 Feb 2024