Last post Nov 30, 2010 05:13 AM by sujithchand
Nov 12, 2010 02:09 PM|jaigude|LINK
I am using visual studio 2010 and crystal reports of version 11.5 on windows server 2008 64 bit OS.
I am gettign following error message on line
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Can anybody help me on this.
Crystal report C#
Crystal Report business objects
Crystal reports IIS 7
crystal report visual studio
crystal report c# visual studio 2008
Visual Studio 2010
Nov 13, 2010 04:59 AM|sansan|LINK
I don't see any issues with that line. That should create a new instance of ReportDocument. It seems like you have an error after that line.
ReportDocument reportDocument = new ReportDocument();reportDocument.Load(Server.MapPath("ReportName.rpt"));
Nov 14, 2010 01:51 PM|jaigude|LINK
thanks for your reply.
I am getting error for the same line
ReportDocument reportDocument = new ReportDocument();
and error is
"The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception."
Do you have any solution on this? as this is urgent issue for me.
Thnaks in advance,
Nov 29, 2010 10:57 AM|sujithchand|LINK
Hope you fixed it.. Can you please let mw know the solution for error.. I am also facing the similar issue and need to fix it asap!
Your help would be save my life!
Nov 30, 2010 05:13 AM|sujithchand|LINK
I have fixed the issues by installing CRRedist2008_x64.msi and CRRedist2005_X64.msi ..
Hope this information helps someone..