?
Solved

Crystal Reports are not working with VS 2012 , 64bit machine

Posted on 2013-06-20
4
Medium Priority
?
7,035 Views
Last Modified: 2013-06-27
We have upgraded our asp.net application from .net framework 2.0 to 4.5. We are using Crystal reports(version is 10.2) for reporting.
My developement machine configuration is -
1) Windows 7 Professional with Service pack 1
2) 64 bit
3) .Net Framework 4.5(Visual studio 12)
4) Installed Crystal report runtime i.e  SAP Crystal Reports, developer version for Microsoft Visual Studio SP5 - MSI (64bit)
(Referred link is - http://scn.sap.com/docs/DOC-35074). Since the above runtime is for service pack 5 , we have downloaded crystal report runtime with service pack 1 from this site - http://scn.sap.com/docs/DOC-7824?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8.
5) IIS 7.5

but for some of the crystal reports we are getting error "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception".
Can you please go through it and let us know which Crystal Reports runtime redistributable package will go with VS 2012 64 bit machine.
Any help will be appreciated!!
0
Comment
Question by:vikasbapat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 39262538
CR 10.2 is the version that came with VS2003.  It is not compatible with 64-bit.

You will need to upgrade to VS2010 or 2012 and use the version of Crystal available for it.

mlmcc
0
 

Author Comment

by:vikasbapat
ID: 39265306
Hi, Thank you for your reply!!
Here, we are using VS 2012 (Framework 4.5) and so we have installed Crystal report runtime redistributable package 'CRforVS_redist_install_64bit_13_0_5' but it is not working.We are still etting error as,
 "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception".
 Is there any other Crystal report runtime version available for VS 2012 for 64 bit?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39265574
What version of Crystal is it using?

The runtime must match.

mlmcc
0
 

Author Closing Comment

by:vikasbapat
ID: 39280853
thanks
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question