Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 30, 2010 04:13 AM by sujithchand
Member
2 Points
15 Posts
Nov 12, 2010 01:09 PM|LINK
Hi,
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
ReportDocument
reportDocument = new ReportDocument();
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Can anybody help me on this.
Thanks,
Vikas
Crystal Reports.NET Crystal Reporte Crystal report C# Crystal Report business objects Crystal reports IIS 7 Crystal Viewer crystal report visual studio crystal report c# visual studio 2008 Crystal Syntax Visual Studio 2010 CrystalReports
All-Star
53942 Points
8147 Posts
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.
Probably in
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,
Vikas Jaigude
4 Points
2 Posts
Nov 29, 2010 09:57 AM|LINK
Hi Jaigude..
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!
Thank you,
Sujith
Nov 30, 2010 04:13 AM|LINK
Hi all,
I have fixed the issues by installing CRRedist2008_x64.msi and CRRedist2005_X64.msi ..
Hope this information helps someone..
Regards,
jaigude
Member
2 Points
15 Posts
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an excepti...
Nov 12, 2010 01:09 PM|LINK
Hi,
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
ReportDocument
reportDocument = new ReportDocument();
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Can anybody help me on this.
Thanks,
Vikas
Crystal Reports.NET Crystal Reporte Crystal report C# Crystal Report business objects Crystal reports IIS 7 Crystal Viewer crystal report visual studio crystal report c# visual studio 2008 Crystal Syntax Visual Studio 2010 CrystalReports
sansan
All-Star
53942 Points
8147 Posts
Re: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exc...
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.
Probably in
jaigude
Member
2 Points
15 Posts
Re: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exc...
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,
Vikas Jaigude
sujithchand
Member
4 Points
2 Posts
Re: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exc...
Nov 29, 2010 09:57 AM|LINK
Hi Jaigude..
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!
Thank you,
Sujith
sujithchand
Member
4 Points
2 Posts
Re: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exc...
Nov 30, 2010 04:13 AM|LINK
Hi all,
I have fixed the issues by installing CRRedist2008_x64.msi and CRRedist2005_X64.msi ..
Hope this information helps someone..
Regards,
Sujith