Solved

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

Posted on 2013-06-20
4
6,891 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 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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