Skip to Content
0
Former Member
Sep 24, 2009 at 04:35 PM

Unable to Export to anything except pdf.

53 Views

I can't get my exports to work in any format except pdf.

For example if I run:

ByteArrayInputStream byteIS = (ByteArrayInputStream)reportClientDocument.getPrintOutputController().export(ReportExportFormat.MSExcel );

I get several long exception messages.

I get:

Failed to load the resource 'UnknownExportFormat' from the bundle java.util.PropertyResourceBundle@1bf98eb.

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key UnknownExportFormat

...

Followed by:

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: UnknownExportFormat---- Error code:-2147467259 Error code name:failed ...

Followed by:

Caused by: com.crystaldecisions.reports.exportinterface2.exceptions.UnknownExportFormatException: UnknownExportFormat

Obviously Crystal gives what appear to be intentionally unhelpful exceptions, so I don't know if that does anything for anyone. Could the problem be missing jars or does anyone have any other ideas?

I thank you in advance,

Joe