Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 30, 2010 04:13 AM by sujithchand
Nov 12, 2010 01:09 PM|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 03:59 AM|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 12:51 PM|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 09:57 AM|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 04:13 AM|LINK
I have fixed the issues by installing CRRedist2008_x64.msi and CRRedist2005_X64.msi ..
Hope this information helps someone..