Solved

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

Posted on 2013-06-20
4
6,748 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
  • 2
  • 2
4 Comments
 
LVL 100

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 100

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 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