Search code examples
vb6crystal-reports

Does Crystal Report Viewer need to be installed to view reports?


I'm re-installing an application on a users machine that uses Crystal Report after they had their machine refreshed.

After reinstalling the application it works fine. Only when trying to run the reports does the error occur.

"Run-time error '-2147206249 (80043ae3)';invalid TLV record."

I've looked into this error but cannot find a solution. I've noticed that they don't have a directory for Crystal Reports under the common files directory. But the dll's are in the system32 directory.

My question is, does the Crystal Report Viewer need to be installed before the reports will run? ie. a directory under common files with the dll's there.


Solution

  • If you've built Crystal into the application then no, you should not need to. However there are Crystal dll's, the main of which is crw32.dll, which need to be installed on the target machine.

    When you package your app it should include (and you should tick any prompts that indicate this) packaging up the third party (such as Crystal) install files, such as dll's. These then get installed when you install the main application.