Solved

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

Posted on 2013-06-20
4
6,963 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 500 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

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

617 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