Symptom
- Report works as expected in the Crystal Reports Designer.
- Using the Crystal Reports SDK for VS .NET results in the error:
Load report failed. System.Runtime.InteropServices.COMException (xxx):.. Buffer too small for string or missing null...
Reproducing the Issue
- Create an XML file with corresponding schema file which allows a structure where the combined levels of elements results in a string longer than 127 characters
- Create a Crystal Reports report based off the XML file using the java XML driver (crdb_xml.dll)
- Create a VS .NET application using the ReportDocument object to load the crystal report
Resolution
- Issue is resolved in Service Pack 3 for Crystal Reports 2008
- For other downloads see the Business Objects Support Software Downloads page
See Also
Keywords
Forum thread , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Bug Filed
Product
Crystal Reports 2008 V1