Vyskol
Vyskol

Reputation: 298

Crystal Reports 2005 in Visual Studio 2010

I have a couple of Crystal Reports that were developed in Visual Studio 2005, but I am now using Visual Studio 2010. The application is still referencing the 10.2.3600.0 DLLs and I have no desire to update those references. We are phasing away from Crystal and don't want to deal with migrating to a newer version.

I did install the latest version and support pack of "SAP Crystal Reports, developer version for Microsoft Visual Studio" from http://scn.sap.com/docs/DOC-7824 and am able to open and edit the reports as required.

However, when I try to run the application, I get the following error:

{"Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.":"CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"}

I did some searching around and it seems I need the 2005 DLLs registered in the GAC? Does this sound correct? Will it not work with the redistributables installed by v13? The referenced 2005 DLLs are all in another folder and properly referenced by my project so I would think the application should work with those.

What is the minimum I need to install in order to be able to work with the reports in Visual Studio 2010, and to actually run these old 2005 reports in the application?

Upvotes: 0

Views: 4137

Answers (2)

Vyskol
Vyskol

Reputation: 298

Modifying the reports requires the Visual Studio integration Install Executable to be run. The latest version can be found at http://scn.sap.com/docs/DOC-7824.

Displaying or printing the reports within the application requires the correct runtime distribution files. I cannot find an "official" source for the 2005 redistributables, but there seem to be a number of sites that offer it for download. Just search for it.

Upvotes: 0

J R B
J R B

Reputation: 2136

You have to install CRforVS_redist_install_32bit for 32 bit machine and CRforVS_redist_install_86bit for 64 bit machine. these will register all necessary DLLs.

below is the link of the same.

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip

Upvotes: -1

Related Questions