OpenEdge "Invalid TLV record" running a Crystal Reports

« Go Back


Article Number000032003
EnvironmentProduct: OpenEdge
Version: 10.x
OS: Windows
Other: Crystal Reports XI
Question/Problem Description
Running a program to generate a Crystal Report on the AppServer hangs and session has to be cancelled. 
Steps to Reproduce
Clarifying Information
Crystal Reports on the AppServer hangs
crApplication:OpenReport(<document>) method generates error
AppServer status is SENDING
Error Message"Invalid TLV record"
Defect/Enhancement Number

This is a problem with configuration and run time files for Crystal Reports.  The error could be generated for several reasons: 

1. There are missing runtime files on the client computer. 

2. The report does not match the installed version of Crystal Reports.  (Inconsistent minor versions between reports and installed version of Crystal Reports.)

3. The definition and directory permissions where the report is stored. 

4. Crystal Reports registers and needs some  DLL's to run. Sometimes these dll's are already installed and are loaded instead of the correct version. The following run time dll's are used by Crystal Reports : 

Crqe.dll (Crystal Reports Query Engine. It has be registered in the system) 
Ufmanager.dll (Manager for loading focus units) 
Craxdrt.dll (Crystal Reports ActiveX Designer Runtime 11) 
Crviewer.dll (Crystal Reports viewer. This DLL is only needed if the application previews the report) 

5. The report  might be corrupted and needs to be checked against the database from the designer. 

6. The client computer does not have the 'CommonFiles' registry subkey.


1. Ensure the crystal report versions match. (i.e., the version in which the report has been created has to match the version at the client's workstation.)

2. If the versions are the same and you still get the error, it could be due to a "copy paste mismatch". Try copying the .rpt file in a different location and then running it.

3. This error comes up more in the case of custom reports and due to file type / path mismatch. Try pasting the file through a .zip / .rar format and then unzip it to the desired location.

4. Check for the presence of important dll files in the client computer. 

5. Verify all dependencies of craxdrt.dll have been installed and registered. (Use dependency walker and/or .dep file)

6. If files are in a network drive, move them to a local file and test again. This could be permissions on the network drive.

7. Checked  Report against the database again using Crystal Reports designer

Last Modified Date2/27/2018 4:43 PM

The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.

Was this article helpful?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025