Skip to Content
Former Member
May 29, 2012 at 01:47 PM

RAS SDK : limit to amount of data for export?


Hi all,

I've encountered a problem with a crystal report that I'm refreshing and exporting to xls with the java RAS SDK.

Depending on the value of the parameters, I'm getting 1, 65 or 339 pages after the refresh.

When I'm trying to export the report with few pages (1 or 65 for example), no problem. But with the report of 339 pages, I'm getting an exception and an error (Cannot create temp file : generic error) at that line :

InputStream byteIS = (InputStream) crystalDocument.getPrintOutputController().export(neededFormat);

If I'm refreshing and exporting the report with InfowView, I've no problem and my excel file contains a little bit more than 22.000 lines.

So my question is :

- Is there any value I need to change to admit more lines?

- Is there any attributes I need to set in one particular object?

Thanks in advance !