I ran into one problem with Crystal reports that I use to create a report for my orders in a WPF application.
My workstation configuration is a 64-bit version of Windows 7 (Ultimate), Visual Studio 2010.
I did not install any of the Crystal Report mechanisms, but I copied all the necessary DLLs into my project (created a folder and then referenced in my project).
But when I click the button (the button that generates the report), I get an exception in the report designer (different exceptions are thrown for the exception).
The main exception says
The type initializer for CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception.
When I delve into internal exceptions, I must know this.
"Failed to load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version = 13.0.2000.0, Culture = neutral, PublicKeyToken = 692fbea5521e1304' or one of its dependencies. The system cannot find the file indicated": ". CrystalDecisions.ReportAppServer.CommLayer, Version = 13.0.2000.0, Culture = Neutral, PublicKeyToken = 692fbea5521e1304 "
Here is a screenshot of my mistake,
I looked for it and found out that I need to install CR for Vstudio 2010, but if I install my development machine, how can I do the installer for deployment on a client machine, and I do not want to install CR on all machines (where I will deploy many of my customers).
I really need help resolving this issue, what can I do to solve this problem?
Any help is much appreciated.