Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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. …
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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