Invalid TLV record - CR10/VB6
Jeg har et projekt hvor der indgår rapporter genereret med CR10. Det virker fint på maskinen jeg koder på, men jeg kan ikke udskrive rapporterne på den maskine jeg efterfølgende installerer mit projekt på. Så kommer fejlbeskeden "Invalid TLV record".Jeg har set rundt på nettet og jeg er åbenbart ikke den eneste. Problemet er at den eneste hjælp jeg kan finde, er til CR9.
Det ser umidelbart ud som om, at jeg har alle dll'er med.
Løsningen med CR9 skulle være denne her:
The "Invalid TLV Record" error message may appear for the following reasons:
· There are missing runtime files on the client computer. Check the Developer Runtime Help file (Runtime.chm) installed with Crystal Reports for a list of required runtime files.
· 'UFManager.dll' is not distributed to the client computer. Ensure that it is located in the "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" folder.
· Crqe.dll is not registered on the client computer. On the taskbar, click the 'Start' button, and then click 'Run'. In the 'Open' text box, type 'regsvr32 <path to crqe.dll>'. For example,
regsvr32 "c:\program files\common files\crystal decisions\2.0\bin\crqe.dll"
· The report file has become corrupted. For more information, refer to knowledge base article c2005670.
· The client computer does not have the 'CommonFiles' registry subkey. To create this registry subkey, follow these steps:
====================
WARNING:
Using the Registry Editor can cause serious
problems that may require reinstalling the
operating system. Crystal Decisions is not
responsible for any problems resulting from using
the Windows Registry Editor. Use the Registry
Editor at your own risk. It is recommended that
you back up the registry before you edit it.
====================
1. On the taskbar, click the 'Start' button, and then click 'Run'.
2. Type 'Regedit' in the 'Open' combo-box, and then click 'OK'.
3. Expand the registry key:
\HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\9.0\Crystal Reports
4. Right-click the 'Crystal Reports' folder, select 'New' | 'String Value', and name the new key 'CommonFiles'.
5. Right-click the 'CommonFiles' subkey, select 'Modify', and type the following value in the 'Value data' text box:
"C:\Program Files\Common Files\Crystal Decisions\2.0\bin\"
Jeg har tjekket at de nævnte dll'er er med. Hvis jeg kører regsvr32 på crqe.dll får jeg fejlmeddelelsen:
Loadlibrary("crqe.dll") mislykkedes - Det angivne modul blev ikke fundet.
I maskinens regbase er der allerede CommonFiles i Crystal reports folderen.
Så ja... Jeg er lidt på bar bund nu...
