HOWTO:Solve the "Invalid TLV Record" error in running Crystal Report
Introduction
When attempting to run a crystal report and the error "Invalid TLV Record" is displayed, follow the steps below to overcome this error message.
Steps
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.Another associated error message (due to copy paste mismatch) will be "Dos error".
Examples
lan Dim Appl As New CRAXDRT.Application
Dim Re As New CRAXDRT.Report
Private Sub Form_Load()
Set Re = Appl.OpenReport("D:\nitin\Report1.rpt", 1)
CRViewer91.ReportSource = Re
CRViewer91.ViewReport