aspose file tools*
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
Author

error when trying to open crystal report

mona elrouby
Greenhorn

Joined: Feb 04, 2007
Posts: 2
Hi,

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
Greenhorn

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
Greenhorn

Joined: Mar 02, 2009
Posts: 1
Hello,

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
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
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