wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes error when trying to open crystal report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "error when trying to open crystal report" Watch "error when trying to open crystal report" New topic

error when trying to open crystal report

mona elrouby

Joined: Feb 04, 2007
Posts: 2

I'm having a problem with Crystal Report and I would appreciate
any help that I can get.

I try to open a CR with java application, I get an error message (when it get to the reportClientDoc.open(REPORT_NAME, 0); ). The message I got is

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected error determining relative path---- Error code:-2147467259 Error code name:failed

this is my code:

[ Edited to use code tags - Paul Sturrock ]
[ February 05, 2007: Message edited by: Paul Sturrock ]
Eugene Wong

Joined: Mar 05, 2007
Posts: 11
by chance you are using CR XI?
comment out <reportlocation> on your CRConfig.xml, and use absolute path on reportClientDoc.open(REPORT_NAME, 0);, i.e reportClientDoc.open("C:\\abc.rpt", 0);
Klaus Meier

Joined: Mar 02, 2009
Posts: 1

I want to use this classes to show reports in my standalone java-application.
My applications hangs up when it reaches the line

But why? I can't find out any reason for this. Please help me!
Rob Spoor

Joined: Oct 27, 2005
Posts: 19653

Klaus, please Don't Wake The Zombies. A new thread would have been better.

How To Ask Questions How To Answer Questions
I agree. Here's the link: http://aspose.com/file-tools
subject: error when trying to open crystal report
Similar Threads
Configure Tomcat with Crystal Report
Trouble with ODBC CSV connection when export Crystal RPT to PDF
Creating the crystal reports from Java
Open crystal report in JSP
Call Crystal Reports from Java