Link to home
Start Free TrialLog in
Avatar of Harproy
Harproy

asked on

Urgent!!! Crystal Reports 10 distributed runtime gives Invalid TLV Record

Hi, someone please help me before I put a hammer thru my monitor!  Here's the scenario:

VB6 App (SP6)
CR10 Developer w/ all latest hotfixes & service packs
Installshield X w/ latest updates (Including latest Crystal 10 RDC merge modules)
Development Machine:  W2K Pro w/ SP4

VB6 app has the following:

Controls: Crystal ActiveX Viewer Library 10 (crviewer.dll)
Designers: Crystal Reports 10 (craxdui.dll)
References:Crystal ActiveX Viewer Library 10 (crviewer.dll), Crystal ActiveX Designer Run Time Library 10 (craxdrt.dll), & Crystal ActiveX Designer Design and Run Time Library 10 (craxddrt.dll)

App has one form that opens the report viewer w/ the following code:

Dim Report As New CrystalReport1

Private Sub Form_Load()
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault

End Sub

This opens the report viewer w/ no report selected.  This works great on the development machine.  HOWEVER, when I package it w/ InstallshieldX & deploy, I get the infamous "Invalid TLV Record" error & the app closes.  

I have checked all the DLL files and whatnot on the target machines, and all seems fine.  Please help, this is extremely urgent!!!  I really don't know what else to do at this point!  Crystal...er Business Decisions has been absolutely no help.  All they say is that the report is corrupt...which I don't understand...because there IS no report!!!

Thank you all for your guidence...I'll be indebted to whomever can solve this problem for life!

Harproy

Avatar of Harproy
Harproy

ASKER

By the way...there's a 100 point bonus for the first person that can tell me what the !@#$% a TLV record is!
Avatar of Harproy

ASKER

Thanks Spykair, but I've already read those...neither is the culprit.
What is the OS of the user machine ?

Have you tried the same install on a 2nd machine ?

Gary
Avatar of Harproy

ASKER

Have tried on 2 seperate target machines...one w/ W2KPro  & one w/ XPPro
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Harproy

ASKER

mlmcc,

This didn't actually solve the problem, however it did lead me down the path of getting it solved, so I'm awarding you the points.  Once I started poking around the DLL files on my development machine, a lot of the version #'s didn't jive.  I then realized that there were some DLLs from CRv9 on there that were sneaking into my installer package.  Took the simple way out & turned one of my test machines into the dev. machine.  Did clean installs of everything (VB6, CR10, & InstallshieldX) then ran all the SPs & hot fixes on all.  Copied the VB project, re-packaged & voila!  Everything works.  Now I can sleep...lol.

Thanks again for helping me out of this mess!  MUCH appreciated!

Harproy
Excellent solution.

Glad i could help

mlmcc