Click here to Skip to main content
15,877,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I have installed Crystal report Version and VS 2012.

I have build and run a Windows application in develop machine.

Its working fine in developer machine. But its not running in client machine.

Its showing
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.BadImageFormatException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. An attempt was made to load a program with an incorrect format.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

In client machine I didnt install Crystal report runtime. Should I need to install in client machine?

any body help me,

Updated 11-Sep-16 20:33pm

Share this answer
Yes, you need to install appropriate run time (32/64 bit) on the client machines.
Share this answer
Manikandan MAC 23-Jun-14 10:27am    
Hi, that is a Windows 32 bit Stand-alone application and also I have added those dll in setup file.
Here after I need to install in client machine?
If yes, Could you please let me know the downloadable runtime link.
Just add crystal report prerequisite at the time when you creating Setup, then its automatically install
Share this answer
I got a solution from this site,[^]

Actually they are saying like it was bug a in Crystal Report. So they have released service pack 4.

I have installed "CRforVS_redist_install_32bit_13_0_4" on that client machine. It works. Unfortunately I was forgot that "I have already installed that service pack in my development machine". So its not showing corresponding error in my machine.

Thank you very much to all,
Share this answer

I have make one small desktop application in visual studio 2010 . In this i used one crystal report.
It is working properly in development side. But when i make its setup & install in client machine, it will close whole application.It means it stops whole process.

What can I do in this situation ?
Share this answer
Jochen Arndt 12-Sep-16 4:13am    
What can I do in this situation ?

Raise a new question rather than posting this as "Solution" to an old thread.
But be aware that you should provide more information to get valuable help.

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