1553482 - How to force the 32bit runtime to install on all CPU Architectures (Intel and AMD64) when using Click-Once deployment

SAP Knowledge Base Article - Public

1553482 - How to force the 32bit runtime to install on all CPU Architectures (Intel and AMD64) when using Click-Once deployment

Symptom

  • Publishing a web application and using the Click-Once deployment (CRVS2010) results in the following error:

Unable to install or run the application. The application require that assembly Crystal Decisions.ReportAppserver.commonobjectModel version 13.0.2000.0 be installed in the Global assembly cache (GAC) first

Environment

  • VS2010
  • CRVS2010
  • 32 bit OS on production server
  • 64 bit OS on development server

Cause

  • The 64 bit runtime is installed by the Click-Once deployment
  • The 32 bit application is trying to load a report, but is not finding the 32 bit CR runtime

Resolution

  • Find the Product.xml file in the bootstrapper folder:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\Crystal Reports for .NET Framework 4.0

  • Comment out the below BypassIf entry to install the 32bit version CRRuntime redist on the target machine
<!--  ByPass if the Processor is not x86 --> 
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel" />

See Also

KBase 1537950 - Crystal Reports for Visual Studio 2010 Click Once deployment fails with the error: CRRuntime_32bit_13_0.msi has changed since it was initially published

Keywords

CR2010 2010 CR4VS2010 CR4VS msm msi runtime install deploy , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio