Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Crystal Report XI problem in sub reports Post Reply Post New Topic
Author Message
Mayank R
Newbie
Newbie


Joined: 23 Dec 2009
Location: India
Online Status: Offline
Posts: 3
Quote Mayank R Replybullet Topic: Crystal Report XI problem in sub reports
     Posted: 05 Jan 2010 at 4:34am

This is regarding Crystal Report not working in case of Crystal Report XI and SQL Server 2005 on Java platform.

 

In our project we have used Crystal Report Java API to process reports. We support DB2,Oracle and SQL Server database. Report in which we are facing problem is having main report and one sub report. Both main and sub report has separate SQL queries which are processed programmatically to generate resultSet and using Crystal Java API we pass this result set to generate report.

Same report works fine(without any code change) with Crystal Report XI and Oracle/DB2 configuration. Also Same report works on Crystal Report X and IX with SQL Server 2005.

 

Following is the code which is throwing exception:
clientDoc.getSubreportController().setDataSource(subReportName, resultSet,subReportTableName,IConstants.OLD_REPORT_NAME);

 

Follwoing Exception is thrown by setDataSource():
2009-02-26 03:42:33,196 INFO [STDOUT] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
No error.---- Error code:-2147483648 Error code name:failed

 

Following is error log information in Crystalras log:

ErrorLog 2010  1  4 23:51:13.773 12924 21424 (\servers\ras\dtsagent\cdtsagent.cpp:3113): CDTSagent::doOneRequest reqId=202: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:16398 ErrorCode:0 ErrorMsg:"
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum