on 09-08-2014 11:21 AM
Friends,
I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
Any suggestions would be very helpful.
Thanks in Advance,
Bharath
Please specify the BO Product version with patches (if any).
Also are you using managed or unmanaged reports?
What line of code throws the above exception?
Does this happen with all the reports or with few specific reports?
Does it happen while opening a report or exporting a report?
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. BO XI 3.1 (No patches)
2. Managed Reports
3. Below line gives me the error..
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.MSExcel);
where reoportClientDoc is the report source (RAS)
4. Happens Only with specific reports
5. Happens while exporting a report
Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
These errors come for various errors and tracing RAS would give us a better idea.
It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
Thanks,
Prithvi
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.