1906882 - When report is exported using Crystal Reports .NET SDK .Export() method, a row is getting shifted to right.

SAP Knowledge Base Article - Public

1906882 - When report is exported using Crystal Reports .NET SDK .Export() method, a row is getting shifted to right.

Symptom

 

  • When report is exported using Crystal Reports .NET SDK .Export() method, a row is getting shifted to right.

Export from code.JPG

 

  • Export from Crystal Reports web form viewer works fine.

Export from viewer.JPG

Environment

  • Visual Studio 2005
  • Crystal Reports 2008 SP6
  • A web application to export the report.

Reproducing the Issue

  • Deploy the attached web application.
  • Run the application which will export the report at "C:\exportedexcel.xls".
  • Observe the exportedexcel file.

Cause

The issue has been identified as a bug with Crystal Reports .NET SDK.

Resolution

  • The issue has been logged under problem ID ADAPT01706053.
  • This will be fixed in SP8.
  • The ETA for the fix is not known yet.

 

WORKAROUND:

  • Use InProc RAS SDK API 'PrintOutputController' to export the report.

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Bug Filed

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio

Attachments

Excel export sample.rar