Troubleshooting: Crystal reports
Validation errors
The following conditions will produce a validation error when creating a Crystal report output process:
- A required field has not been populated. The message will state which required field was not supplied.
- A parameter required for the template or query has not been supplied. The message will state which parameter was not supplied.
- The query assigned to the output process does not contain the business object driver object type as a source.
Printing errors
Problem: The error message "Could not open print engine" displays when trying to run a custom Crystal report from the iMIS Generate reports window.
Solution 1: Make sure the full version of Crystal is installed on your workstation. The error message may display if you are accessing the runtime dlls from the network instead of your workstation.
Solution 2: Check the printer setup.
- Make sure all printers are set up in Windows with the actual PORT listed in front of the printer path. For example, LPT1:\\SERVERNAME\\PRINTER instead of \\SERVERNAME\\PRINTER. It is better to capture the printer port as shown in the following steps instead of manually entering the port in front of the printer path.
- Double-check your printer setup. From the Windows Taskbar, select Start > Settings > Printers. Right click on the printer, select Properties, and select the Details tab.
- Click Capture Printer Port. The first available port displays. Enter the path to the printer you wish to use, and select OK.
- After the port has been selected, the Details tab displays. Select the Print to the following port drop-down menu, and select the new destination that was set up on the previous screen.
- Also, some print drivers will cause this error. It usually is caused unexpectedly when you install new software. When this occurs, reinstall the original print drivers.
- Also, note the following for general printing issues:
- The TEMP environment variable listed in your autoexec.bat file may be pointing to an invalid location. Check to make sure this variable is valid.
- There may be no free space available on the local drive. Check to make sure you have at least a few megabytes available.
- The TEMP environment variable may be pointing to a valid directory, but the directory may be filled. Check to see if the temporary directory is full. If so, delete unwanted files.
iMIS requires temporary storage on the local hard drive when sending reports to the screen. If you are unable to print reports to the screen, review the following: