on 09-24-2009 5:35 PM
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
What version and service pack are you using?
MSExel support came with CR4E 2.0 Update 1 - so I would get the latest build.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The API is common with the Report Application Server server-client SDK, so some export options not yet supported with the CR4E engine is listed.
Supported exports for Crystal Reports for Eclipse, except MS Excel which was new with a Service Pack, are listed in the Developer Guide.
That the export format is listed in the enumeration and documented unfortuately does cause misunderstandings.
FYI.
Sincerely,
Ted Ueda
I am usgin latest jars and i could create report in the following formats
u2022 _crystalReports
u2022 _MSWord
u2022 _MSExcel
u2022 _RTF
u2022 _editableRTF
but when i try to create in any of these hereunder
u2022 _text
u2022 _characterSeparatedValues
u2022 _tabSeparatedText
u2022 _XML
i am getting the following error
[2010-05-26 10:36:25,534,,ERROR,com.crystaldecisions.reports.common] Failed to load the resource 'UnknownExportFormat' from the bundle java.util.PropertyResourceBundle@39826.
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key UnknownExportFormat
at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
at java.util.ResourceBundle.getString(ResourceBundle.java:285)
at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
;;;;;;;;;;;;;;;;;;;;;;;;;;;
Could anybody please advise me this is not supported or if i am missing something.
Thanks in advance
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.