This is the error we are getting for a report, any suggestions.
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.controllerExportInternal(PrintOutputController.java:280) at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:152) at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:130) at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:113)
Request clarification before answering.
Hi Daniel, Please find my answers.
What version of CR are you using?
14.0.5
What is the line of code throwing the exception?
InputStream inputStream = outputController.export(reportExportFormat);
It appears you are exporting so ensure that the application has permissions to write to the location you are exporting to as well as the temp directory.
is there a way to find out temp directory that the crystal server is using.
If you try a SaveAs instead of export and save as a Crystal report and open it, does it contain all of the correct saved data?
we are generating report on the fly not sure how to save it with API.
does the report have parameters and are the values being set prior to export?
Yes, we are setting the required parameter before calling export.
Thanks for you help.
Rajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.