Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

RAS problem

Hello,

I'm using JRC lib 11sp4 to handle report before.

Now I'm update to jrc 12 and have one problem about RAS:

com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: User cannot change the Report Application Server once the document is opened or created.---- Error code:-2147215346 Error code name:changeServer

at com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException.throwReportSDKClientDocException(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ClientDocument.setReportAppServer(Unknown Source)

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

And here is the code make the problem:

ReportClientDocument doc = new ReportClientDocument();

doc.setLocale(locale);

// open report: look for institution specific report first.

try {

doc.open(reportFile_Inst, 0);

reportFile = reportFile_Inst; // for debug output

} catch (ReportSDKException e) {

this.logger.info("previous Crystal report error '<crystaldecisions.reports.reportengineinterface> - The report file was not found' .");

doc.open(reportFile, 0);

}

this.logger.debug(reportName + ": report file found and opened");

//set DB connection for reports

setConnectionInfo(doc.getDatabaseController(), directQueryParameters);

this.logger.debug(reportName + ": ConnectionInfos set");

Cheers,

PT

Former Member
replied

Remove all jars. Add new ones.

Sincerely,

Ted Ueda

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question