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.
- 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: