cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Installation CR2011

Former Member
0 Kudos

I have a visual studio 2010 application that was developed and runs successfullly on the development machine. Reports work as expected on that machine. When installed on a brand new Windows 7 machine, with the runtime version correctly installed, the reports do not work. The message that I get states that I either have a problem with access privleges, although logged on as an administrator, or the runtime version is incorrectly installed. Have uninstalled and reinstalled the runtime several times, and it installs correctly and is visible under programs listing. Installed the full version of CR2011 and no benefit. What is the issue, and how how does it get corrected. Any help would be GREATLY appreciated!

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

I would start with giving the actual error message rather than just guessing at the wording. I suspect the issue is that you built your application as "any cpu" and then you installed the 32 bit runtime onto a 64 bit machine. This won't work. You need to specify which type of cpu you want to target, x86 or x64, and install the runtime for that cpu type.

former_member675966
Discoverer
0 Kudos

Hi Adam,

Could you please share the link to download 32bit & 64bit "CRRuntime_12_0_20.msi" version?

Or you can Wetransfer to my email address -> arunaperera9320@gmail.com

Thanks in advance!

Ranga.

Answers (2)

Answers (2)

Former Member
0 Kudos

After reading through all the replies, I started with the compiler options. Originally, the target CPU was x86 and switched to x64. Under the prerequisites, I switched from the client profile to the full .NET Framework 4.0 and switched the Windows installer from 3.1 to 4.5. I tried adding SAP Crystal Reports Runtime Engine for .Net Framework 4.0 as a prerequisite,but this seemed to make no difference. I am not sure which of these changes solved the issue - likely compiling to a 64 bit environment so it was lookingfor the 64 bit runtime, but all works at the present. Thank you for the help.

Former Member
0 Kudos

I have just finished a deployment for Crystal 2011.

In our installer I setup a prerequisite to launch the SAP Crystal Reports runtime engine for .NET Framework (32-bit) (CRRuntime_32bit_13_0_1.msi). If you require a 64-bit implementation then install the CRRuntime_64bit_13_0_1.msi. I also included a prerequisite for the .NET Framework 4.0 runtimes to be installed. You shouldn't need anything more then that.

I did have issues with just installing the SAP Crystal Reports, version for Visual Studio 2010 - Merge Modules. The reports wouldn't launch properly with just that installed.

Hope this helps.

former_member183750
Active Contributor
0 Kudos

Also, see [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343334333733303338%7D.do] for additional CR runtime dependencies.

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]

Former Member
0 Kudos

Hi CodeMonkey,

I am trying to do the same. would it be possible for you to share how to setup a prerequisite to launch the SAP Crystal Reports runtime ?

thanks

Former Member
0 Kudos

remowilson,

I am using InstallShield 12 to build our installation packages. The information below can be translatable to other installation designer applications.

Crystal 2010 Runtime Prerequisite

1. In the Tools menu, select Prerequisite Editor, the editor will open.

2. In the Files to Include tab, click Add.

3. Browse to and add the CRRuntime_32bit_13_0_1.msi runtime installer.

Note: Slightly different values may be required for the prerequisite if using the CRRuntime_64bit_13_0_1.msi installer.

4. On the Conditions tab, click Add.

5. Enter the following values for the condition:

- Type of condition to create: A registry entry has a certain value

- Registry key name: HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports

- Check the following registry location on a 64-bit machine: 32-bit

- Value name: CRRuntime32Version

- Value data: 13.0.1

- How do you want to compare data: Is not equal to

5. On the Application to Run tab:

- Select the msi you added in Step 3.

- Check the box for Requires Windows Installer engine and/or .NET Framework to be installed first.

6. On the Behaviour tab:

- Check the box for The prerequisite requires administrative privileges.

7. Save the prerequisite.

Note: The file name of the prerequisite is what InstallShield displays in the installer as being required before installation can continue. For this prerequisite I saved it as SAP Crystal Reports 13 runtime engine for .NET Framework 4 (32-bit).prq

After you have your prerequisite created, just include it in your installation.

Edited by: CodeMonkey on Aug 18, 2011 8:55 PM

Former Member
0 Kudos

thanks.

that's exactly what I was trying to do. but I am not using InstallShield. I tried the same thing in VS2010 with launch condition, but could not make it work.

I am wondering if anyone is successful to do this with VS2010 build.

former_member183750
Active Contributor
0 Kudos

Download the [SAP Crystal Reports .Net SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]. Search for 'deploy'. A fair bit of info there.

- Ludek