SAP Knowledge Base Article - Public

1868305 - Error: 'Failed to update cache for execution. Program will exit', when installing Crystal Reports

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."

          Install-error.png

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'

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    

    4. 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 , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016