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:
- Open the command prompt (Start > Run type cmd)
- Navigate (cd) to the <Rhapsody>\ReporterPLUS directory.
- 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. - 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 Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21389345