Symptom
- When multiple processes or threads accessing the ExportToStream method to export the same report to other formats at the same time, two kinds of errors are observed:
- Error 1: Error in File XXX{XXX}.rpt: Disk full.
- Error 2: The process cannot access the file because it is being used by another process.
- Error 1 only happens when using ExportToStream to generate PDF format files.
- Error 2, it is observed for all other export file types
- code used:
ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)
Read more...
Environment
- SAP Crystal Reports, developer version for Microsoft Visual Studio
- Microsoft Visual Studio
Product
SAP Crystal Reports, developer version for Microsoft Visual Studio
Keywords
CR.NET, C#, VB, Visual Studio, VS, 2008, 2010, ADAPT, 1666871, 01666871, Export, Save, multi, simultaneous, parallel , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , 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.