IBM Support

System Exception: Access Violation error when generating report in ReporterPLUS

Technote (troubleshooting)


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


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.


  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

Document information

More support for: Rational Rhapsody
General Information

Software version: 7.2, 7.3, 7.4,, 7.5,, 7.5.1,, 7.5.2,, 7.5.3,,, 7.6,, 7.6.1,,, 8.0

Operating system(s): Windows

Reference #: 1389345

Modified date: 17 October 2012

Translate this page: