Solved

Crystal Report 2011 Upgrade for a Visual Studio Application

Posted on 2013-02-01
9
510 Views
Last Modified: 2013-08-12
Hello

I am using Crystal Reports 2008 in my application coded in Visual Studio 2008 .NET. Currently I am trying to upgrade my project from Crystal Report 2008 to Crystal Reports 2011 and Keep Visual Studio 2008.
In my application I was using Crystal Report references
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.FramWork
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms


These are not finding in Crystal Reports 2011. So I can directly upgrade from 2008. Instead, i am unable to find which one to use.

Please help me on this regard.

Thanks
0
Comment
Question by:gopalv
[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
  • 3
  • 3
  • 2
9 Comments
 
LVL 6

Accepted Solution

by:
esolve earned 500 total points
ID: 38844099
Crystal reports is not included in visual studio anymore. This became SAP Crystal Reports. You can still download the installs for Visual Studio here and run it without any problems

http://scn.sap.com/docs/DOC-7824
http://scn.sap.com/community/crystal-reports-for-visual-studio
0
 

Author Comment

by:gopalv
ID: 38844117
Thanks for the quick response. Sorry, I was not clearer in my original post. I have a project that references the following dll's

CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.FramWork
CrystalDecisions.Enterprise.Infostore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms

I installed the full version of Crystal reprots 2011 and do not see these dll's as part of Crystal 2011.  I need some guidance on what I need to do to get my product to work with CR 2011 dll's. Thanks.
0
 
LVL 6

Expert Comment

by:esolve
ID: 38844138
Try this
 
Set your Framework to 4.0, not the client version. Also, set your platform to either X86 or X64, not Any.

".Net Framework 4 Client Profile" changed it to ".Net Framework 4"
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 100

Expert Comment

by:mlmcc
ID: 38845896
There is NO SDK for CR2011.  They say to use the CR2008 dlls that you already have installed.

You should be able to simply upgrade the reports to CR2011 and run the application

mlmcc
0
 

Author Comment

by:gopalv
ID: 38851099
Thank you all for your valuable comments.

As per your suggestions, I had tried many changes in my code and found some thing in my project.

When I changed my project to "x86" the Crystal Reports are working fine.
When I changed to AnyCPU/x64 I am getting this error
1. "An error has occurred while attempting to load the Crystal Reports runtime."
2. After message 1, getting this "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception"

Does this indicate that my project should be in x86 to make Crystal Reports Working.
Due to some constraints, I have to keep my project in x64 bit. How can I make Crystal Reports working in 64 bit project?

Thanks in advance
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38853579
Make sure you have added the 64-bit assemblies to the project and are referencing them through the code.

Since it works for x86 I can only assume you have added the x86 assemblies.

Have you updated your VS2008 Crystal to I believe it is SP5 or 6 which adds 64-bit?

mlmcc
0
 

Author Comment

by:gopalv
ID: 38854411
This was a communication mistake from my side.
I actually didn't try the entire project in 32 bit. I had created just a Crystal Report execution project which is running. But when I changed that sample project to 64 bit, it is not working.

I actually didn't do my live project code in 32 bit. It wont work with 32 bit platform.

Also, can you please tel me how to update / check the VS 2008 Crystal report Service pack version? In the about page of VS 2008, it is just showing Crystal Reports for 2008. No SP information.

My project is in a middle which I can't continue with out crystal report execution. Please help me.

Thanks
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39401033
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Report Export Font size 1 36
Datagridview column resizing 8 28
Adding Rows to Grid 4 33
CSS styling problem 3 28
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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