cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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)

0 Likes
View Entire Topic
daniel_paulsen
Product and Topic Expert
Product and Topic Expert

Hi Rajan,

Thanks for the replies.

to save to disk try reportClientDocument.saveAs(name,path);

If you can open this report without prompts and have all of the correct data, then there's not likely anything wrong with your code. If you are missing a param value or get prompted for anything when opening (not refreshing) then focus on the code covering the area which is not quite right (ie setting params, formulas etc).

For filesystem access and writing temp files, check three places:

  1. the properties of the RAS Server will specify the directory used for creating temp files. Make sure you see temp files getting created here.
  2. The temp folder for the account that your application is running under (ie System user on a web server or a specific user's temp folder if the application is running under a specific user's context.) Ensure this user has read/write permissions on the temp folder.
  3. make sure the user that your app is running under has write privileges to the folder you are exporting to, though at this point I don't think your application has gotten this far.

Dan