Skip to Content
0

Error Code when installing Crystal

May 22, 2017 at 11:00 PM

64

avatar image

During installation, I keep getting the following error: 'Failed to update cache for execution. Program will exit.'

How can I get past this issue?

Thank you.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Kevin Allen May 23, 2017 at 12:26 AM
0

Hi Jody,

See SAP note 186830. Make sure you have disabled the Antivirus as well.

Thanks,

Kevin

Share
10 |10000 characters needed characters left characters exceeded
Jillian Isenberg
May 23, 2017 at 06:30 PM
0

Thanks Kevin!

Since the link that you provided is only accessible to users with a maintenance contract, I've copied and pasted the body of the linked Knowledge Base Article below so that Crystal Reports customers who are using this community as their source of technical support can access this information.

______________

Symptom

  • Error occurs when installing Crystal Reports.
  • During Crystal Reports installation it fails with the error:

    "Failed to update cache for execution. Program will exit."

Environment

  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. Start installing SAP Crystal Reports 2011 SP06
  2. It stops at 'Caching Deployment Units' step, and output the error:

    'Failed to update cache for execution. Program will exit'

Install-error.png

Cause

  • Caching blocked by an Anti-Virus software scan.

Resolution

  • To successfully install Crystal Reports, perform one of the following:
    • Disable the AntiVirus software; or
    • Manually copy the files Crystal Reports uses for the installation.
  • To Manually copy the files Crystal Reports uses for the installation:
  1. Note the Deployment Unit file name from the screenshot above - "tp.microsoft.wse.runtime-3.0-core-32, 14.0.0.760"
  2. Locate the folder with the same name in Crystal Reports installation package - <CR Installation Folder>\DATA_UNITS\CrystalReports\dunit\tp.microso ft.wse.runtime-3.0-core-32\
  3. Copy the folder to the folowing destination - <InstallDir>/InstallData/InstallCache/tp.microsoft.wse.runtime-3.0-core-32/14.0.0.760/
    Where "/14.0.0.760/" are manually created subdirectories and the name of the subdirectory matches the file version number and taken from the error screenshot.

    Note: For Crystal Reports 2013 the installation may fail on the following Deployment Unit:

shared.tp.aurora.microsoft.vcredist7-4.0-core-32,14.1.0.896

This is Microsoft C++ Visual redistributable package and the Deployment Unit has installer within it. Additional step is required. After copying the Deployment Unit, double click on RequiredRuntimes.msi file at the following location:
C:\Program Files (x86)\SAP BusinessObjects\InstallData\InstallCache\shared.tp.aurora.microsoft.vcredist7-4.0-core-32\14.1.0.896

  1. Repeat the installation.

    It may fail on another Deployment Unit, just repeat the steps above for each failed Deployment Unit.

See Also

1886100 - Error "Failed to update cache for execution. Program will exit" while installing Crystal Reports 2011

Keywords

Failed to update cache for execution, Program will exit, Crystal Reports 2011 Error

Share
10 |10000 characters needed characters left characters exceeded