Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error when trying to open crystal report

 
mona elrouby
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20552
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Klaus, please Don't Wake The Zombies. A new thread would have been better.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic