TejasCR
March 6th, 2007, 11:34 PM
Hi ,
I have created a a.rpt file using Oracle Server as a Data Source.
a.rpt file is running fine through "Create and Modify uitlity " of Crystal Report XI.
But whenever I try to access the similar .rpt file through RAS API,
I am getting following error:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to load database information.
Error in File C:\WINDOWS\TEMP\{43D26901-D4EF-4711-BD7A-2A8196A29B84}.rpt:
Failed to load database information.---- Error code:-2147482931 Error code name:failed
while executing following line of code..
reportByteArrayStream = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
I am able to login to crystal report server as well able to establish a session.
Also following line of code, gives me the appropriate database info,
PropertyBag porpbag = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getConnectionInfo().getAttributes();
System.out.println("props---------" +porpbag.toString());
Can anybody help me out if any Database Driver issue is existing on Crystal Report XI or any other thing on the similar lines while installing Crystal Report XI / BO Server??
Any help will be appreciated.
Regards,
Tejas
I have created a a.rpt file using Oracle Server as a Data Source.
a.rpt file is running fine through "Create and Modify uitlity " of Crystal Report XI.
But whenever I try to access the similar .rpt file through RAS API,
I am getting following error:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to load database information.
Error in File C:\WINDOWS\TEMP\{43D26901-D4EF-4711-BD7A-2A8196A29B84}.rpt:
Failed to load database information.---- Error code:-2147482931 Error code name:failed
while executing following line of code..
reportByteArrayStream = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
I am able to login to crystal report server as well able to establish a session.
Also following line of code, gives me the appropriate database info,
PropertyBag porpbag = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getConnectionInfo().getAttributes();
System.out.println("props---------" +porpbag.toString());
Can anybody help me out if any Database Driver issue is existing on Crystal Report XI or any other thing on the similar lines while installing Crystal Report XI / BO Server??
Any help will be appreciated.
Regards,
Tejas