Solved

How do I know which version of crystal .net runtime files to include when distributing an application?

Posted on 2014-07-31
3
619 Views
Last Modified: 2014-08-01
Recently I compiled a visual basic .net app in visual studio 2005. It required crystal dlls of Version 11.5.3700.0. (I found these dlls to add as a reference to the project in \program files\common\3.5\managed\dotnet on my machine). Though I had the same version of crystal (CR XI R2A) installed on the target machine, it didn't work, because the only dlls available on that machine were 10.x.x.x, for some reason.

Fortunately I found what I needed on this link: http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2011/06/07/where-did-all-the-crystal-reports-xi-r1-and-r2-fixes-go and ran
crystalreports11_5_net_2005.msi on the target machine, which put the proper dll version in the Gac. (C:\windows\assembly), as well as creating a 'managed' folder on the target machine.

Before putting on the net_2005.msi, I had installed the wrong version - crredistx86.msi -- on the target machine. So my question is, in the future, how can I match up the .net runtime packages I need with the version of crystal .dll's required by a .net program? I could not find any documentation at all on this, except a little on the link I posted.
0
Comment
Question by:OutOnALimbAlways
3 Comments
 
LVL 22

Accepted Solution

by:
Ido Millet earned 350 total points
ID: 40231482
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 150 total points
ID: 40231567
To add to the link provided by Ido, the version you need to install depends on the version used to compile the runtime.

The version used in the application should match the version and SP level you are developing the reports with.  This is particularly true for reports developed in the standalone versions.

SAP/Crystal dropped the SDK with CR 2011.  SO to use CR2011 or CR2013 reports you need to develop the application in VS and use the CR for VS .Net that is available from SAP/Crystal.  Again you have to pay attention to the SP level.  I believe SP9 is required for CR2013.

mlmcc
0
 

Author Closing Comment

by:OutOnALimbAlways
ID: 40234176
Perfect. Thanks!
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

790 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