Symptom
- On deployment of a VS .NET application, the application produces error messages
- Typical errors and behavior:
"Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version X.X.XXX.X"
"NullReferenceException: Object reference not set to an instance of an object."
"Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005."
"An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required."
- The above is not an exhaustive list of errors.
- Other errors and behavior may also result.
- Search the .NET Development - Crystal Reports forum and the kbase for more information.
Cause
- Crystal Reports runtime was not deployed
- Crystal Reports runtime was deployed incorrectly (e.g.; xCopy)
- Incorrect version of Crystal reports runtime was deployed
Resolution
- The Business Objects Support Software Downloads page contains all runtime files as well as Fix Packs, Service Packs and more.
- The wiki Crystal Reports v. 9.1 to 12.x VS .NET Runtime Distribution & Supported Operating Systems contains summarized informatio as well as information regarding supported Operating Systems
Keywords
Forum thread compatibility windows OS Operating System , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To