SAP Knowledge Base Article - Public

1811876 - An application compiled as 64 bit returns incorrect data in the Crystal Report

Symptom

  • An application created in Visual Studio 2010 using SAP Crystal Reports for Visual Studio 2010
  • When compiled as a 32 bit application the returned data is correct
  • When the application is as 64 bit, the data is incorrect

Environment

  • SAP Crystal Reports for Visual Studio 2010
  • Visual Studio 2010 (VS 2010)

Reproducing the Issue

  1. Create a report off of an XML file
  2. Create a 32 bit application in VS 2010
  3. Run the above application - the data will be correct
  4. Recompile the above application as 64 bit
  5. The data will be incorrect

See the following screenshots for an example

 Untitled.jpg

Resolution

Issue has been tracked  ADAPT01662029 and resolved in Service Pack 5

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 2012 bad wrong , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio