BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Follow BOB on Twitter! 
Follow BOB on Twitter! (Opens a new window)  

General Notice: BOB is going to retire...please see details here.
General Notice: No events within the next 45 days.

RAS SDK : cannot create temp file --> limit amount of dat


 
Search this topic... | Search SDK (VBA/ASP/JSP)... | Search Box
Register or Login to Post    Forum Index -> SDK (VBA/ASP/JSP)  Previous TopicPrint TopicNext Topic
Author Message
jvervier
Forum Member
Forum Member



Joined: 01 Feb 2012

Posts: 9
Location: Brussels


flag
PostPosted: Tue May 29, 2012 9:09 am 
Post subject: RAS SDK : cannot create temp file --> limit amount of dat

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?

Precision : it is the same thing if I'm exporting to excel or pdf.

Thanks in advance !
Back to top
gberns
Senior Member
Senior Member



Joined: 07 Aug 2009

Posts: 41



PostPosted: Thu Jul 12, 2012 5:58 pm 
Post subject: Re: RAS SDK : cannot create temp file --> limit amount of

I am also seeing this problem. For me, it appears the problem has something to do with the prompts in the report. I have one report with no prompt, it works fine. A second report has a single prompt and it fails.
My reports are very small (returning 1 page with 20 rows of data).

I am testing against BI4.0 SP4, using RAS. What version are you testing with?

Code:
    PrintOutputController poc = m_oCRClient.getPrintOutputController();
    InputStream in = (InputStream) poc.export(ReportExportFormat.PDF);
Back to top
Kalyani
Principal Member
Principal Member



Joined: 25 Feb 2007

Posts: 190



PostPosted: Thu Mar 21, 2019 11:30 am 
Post subject: Re: RAS SDK : cannot create temp file --> limit amount of

hi,

i am having the same issue. when there is large amount of data, the report is giving 'can not create temp file' error. sometimes crystal report server stops responding for this data set.
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> SDK (VBA/ASP/JSP)  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0284 seconds using 18 queries. (SQL 0.0032 Parse 0.0009 Other 0.0244)
CCBot/2.0 (https://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo