Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i finished my app from 2 days and there was a problem on the client pc with the crystal report i leave the app 2 days and return back to fix the problem on the client pc when i open the app on my pc on vs and test it and try to make a report i got that error

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

this error happen in this part public CrystalReport1() {

}
this problem happen in any report
Posted

You must install the CrystalReport viewer in this PC, and you must use the correct version.
 
Share this answer
 
Comments
ÃHmed Élkady 24-Aug-15 9:30am    
it was working from about 2 days i didn,t change something
ÃHmed Élkady 24-Aug-15 9:39am    
i solve it ty :)
how to find the version and where to download that one?
 
Share this answer
 
Comments
Richard Deeming 26-Feb-18 12:00pm    
If you want to ask a question, then ASK A QUESTION[^]. DO NOT post your question as a "solution" to someone else's question.

But be warned, you're going to need to provide a lot more detail than you have here.

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