Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: ReportDocument.ExportToReport Diskfull error Post Reply Post New Topic
Author Message
Manulak
Newbie
Newbie


Joined: 15 Jul 2012
Online Status: Offline
Posts: 1
Quote Manulak Replybullet Topic: ReportDocument.ExportToReport Diskfull error
    Posted: 15 Jul 2012 at 10:33pm
Hi
I have a web service solution to export a crystal report to a PDF or a RTF file. The solution is designed with MS Visual Studio 2010 using Crystal Report version 13.0 for VS. At runtime, we are using Crystal Runtime version 13.0.1 .net redistributable files (both 32bit and 64bit) and Crystal 2011 layouts. The web service runs in IIS 7.0 server.

The issue we have is that we get an “Error in File <filename>{FE8386FD-0A8D-4CAD-A8B0-00BADD402108}.rpt: Disk full” from the ReportDocument.ExportToStream method, if 2 or more simultaneous calls are sent to export the report to PDF. The following is the code I use,

Private Stream getPDFReportStream(String path, ……)
{
   ReportDocument doc ;
   doc.load(path);
   ……
   Stream exportStream = doc.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
   ……
   doc.Dispose();
   Return exportStream;
}

I tried used the overload for ReportDocument.load method and tried sending the OpenReportMethod.OpenReportByTempCopy and OpenReportMethod.OpenReportByDefault but it didn’t help. The following are the stack traces,

7/10/2012 10:19:46 AM - === In getPDFReportStream catch :
Error in File PurchaseOrderPrintRep {FE8386FD-0A8D-4CAD-A8B0-00BADD402108}.rpt:
Disk full.
==== Source : CrystalDecisions.ReportAppServer.DataSetConversion
==== Stack Trace :
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
at ReportService.GetPDFReportStream(String FileName, String ParameterValues, String LangCode)
in c:\inetpub\wwwroot\CRWebSetup\App_Code\Service.cs:line 159
==== Target Site : Boolean ThrowDotNetException(System.Exception)
=== BaseException : System.Runtime.InteropServices.COMException (0x80000211):
Error in File PurchaseOrderPrintRep {FE8386FD-0A8D-4CAD-A8B0-00BADD402108}.rpt:
Disk full.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)


I heard that the crystal report engine doesn’t support multithreading. Is this true? Can this be causing the above issue or something else? If so, how can I resolve it?

Thank you a lot in advance. Any answer would be really appreciated...!
Regards;
Manulak
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.