导出HTML文件时报下面的错,大家帮忙看看
导出HTML文件时报下面的错,这个错误偶尔会出现,而且不是导出所有的HTML文件报错,只是有时候会有一两张报表导出时报错。
google了很久,一直没找到解决方案。
Invalid export options.
CrystalDecisions.Shared
at CrystalDecisions.CrystalReports.Engine.EngineExceptionUtils.DoThrowException(String message, EngineExceptionErrorID id)
at CrystalDecisions.CrystalReports.Engine.ExceptionThrower.ThrowEngineException(String messageID, EngineExceptionErrorID id)
at CrystalDecisions.CrystalReports.Engine.HTMLExporter.GetPage(Boolean bSeparatePages, Boolean bDHTML, Int32 startPage, Int32 endPage)
at CrystalDecisions.CrystalReports.Engine.HTMLExporter.Export()
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
at CRS.Report.WinService.HtmlDocument.GenerateSingleFile(Int32 rptId, Int32 entityId)