Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have made a setup project with all assemblies perfectly for C#-windows application. But, when I have setup that project in client pc it's throw exception when I am trying to show report.

The Exception is: the type initializer for 'crystaldecisions.crystalreports.engine.reportdocument' threw an exception
I am using VS-2010 64bit.
And Crystal Report 2010.

Now please tell me how can I enable to show report ? I have add assemblies in my setup projects as follows:
1. CrystalDecisions.CrystalReports.Engine.dll
2. CrystalDecisions.Data.AdoDotNetInterop.dll
3. CrystalDecisions.ReportSource.dll
4. CrystalDecisions.Shared.dll
5. CrystalDecisions.Windows.Forms.dll

Thank you.
Posted
Updated 23-Feb-18 23:44pm
v2
Comments
Kschuler 21-Apr-14 15:42pm    
Are you just including the DLLs in your setup? Or are you installing the run time? You may want to check this out: http://wiki.scn.sap.com/wiki/display/BOBJ/Deploying+Crystal+Reports+for+Visual+Studio+2010+Runtime

1 solution

install CRforVS_redist_install_64bit_13_0_5
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900