Uniprint: Pharos Reports - Crystal Reports error while trying to run reports - failure with CRPE32.dll
  • 25 Jun 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Uniprint: Pharos Reports - Crystal Reports error while trying to run reports - failure with CRPE32.dll

  • Dark
    Light
  • PDF

Article summary

Problem:

When trying to run a report using the Pharos Reports application an error is produced that the report cannot be produced as it failed to obtain Version Information from CRPE32.DLL.

Text of the error in the dialog window that comes up is:

The Report 'x.rpt' could not be viewed. Error:104 Failed to obtain Version Information from CRPE32.DLL - GetCrpeVersion <GetVersionInfo> Windows Error Number: 2 - The system cannot find the file specified. 

The dialog will look similar to the below error.


Information:

The error is produced because Crystal Reports failed to install when Pharos Reports was installed. We utilize the "/quiet" switch when our application kicks off the Crystal Reports MSI called "CrystalReports11_NET_EmbeddedInstall.msi". As we do not control the Crystal Reports Installer there is a limit as to what we can do. However here is the command line that is used to initiate the install. This can be run from a command line after running the Pharos Reports installer.

The next step is to run the MSI by itself and add a logging switch to obtain more information from the MSI. The MSI that we use can be found on the Uniprint CD in the directory ".\9.0.8959.30-86883 Uniprint 9.0 R2\common\win32\CrystalReports11". This part of the path is the same on all Uniprint ISO images "common\win32\CrystalReports11".

Open an Administrative command prompt, navigate to the directory you copied the Crystal Reports MSI to and use the below command to run it and have it produce a log file that can be review.

MSIEXEC /i CrystalReports11_NET_EmbeddedInstall.msi /l*v logfile.txt /qb

*In some cases where we have seen this problem the Crystal Reports installer is trying to install to the C: drive and there is not enough space to install it. Often it is a problem trying to register several of the Crystal Reports DLL's. The log file can be searched for the word "Error" and should take you to a point of failure.


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.