IBM Support

Runtime Error when using DiffMerge's Export Report function

Troubleshooting


Problem

Runtime Error when using DiffMerge's Export Report function

Symptom

The error shown below can occur when the user selects the Tools Menu > Export Report > RTF/CSV function.

Cause

Incorrectly registered COM DLL

Resolving The Problem

To resolve the issue, please use the following bullets to determine the appropriate course of action for your specific behavior.
  • Is ReporterPLUS working by itself?
  • Since DiffMerge uses the ReporterPLUS add-on to generate its RTF reports, the first thing is to check that ReporterPLUS is working correctly. We can do this by running ReporterPLUS independently and trying to generate a report. If this is successful then we can move onto the next test.
  • Are the ReporterPLUS DLLs registered correctly?
  • DiffMerge integrates with ReporterPLUS using a series of COM DLLs, so we need to make sure that they are registered properly and that they match the currently used version of Rhapsody/DiffMerge.
    Check the version of Rhapsody/DiffMerge and go to the location of this installation. Open the ReporterPLUS installation folder and register (using regsvr32.exe) the following DLLs:

    dochtmlcom.dll
    docpptcom.dll
    docrtfcom.dll
    doctextcom.dll
    docwordcom.dll
    ReporterDLL.dll
  • Is the DiffMerge COM DLL registered correctly?
  • This is registered automatically when DiffMerge is first started. However, permission issues may prevent this from happening (such as a locked down registry). If all the above tests have been successful then try logging in as Administrator and then starting DiffMerge. Doing this just once as Administrator should correctly register the COM DLL and then allow normal users to generate reports from DiffMerge.

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000CjZKAA0","label":"Rhapsody->Tools->DiffMerge"},{"code":"a8m50000000CjZKAA0","label":"Rhapsody->Tools->DiffMerge"},{"code":"a8m50000000CjZKAA0","label":"Rhapsody->Tools->DiffMerge"}],"ARM Case Number":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
01 August 2022

UID

swg21392685