cancel
Showing results for 
Search instead for 
Did you mean: 

VS2010 + CR for VS2010 - ClickOnce Deployment is resulting in an error.

Former Member
0 Kudos

When I deploy my application using ClickOnce I get the following error when trying to view a report.

This error did not exist when I compiled the same application using VS2008 and the older version of Crystal Reports. This is just since I upgraded the project to VS2010.

An Error has occurred while attempting to load the Crystal Reports runtime

Either the Crystal Reports Registry key permissions are insufficient or the crystal reports runtime is not installed correctly.

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime .

I'm installing the app as Administrator and tried this on many machines, Windows 7, Win XP, Windows 2003 and Windows 2008.

Any help is much appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

former_member208657
Active Contributor
0 Kudos

As Ludek mentioned in his response. The error occurs because you are running a 32 bit application against the 64 bit runtime, or vice versa. The most likely culprit is the compile as Any CPU option within Visual Studio. It causes real problems with our runtime because the app will run as 32 bit on some systems and 64 bit on others.

You should compile two versions of your app - one for 32 bit and the other for 64 bit. Then distribute the appropriate runtime files for those clients.

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

The click once for CRVS2010 is here:

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

...not sure if that is the file you downloaded(?).

MSI 32 bit is here:

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

MSI 64 bit bit is here:

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

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]