P
Paul
Lousy help in msdn. What would cause a "Invalid export options."
exception in a windows forms app using ExportFormatType.HTML40?
report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.HTML40,
"rpt1.htm");
Details:
CrystalDecisions.CrystalReports.Engine.InvalidArgumentException was
unhandled
Message="Invalid export options."
Source="CrystalDecisions.Shared"
StackTrace:
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 ...
exception in a windows forms app using ExportFormatType.HTML40?
report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.HTML40,
"rpt1.htm");
Details:
CrystalDecisions.CrystalReports.Engine.InvalidArgumentException was
unhandled
Message="Invalid export options."
Source="CrystalDecisions.Shared"
StackTrace:
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 ...