IBM Support

System Exception: Access Violation error when generating report in ReporterPLUS

Troubleshooting


Problem

Attempts to generate an IBM Rational Rhapsody report in ReporterPLUS result in the error "System Exception: Access Violation".

Cause

This error can be caused when the .dll files used by ReporterPLUS are not registered correctly.
This can also be caused when different versions of .dll files are used by each release.

Diagnosing The Problem

Check to see if you have more than one version of Rational Rhapsody installed on the system.
If you have more than one version of Rational Rhapsody on your system, only one version of the .dll file can be registered with Microsoft Windows at a time.
If the version of Rational Rhapsody and ReporterPLUS and the version of the .dll files do not match, you can see the "Access violation" error.

Resolving The Problem

If the ReporterPLUS .dll files are not registered correctly or if an incompatible version is registered, you can register the libraries manually.

Instructions:

  1. Open the command prompt (Start > Run type cmd)
  2. Navigate (cd) to the <Rhapsody>\ReporterPLUS directory.
  3. List the file in the directory (dir).
    There are several files with the names doc*.dll. These handle the interface to the different types of report files that can be generated.
  4. Register each doc*.dll file individually using the regsvr32 command

    Note: You should also register the ReporterPLUS.dll file.

    Example: regsvr32 <dll file name>

    Note: You will see a dialog box with pass/fail for each one.

    Here is a list of the dll files you should register:

    regsvr32 ReporterDLL.dll
    regsvr32 dochtmlcom.dll
    regsvr32 docpptcom.dll
    regsvr32 docrtfcom.dll
    regsvr32 doctextcom.dll
    regsvr32 docwordcom.dll

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.2;7.3;7.4;7.4.0.1;7.5;7.5.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.5.3.2;7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2;8.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21389345