Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I developed a wpf application in which crystal reports are included.I have used Visual Studio 2008 for development.Everything works well on development machine which is 32-bit Windows XP.
My deployment machine is 64-bits Windows 8.When I install application in this deployment machine I get error which opening crystal reports.I have already installed CRRedist2008_x86.msi and CRRedist2008_x64.msi files.Still I get the same eror.
The error is:
"Type initializer for CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception."
Please help me solve this.
Posted
Comments
[no name] 22-Jul-13 14:34pm    
http://social.msdn.microsoft.com/Forums/en-US/f134b4a6-b40a-4064-8ca7-3f3058c20965/the-type-initializer-for-crystaldecisionscrystalreportsenginereportdocument-threw-an-exception
CHill60 22-Jul-13 18:05pm    
Good link - post as a solution!
Rachna0309 22-Jul-13 19:36pm    
I tried to install CRRedist2005_x86.msi in deployment machine but didnt work.
I dont find BootStrapper folder in either development machine or deployment machine as shown in
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi

Is this causing the problem?

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