on 05-18-2011 4:06 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.