- How to deploy a Crystal Reports.Net application on a 64 bit operating system?
- Error message: 'Please install appropriate Crystal Reports Redistributable (CRRedist*.msi) that contains the version of the crystal reports runtime (x86,x64 or Itanium) that is required.'
- Crystal Reports XI Release 2 / Crystal Reports 2008
- Visual Studio 2005 / Visual Studio 2008
Reproducing the Issue
Develop a custom Crystal Reports.NET web application using Crystal Reports.NET SDK.
Deploy the application on 64 bit operating system.
Currently, there are only two versions of Crystal Reports with native 64 bit runtime (CR 10.5 and CR 10.2).
Crystal Reports XI release 2 (version 11.5) and Crystal Reports 2008 (version 12.1.x) support 64 bit Operating systems, but in a 32 bit mode only.
For the application which uses the reports designed Crystal Reports basic for visual studio (bundled crystal) no settings need to be made to target any specific platform (x86 or x64).
Thus for the Crystal Reports.Net application which is using the reports designed in Crystal Reports XI R2 or Crystal Reports 2008, the application should target the 32 bit mode.
Following are the steps to be followed to run the application in 32 bit mode in a 64 bit environment.
On development machine, inside visual studio solution explorer
- Right click on project. Go to Properties
- Go to compile properties
- Select the 'Platform' dropdown box
- Click on X86
- Create a setup of your project.
- Install appropriate runtimes on the 64 bit server and deploy the application.
- After deploying the application go to the IIS on server, right click on the application pool in which the application is deployed, go to 'Basic Properties'.
- Select click the dropdown 'Managed Pipeline Mode' and select 'Classic', click OK.
- Go to the Advanced settings of the same Application Pool
- Set the property 'Run in 32 bit mode' to TRUE.
- Set the property 'Managed Pipeline Mode' to CLASSIC.
4. Run the application.
KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To