Dear Friends,
I have developed C# application using visual studio 2008, it has the option to generate few reports using crystal report function with MySQL database connectivity. I have tried every methods to run the application in client machine. But getting following two type of errors:
(Please be noted that, application is working very well, the problem is occur while generate the CrystalReport)
1. Once add all the dll files to the application path:
the type initializer for 'crystaldecisions.crystalreports.engine.reportdocument' threw an exception
2. Without add the dll files to the application path:
"Could not load file or assembly "CrystalDecisions.Windows.Forms, Version=10.5.3700, Culture-neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."
My application .net version is 3.5.
I installed following three setup files in client machine, but still same error.
Crystal Reports .NET 2.0.Redistributable
CRforVS_redist_install_32bit_13_0_2
CRforVS_redist_install_32bit_13_0_5
Please help me to get rid of this error.
Thanks!