cancel
Showing results for 
Search instead for 
Did you mean: 

In B/S, how to customize Report Temp file location to open a CR Report?

Former Member
0 Kudos

Dear all

I install CRSE to develop Report solution with RAS SDK in unmanaged environment.

There are 2 servers in my deployment as below:

Server A: Tomcat(Include RAS SDK, JSP), Report RPT files

Server B: CRSE(RAS Sever)

*Both server A,B are windows. I use the RAS SDK in Server A and call the Server B to process the request.

I found that in Server B, the server open the CR Report in the C:/Windows/Temp directory. So I query for that:

In Server B, Can or How to configurate the Temp file diretory that I can set the CR Reportn open in a specific directory instead of C:/Windows/Temp directory?

Accepted Solutions (0)

Answers (1)

Answers (1)

ted_ueda
Employee
Employee
0 Kudos

That's strange - the default folder where CRSE looks for rpt files isn't typically the Temp file.

The default folder is specified in the registry, HKLM\Software\Business Objects\Suite 12.0\Report Application Server\Server\LocalConnectionMgr\ReportDirectoryPath

But I'm wondering if you're looking at the Temp folder where CRSE copies the rpt file to before opening it - that's specified by the OS temp folder.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Hi Ted

You are right!!

My question is that Can I specify the Temp file that RAS server copy the rpt file to open?

Thanks a lot.

David

ted_ueda
Employee
Employee
0 Kudos

I think it's specified by the OS - I don't know if there's a way to specify an alternate location.

You might post this question internally.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Hi Ted

The purpose I need to specify the temp file is that:

When I use the relative image path in the Dynamic image in CR report, I found that the starting point of the relative path is the C:/Windows/Temp directory.

So my customer query about that Can/How to edit the Temp file location?

Hope it can be helpful.

Thanks a lot

David

ted_ueda
Employee
Employee
0 Kudos

Hello David,

You need to distinguish between the Temp folder as used by CRSE for copying the rpt file before opening it, and the Temp folder as used by the Viewer SDK for storing images when viewing a report.

The former I don't know how to control, the latter for Java you'd specify using the context parameter "crystal_image_dir" in web.xml (this is distinct from "crystal_image_uri" that you would use to specify where the crystalreportviewewers folder is).

Sincerely,

Ted Ueda

Former Member
0 Kudos

Dear all, add user scenario for your reference.

Issue Detail:

Scenario in OEM Partner

There are 2 Servers, both are Windows 2003

Server_A: Tomcat (JSP, RAS SDK Jar), CR Report Files

Server_B: CRSE2008 (RAS Server)

1.End-user raise a request to view a CR Report to Server_A

*The CR Report contains a company logo image, my partner use the dynamic relative path of the image path (such as ../../logo.jpg, I use the image name as the relative dynamic image path, so report will display the image correctly when put the report and image in the same directory) when design the CR Report

*The logo image will be changed according to OEM Partner sell the OEM products to different end-users.

2. Server_A call Server_B (CRSE, RAS_Sever) to process this request

Symptom

1. At first, I can open the report and view the data, but it CAN NOT display the image

2.After tracking this, I found Server_B copy the CR Report from Server_A to Windows System Temp Directory(C:/Windows/Temp) in Server_B before open it by SDK. And the report name will change to a temp name, such as {8B074787-D441-49D0-8A6E-E0EEE4D11173}.rpt

3. So it can display the image correctly after I put the image to C:/Windows/Temp directory in Server_B.

So Partner question

1. Can CRSE use the specified Temp directory to process the report instead of Windows Temp directory (C:/Windows/Temp)?

According to the feedback from forum and yours, I summarize them as below:

1. CRSE use the Windows Temp directory to process the report, and it can not be modified.

I need to confirm this before I communicate with customer.

2. So We can only change the Windows Temp directory setting.

Customer can not accept this because it need the Windows Administrator privilege and must retart the computer after change this. So do we have another workaround to solve the user scenario(View a report contain the dynamic relative image)?

Thanks a lot

David

ted_ueda
Employee
Employee
0 Kudos

David -

For OEM Partner concerns, post internally or open a SAP Incident.

Sincerely,

Ted Ueda