Skip to Content
author's profile photo Former Member
Former Member

Error after migrating the Crystal Reports

Hello Everyone,




I am migrating reports from Crystal 9 to Crystal 2013 version. I am using Oracle Database. After migrating the reports, I need to test it through a Java application. When I test them some reports work fine while the others give me this error message.

(Note: All the migrated reports work fine on my machine) Also checked the server connection and it is running properly.




Servlet Engine Exception


Error:

Cannot open report document. --- Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.

StackTrace:

com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot open report document. --- Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.

cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.---- Error code:-2147467259 Error code name:failed

detail: Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

at jsp_servlet.__viewreport.getReportClientDocument(__viewreport.java:254)

at jsp_servlet.__viewreport._jspService(__viewreport.java:710)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.---- Error code:-2147467259 Error code name:failed

at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.a(Unknown Source)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.request(Unknown Source)

at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)

at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)

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

... 19 more

Caused by: java.lang.IllegalArgumentException

at com.crystaldecisions.sdk.occa.report.definition.ObjectFormatConditionFormulaType.from_string(Unknown Source)

at com.crystaldecisions.sdk.occa.report.definition.ObjectFormatConditionFormulas.readElement(Unknown Source)

at com.crystaldecisions.xml.serialization.CrystalSAXParserHandler.endElement(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)

at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)

at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)

at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)

at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)

at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)

at com.crystaldecisions.xml.serialization.XMLObjectSerializer.load(Unknown Source)

... 27 more

Could some one please help me with this?

Thank you

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 13, 2015 at 06:21 PM

    Why create two post on the same issue?

    - Ludek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.