SAP Knowledge Base Article - Preview

1415137 - Load Report failed error in .NET application when loading CR report based on XML in CR2008

Symptom

A simple C#.NET Application that loads a report document from a disk file.

Using a CR report based off XML with a combined table name that is longer than 127 characters generates
an error message on the ReportDocument.Load() method.

The error message is:
CrystalDecisions.Shared.CrystalReportsException: Load report failed. --->
System.Runtime.InteropServices.COMException (xxx):
Buffer too small for string or missing null byte.
Reportname.rpt
At CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open()
At CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentWrapper.Open()


Read more...

Environment

Crystal Reports 2008

.NET SDK

CrystalDecisions.CrystalReports.Engine assembly

Product

SAP BusinessObjects Business Intelligence platform R2

Keywords

KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.