open crystal report exception.

I tried to open the crystal rpt file as the following:-

import com.crystaldecisions.reports.sdk.*;

ReportClientDocument reportClientDoc = new ReportClientDocument();

reportClientDoc.open("c:\\report.rpt", 0);

and found the below exception even though the report is in "c:\\".

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

at com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)

at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)

at JRCChangeDatabaseConnection.JRCChangeDatabaseConnection.launchApplication(JRCChangeDatabaseConnection.java:48)

at JRCChangeDatabaseConnection.JRCChangeDatabaseConnection$1.run(JRCChangeDatabaseConnection.java:165)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Anyone, please help.

Thanks,

Tina

[1616 byte] By [acharaSa] at [2007-11-27 11:47:41]
# 1

Well, so there's a problem with Crystal Reports. What did its product support people tell you so far?

CeciNEstPasUnProgrammeura at 2007-7-29 18:14:42 > top of Java-index,Java Essentials,Java Programming...