Report XML as datasource

Is it possible to use the xml for individual reports taken from the catalog manager as a datasource? The idea being that this could be used to augment the level of detail available when reporting on the structure of the rpd, in addition to the usual Document Repository feature to create an excel file to use as a datasource.
I have tried to use the xml from one report but when importing I get an error saying the structure of the XML is not supported, could this be edited to make it acceptable, all we really need is the names of the columns used.
thanks
Ed

Have you tried to create a separate connection pool and use it as a source?

Similar Messages

  • JRC bug: apostrophe in string parameter passed to Crystal Report with Command datasource to SQL Server

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

  • Error in  Concurrent Program Details Report - XML Publisher program

    hi,
    i m executing a Concurrent Program Details Report - XML Publisher program and i m getting following errors
    Error:
    Beginning post-processing of request 4365650 on node APPS1 at 01-DEC-2010 08:04:00.
    Post-processing of request 4365650 failed at 01-DEC-2010 08:04:04 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Can u specify where exactly the problem is the OPP log file shows:
    11/25/10 5:08:20 AM] [main] Starting GSF service with concurrent process id = 1272712.
    [11/25/10 5:08:20 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/25/10 5:08:20 AM] [Thread-18] Service thread starting up.
    [11/25/10 5:08:20 AM] [Thread-19] Service thread starting up.
    [11/25/10 1:00:02 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/26/10 12:01:08 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/26/10 1:00:33 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/27/10 12:01:48 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/27/10 1:01:11 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/28/10 12:00:18 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/28/10 1:01:39 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/29/10 12:00:48 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/29/10 1:00:20 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [11/30/10 12:01:51 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [11/30/10 1:01:00 PM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=4
    [12/1/10 12:00:20 AM] [GSMServiceController:1272712] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=6
    [12/1/10 8:04:02 AM] [OPPServiceThread1] Post-processing request 4365650.
    [12/1/10 8:04:03 AM] [1272712:RT4365650] Executing post-processing actions for request 4365650.
    [12/1/10 8:04:03 AM] [1272712:RT4365650] Starting XML Publisher post-processing action.
    [12/1/10 8:04:03 AM] [1272712:RT4365650]
    Template code: FNDCPPGD_XML
    Template app: FND
    Language: en
    Territory: US
    Output type: PDF
    [12/1/10 8:04:04 AM] [UNEXPECTED] [1272712:RT4365650] java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA,DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ))
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:402)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:235)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:1159)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3430)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:166)
    [12/1/10 8:04:04 AM] [1272712:RT4365650] Completed post-processing actions for request 4365650.
    [GC 6798K->4234K(9108K), 0.0020110 secs]
    [GC 6858K->4321K(9108K), 0.0399700 secs]
    [GC 6945K->4256K(9108K), 0.0021440 secs]
    [GC 6880K->4272K(9108K), 0.0021000 secs]
    [GC 6896K->4232K(9108K), 0.0020110 secs]
    [GC 6856K->4316K(9108K), 0.0020590 secs]
    [GC 6940K->4408K(9108K), 0.0597480 secs]
    [GC 7032K->4495K(9108K), 0.0034290 secs]
    [GC 7119K->4581K(9108K), 0.0031930 secs]
    [GC 7205K->4667K(9108K), 0.0027380 secs]
    [GC 7291K->4753K(9108K), 0.0028380 secs]
    [GC 7377K->4840K(9108K), 0.0030960 secs]
    [GC 7464K->4926K(9108K), 0.0026830 secs]
    [GC 7550K->5011K(9108K), 0.7886420 secs]
    [GC 7635K->5099K(9108K), 0.0029910 secs]
    [GC 7723K->5183K(9108K), 0.0650420 secs]
    [GC 7807K->5287K(9108K), 0.0137250 secs]
    [GC 7911K->5375K(9108K), 0.0028940 secs]
    [GC 7999K->5461K(9108K), 0.0121010 secs]
    [GC 8085K->5544K(9108K), 0.0025770 secs]
    [GC 8168K->5634K(9108K), 0.0035770 secs]
    [GC 8258K->5723K(9108K), 0.0134410 secs]
    [GC 8347K->5810K(9108K), 0.0028090 secs]
    [GC 8434K->5891K(9108K), 0.0029380 secs]
    [GC 8515K->5981K(9108K), 0.0029140 secs]
    [GC 8605K->6069K(9108K), 0.0027600 secs]
    [GC 8693K->6154K(9108K), 0.1243500 secs]
    [GC 8778K->6241K(9108K), 0.0039650 secs]
    [GC 8865K->6326K(9108K), 0.0028650 secs]
    [GC 8950K->6413K(9236K), 0.0039710 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]
    6413K->5352K(9236K), 1.1909030 secs]
    [GC 8936K->5472K(12956K), 0.0023870 secs]
    [GC 9056K->5591K(12956K), 0.0033830 secs]
    [GC 9175K->5729K(12956K), 0.0042040 secs]
    [GC 9313K->5849K(12956K), 0.0034840 secs]
    [GC 9433K->5961K(12956K), 0.0100990 secs]
    [GC 9545K->6086K(12956K), 0.0030080 secs]
    [GC 9670K->6201K(12956K), 0.0031240 secs]
    [GC 9785K->6319K(12956K), 0.0032300 secs]
    [GC 9903K->6440K(12956K), 0.0034340 secs]
    [GC 10024K->6559K(12956K), 0.0034880 secs]
    [GC 10143K->6672K(12956K), 0.0035840 secs]
    [GC 10256K->6798K(12956K), 0.0057700 secs]
    [GC 10382K->6910K(12956K), 0.0060400 secs]
    [GC 10494K->7033K(12956K), 0.0100290 secs]
    [GC 10617K->7155K(12956K), 0.0071060 secs]
    [GC 10739K->6968K(12956K), 0.0096190 secs]
    [GC 10551K->7022K(12956K), 0.0018430 secs]
    [GC 10606K->7024K(12956K), 0.0019950 secs]
    [GC 10608K->7020K(12956K), 0.0019460 secs]
    [GC 10604K->7024K(12956K), 0.0021440 secs]
    [GC 10607K->7011K(12956K), 0.0018930 secs]
    [GC 10595K->7048K(12956K), 0.0027050 secs]
    [GC 10632K->7174K(12956K), 0.0028100 secs]
    [GC 10758K->7059K(12956K), 0.0015890 secs]
    [GC 10643K->7070K(12956K), 0.0032490 secs]
    [GC 10654K->7192K(12956K), 0.0332620 secs]
    [GC 10776K->7313K(12956K), 0.0035480 secs]
    [GC 10897K->7437K(12956K), 0.0042360 secs]
    [GC 11021K->7555K(12956K), 0.0158540 secs]
    [GC 11139K->7679K(12956K), 0.0036930 secs]
    [GC 11263K->7800K(12956K), 0.0035670 secs]
    [GC 11384K->7919K(12956K), 0.0036300 secs]
    [GC 11503K->8043K(12956K), 0.0039190 secs]
    [GC 11627K->8164K(12956K), 0.0036210 secs]
    [GC 11748K->8284K(12956K), 0.0034810 secs]
    [GC 11868K->8405K(12956K), 0.0224470 secs]
    [GC 11989K->8538K(12956K), 0.1723720 secs]
    [GC 12122K->8661K(12956K), 0.0036210 secs]
    [GC 12245K->8782K(12956K), 0.0101020 secs]
    [GC 12366K->8903K(12956K), 0.0036410 secs]
    [GC 12487K->9031K(12956K), 0.0037570 secs]
    [GC 12615K->9152K(12956K), 0.1185410 secs]
    [GC 12736K->9273K(13084K), 0.0037680 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor16]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
    9273K->6003K(13084K), 0.2840530 secs]
    [GC 10163K->6154K(14616K), 0.0024850 secs]
    [GC 10314K->6296K(14616K), 0.1144950 secs]
    [GC 10456K->6436K(14616K), 0.0194160 secs]
    [GC 10596K->6261K(14616K), 0.0069170 secs]
    [GC 10421K->6264K(14616K), 0.0014630 secs]
    [GC 10424K->6344K(14616K), 0.0027370 secs]
    [GC 10504K->6481K(14616K), 0.0034770 secs]
    [GC 10641K->6620K(14616K), 0.0282380 secs]
    [GC 10780K->6758K(14616K), 0.0027550 secs]
    [GC 10918K->6901K(14616K), 0.0026610 secs]
    [GC 11061K->7042K(14616K), 0.0033920 secs]
    [GC 11202K->7183K(14616K), 0.1176190 secs]
    [GC 11343K->7328K(14616K), 0.0026570 secs]
    [GC 11488K->7468K(14616K), 0.0037760 secs]
    [GC 11628K->7602K(14616K), 0.0030830 secs]
    [GC 11762K->7747K(14616K), 0.0037920 secs]
    [GC 11907K->7880K(14616K), 0.0039450 secs]
    [GC 12040K->8029K(14616K), 0.0037420 secs]
    [GC 12189K->8168K(14616K), 0.0059800 secs]
    [GC 12328K->8308K(14616K), 0.0040210 secs]
    [GC 12468K->8447K(14616K), 0.0141800 secs]
    [GC 12607K->8588K(14616K), 0.0040530 secs]
    [GC 12748K->8731K(14616K), 0.0927280 secs]
    [GC 12891K->8869K(14616K), 0.0039840 secs]
    [GC 13029K->8761K(14616K), 0.0167970 secs]
    [GC 12921K->8655K(14616K), 0.0013430 secs]
    [GC 12815K->8692K(14616K), 0.0027280 secs]
    [GC 12852K->8697K(14616K), 0.0022180 secs]
    [GC 12857K->8698K(14616K), 0.0018800 secs]
    [GC 12858K->8844K(14616K), 0.0030390 secs]
    [GC 13004K->8703K(14616K), 0.0020500 secs]
    [GC 12863K->8775K(14616K), 0.0022840 secs]
    [GC 12935K->8762K(14616K), 0.0021550 secs]
    [GC 12922K->8897K(14616K), 0.0029530 secs]
    [GC 13057K->9028K(14616K), 0.0321850 secs]
    [GC 13188K->9175K(14616K), 0.0037260 secs]
    [GC 13335K->9307K(14616K), 0.0197840 secs]
    [GC 13467K->9436K(14616K), 0.0037780 secs]
    [GC 13596K->9565K(14616K), 0.0254750 secs]
    [GC 13725K->9691K(14616K), 0.0032600 secs]
    [GC 13851K->9828K(14616K), 0.0034450 secs]
    [GC 13988K->9966K(14616K), 0.0038190 secs]
    [GC 14126K->10107K(14616K), 0.0039240 secs]
    [GC 14267K->10247K(14616K), 0.1258140 secs]
    [GC 14407K->10387K(14744K), 0.0040400 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor19]
    10387K->5407K(14744K), 1.3601020 secs]
    [GC 9567K->5549K(14616K), 0.0024490 secs]
    [GC 9709K->5695K(14616K), 0.0159350 secs]

    Pl post details of OS, database and EBS versions. The error is here
    >
    [12/1/10 8:04:04 AM] [UNEXPECTED] [1272712:RT4365650] java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA ...
    >
    Pl see if the solution in MOS Doc 367456.1 (Why Does the 'Concurrent Program Details Report - XML Publisher' Fail with 'No corresponding LOB dat) is applicable. Other possibly relevant MOS Docs are
    XML Report Preview : Java.Sql.Sqlexception: No Corresponding Lob Data Found          (Doc ID 418374.1)
    Getting ''No Corresponding Lob Data Found'' Error From XDOREPPB 'XML Report Publisher'          (Doc ID 399349.1)
    Publish Fsg Report fails with "java.sql.SQLException: No corresponding LOB data found"          (Doc ID 420528.1)
    The Canadian RL1 Electronic Interface is Ending in Error: 'java.sql.SQLException: No corresponding L          (Doc ID 1068986.1)
    AR Customer Balance Statement Letter /Statements Output is in XMLand not in PDF          (Doc ID 975501.1)
    "An error encountered either due to invalid Template details or due to null Data Input Stream" While          (Doc ID 1068524.1)
    XML Publisher Invoice Print Report Has No Output Generated          (Doc ID 427314.1)
    HTH
    Srini

  • Print PDF Report(XML) in Dot matrix Printer in Oracle E-Biz R12

    Hi Friends,
    Is it possible to print a PDF Report (xml report) in Dot Matrix Printer in Oracle E-Biz R12 assuming the Dot Matrix Printer supports Post Script.
    If so , what configuration needs to be performed from Oracle E-Biz?
    Regards,
    DB

    user4525564 wrote:
    Hi Friends,
    Is it possible to print a PDF Report (xml report) in Dot Matrix Printer in Oracle E-Biz R12 assuming the Dot Matrix Printer supports Post Script.
    If so , what configuration needs to be performed from Oracle E-Biz?
    Regards,
    DBI do not think it is possible -- Please confirm with your printer vendor if your printer support PDF printing first.
    Thanks,
    Hussein

  • Composer Process Report XML Format

    Hi,
    We generated 'Process Report' -- XML format in Oracle BPM Composer. After generating saved content in a xml file. When tried to open this file, getting error message like not in proper xml format etc., Have we missed any thing in installing or configuring Composer. pleased suggest.
    -- Thanks .... Murthy

    @trevorbutler -  Could you send us what version of Ant you're using and a  sample of how you're using the <junit> Ant task?  Additionally,  can you validate that the example you gave for the JUnit output is from  the <junit> Ant task and not the <junitreport> task?  Could you also let us know which version of JUnit you used with Ant, just in case?
    FWIW - The XML output that you see from running tests in JUnit via the <junit> Ant task is output that has been defined without specification by the folks at Apache Ant.  There has been a lot of discussion on standardizing the output amongst the folks at TestNG, the Maven Surefire plugin and others, but I haven't seen anything standardized come out of that.  Here is a wiki page that has some of that discussion http://wiki.apache.org/ant/Proposals/EnhancedTestReports.  t's also important to note, that the aggregate results of the <junitreport> task contain a slight variation on the output produced by the <junit> task.  Consequently, we have to emulate the lowest common denominator that we know will work with the tools out there that parse the XML output associated with an xUnit framework (e.g. - Ant tasks, CI server, etc).  This being said, we rely on the community to keep us up to date with variations that we may have missed or for which need to update.  It's not so much that we've decided to exclude any particular elements from the output, we just need help fine tuning as time goes on.
    Thanks for the help.
    -Brian

  • Language Translation is not working for Pick slip Report (XML)

    Hi All,
    I have to translate the Oracle Pick slip report(XML) in other language. So I export and upload translation file for different language but still it is taking default english template. It should refer the translation file but it.s not working. Could you please suggest me if I am missing something?
    Thnaks,
    Joohi

    Hi,
    Looking for some help on this.
    Thanks in advance!
    Venkat

  • CrystalReports Subreports Demo Using XML As DataSource , Java As Tool

    Hello,
        Im New to CrystalReports.Can any one send me (or) explain me Regarding "CrystalReports Subreports Demo Using XML As DataSource , Java As Tool" .
    Thanks,
    RadhaKrishna K

    ok

  • Read, Modify and Apply Report XML using Java Script

    Hi Guys,
    Is there any way that we can Pragmatically Read, Modify and Apply Report XML using Java Script or some other way.
    Thanks
    Kaushik
    Edited by: Kaushik K on Jun 20, 2012 8:36 PM

    Requirement ::
    Users should be able to add Column to the Report Dynamically at Runtime.
    (There are around 1000+ Users, Answers Approach is not acceptable)
    So we are planning to provide a Multi Select / Shuttle Box Option for Users to add Columns dynamically. (Only for Table View)
    What we planned to DO ::
    Create a Presentation Variable Prompt, Which reads the Metadata Table (Presentation Table.Column Name, populated using the Metadata Dictionary)
    And Create a report with One Column and the Column Fx like @{var_dynamic_columns}{'"Time"."Year","Time"."Month"'}
    With this, OBIEE is rewriting the Logical SQL Currently as "Select "Time"."Year","Time"."Month" from "A - Sample Sales" "
    But getting an error
    The number of columns returned in retrieving column metadata was invalid (expected: 1; received: 2)
    So we want to see, if we can rewrite the Advanced XML of the Report to have dynamic columns based on the Values from the Presentation Variable.
    Please help me if this is a viable solution or any other better solution.

  • Anyone using TAW/custom/report.xml or custom.xml

    Oracle's out of the box configuration for the custom.xml and report.xml appears to be commented out and has no bearing on the TAW application default functionality.
    Is custom.xml for some type of third party integration?
    Is report.xml for third party reporting or required for TAW reporting?
    <!--application className="CustomReportEmail" package="com.taw.custom">
    <parameter name="url" value="http://localhost/TAW" />
    <parameter name="urlReportCss" value="http://localhost/TAW/css/web_clients.css" />
    <parameter name="urlReport" value="http://localhost/TAW/AdministrationManager/report" />
    </application-->

    We too have a similar situation.
    In one of our .Net base product, we have to retreive Production Order details of a specific Order Number using .net connector and BAPIs. Our search for a BAPI that can provide this information did not yield any results.
    Does any know if there is a BAPI that can return the Production Order details? or, Can confirm for sure that a BAPI does not exist?
    I am also surprised at the BAPIs available for Production Order. Getting order details seems a rather basic functionality and one would expect it to be there. I wonder why SAP does not provide it, while it has BAPIs for creating order and other opertaions. Did they miss out on this fundamental api? or has it been provided through a different BAPI?
    We would prefer the BAPI route as it is simpler and eliminates a lot of the process involved in getting the ABAP code (custom function module) to be moved into production. Writing custom function module to retreive the details is our very last option.

  • Need information about OBIEE report XML

    Does Oracle provide document on OBIEE report XML information (such as element , sub element and property for each element)?

    Thanks for your reply. It may not be what I want. What I want is to understand the usage and syntax of XML in Advanced tab under OBIEE web analysis. For example, I got error when I tried to use the following "display" twice under one view. Is there any documentation that provide detail information about how to use these elements?
    <saw:display type="lineBar" subtype="basic" renderFormat="flash" mode="online">
    <saw:style barStyle="default" lineStyle="default" scatterStyle="default" fillStyle="default" bubblePercentSize="100" effect="2d"/></saw:display>

  • Analyzer - invalid report xml

    Invalid report xml is the error I get when I try to pull up an Analyzer report upgraded from version 6.1 to 7.2, thanks, James

    have you checked the report for any "title" xml tags?

  • How to migrate report from one datasource to another?

    Hi,
    can anyone help me, I want to migrate report from one datasource to another.
    Also what are the prerequisites for this?
    any help help will be deeply appreciated.
    Thanks,
    Saurabh.

    Hello,
    To copy queries you can use TA RSZC.
    http://wiki.sdn.sap.com/wiki/display/BI/CopyingQuerysfromOneTargettoAnother
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204111a9-0fca-2d10-219c-be20e686cdb5?QuickLink=index&overridelayout=true
    http://help.sap.com/saphelp_sm32/helpdata/en/9f/f57539d6d1c93be10000000a114084/content.htm
    https://cw.sdn.sap.com/cw/docs/DOC-34603
    Thanks.
    With regards,
    Anand Kumar

  • Connection failure error when generating Report model from datasource

    Hii all,
    I am getting error below when i am generating a Report Model from datasource from Report Manager ..
    Please help me why this error coming .. iam regenerating a Report Model but still error coming..
    Dilip Patil..

    Thanks for reply ..
    i got this at the end 
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G38e91286-1910-4420-8afc-9858114a05a7 One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "ALL DEPARTMENT GROWTH PROGRESS" references the Attribute "RID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G38e91286-1910-4420-8afc-9858114a05a7 One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "ALL DEPARTMENT GROWTH PROGRESS" references the Attribute "RID", which is a hidden Attribute.
    This property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G78dcea25-930f-4b1f-a80f-95afdef6136a One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "FILE STAGE LOG" references the Attribute "FILE STAGE LOG ID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G78dcea25-930f-4b1f-a80f-95afdef6136a One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "FILE STAGE LOG" references the Attribute "FILE STAGE LOG ID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity Ge9aa23a3-9a03-41e7-a233-86a71c7bc2da One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "UPLOAD DOCUMENT UID" references the Attribute "UPLOAD DOC UID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity Ge9aa23a3-9a03-41e7-a233-86a71c7bc2da One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "UPLOAD DOCUMENT UID" references the Attribute "UPLOAD DOC UID", which is a hidden Attribute.
    This property should reference a non-hidden Attribute.
    dont understand where it referncing the attributes
    Dilip Patil..

  • Problem pushing XML as DataSource to report

    Post Author: biiz
    CA Forum: JAVA
    Hello!
    I have a report which uses xml and xsd as datasource. I have now the requirement to dynamically set the xml-data into the report.
    I do this via reportClientDocument.getDatabaseController().setDataSource(xml_ds, "ObjectSpace", "") but I receive following exception although data in xml_ds is not null:
    Error occured: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: The data source object cannot be null.---- Error code:-2147024809 Error code name:failed
    The ReportClientDocument is retrieved from Crystal Report Server XI R2 .
    In crystalras log I have found following error-msg: ErrorLog 2008  5 29 10:56:40.784 1992 828 (\servers\ras\dtsagent\cdtsagent.cpp:3177): CDTSagent::doOneRequest reqId=272: CSResultException thrown.   ErrorSrc:"Analysis Server" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:16948 ErrorCode:-2147024809 ErrorMsg:"The data source object cannot be null." DetailedErrorMsg:""
    Can you please help me?
    Regards,
    Gerald Spitzer
    Here is my code:
      CrystalEnterprise objCE = new CrystalEnterprise();  ISessionMgr objCESessionMgr = objCE.getSessionMgr();  objCESession = objCESessionMgr.logon("Administrator", "", this.getServletContext().getInitParameter("RAS"), "secEnterprise");  objTokenMgr = objCESession.getLogonTokenMgr();    cstrLogonToken = objTokenMgr.createLogonToken("", 60, 500);
       IInfoStore objInfoStore = (IInfoStore) objCESession.getService("InfoStore");
      java.lang.String cstrStatement;
      cstrStatement = "";  cstrStatement = cstrStatement + "SELECT SI_ID, SI_NAME";  cstrStatement = cstrStatement + "  FROM CI_INFOOBJECTS";  cstrStatement = cstrStatement + " WHERE SI_NAME = '" + reportName + "'";  cstrStatement = cstrStatement + "   AND SI_INSTANCE = 0";
      IInfoObjects objInfoObjects = objInfoStore.query(cstrStatement);
      if (objInfoObjects.getResultSize() > 0) {
       IInfoObject objInfoObject = (IInfoObject) objInfoObjects.get(0);
       IReportAppFactory objRASFactory = (IReportAppFactory) objCESession.getService("", "RASReportFactory");   ReportClientDocument objReport = (ReportClientDocument) objRASFactory.openDocument(objInfoObject,0,java.util.Locale.ENGLISH);
       FileInputStream fin = new FileInputStream("C:
    fragebogen_dokument_ohneADesc.xsd");   ByteArrayOutputStream baos = new ByteArrayOutputStream();   byte&#91;&#93; bytes = new byte&#91;1024&#93;;   for(;;) {    int count = fin.read(bytes);    if(count < 0)     break;    baos.write(bytes, 0, count);   }   final byte&#91;&#93; xsdBytes = baos.toByteArray();   fin.close();    fin = new FileInputStream("C:
    fragebogen_dokument_ohneADesc.xml");   baos = new ByteArrayOutputStream();   bytes = new byte&#91;1024&#93;;   for(;;) {    int count = fin.read(bytes);    if(count < 0)     break;    baos.write(bytes, 0, count);   }   final byte&#91;&#93; xmlBytes = baos.toByteArray();   fin.close();
       IXMLDataSet xml_ds = new IXMLDataSet() {    private IByteArray xmlData = null;    public void setXMLData(IByteArray xmlData) {     this.xmlData = xmlData;    }    public IByteArray getXMLData() {     return this.xmlData;    }    private IByteArray xmlSchema = null;    public void setXMLSchema(IByteArray xmlSchema){     this.xmlSchema = xmlSchema;    }    public IByteArray getXMLSchema() {     return this.xmlSchema;    }    };
       xml_ds.setXMLData(new IByteArray() {    public void fromString(String arrayValue){}    public String toString() { return ""; }    public byte&#91;&#93; getBytes() { return xmlBytes; }   });
       xml_ds.setXMLSchema(new IByteArray() {    public void fromString(String arrayValue){}    public String toString() { return ""; }    public byte&#91;&#93; getBytes() { return xsdBytes; }   });
       System.out.println("####bytes.length" + xml_ds.getXMLData().getBytes().length);
       objReport.getDatabaseController().setDataSource(xml_ds, "ObjectSpace", "");

    Post Author: Ted Ueda
    CA Forum: JAVA
    Below is sample RAS SDK XML datasource injection code.Sincerely,Ted Ueda<%@ page import = "com.crystaldecisions.sdk.exception.SDKException,                   com.crystaldecisions.sdk.framework.,                   com.crystaldecisions.sdk.occa.infostore.,                   com.crystaldecisions.sdk.occa.managedreports.,                   com.crystaldecisions.sdk.occa.report.application.,                   com.crystaldecisions.sdk.occa.report.data.,                   com.crystaldecisions.sdk.occa.report.definition.,                   com.crystaldecisions.sdk.occa.report.document.,                   com.crystaldecisions.sdk.occa.report.lib.,                   com.crystaldecisions.sdk.occa.report.exportoptions.,                   com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,                   com.crystaldecisions.sdk.plugin.desktop.common.,                   java.io.,                   java.util."%><%/* * Environment variables - modify to suit your deployment  */String username = "";String password = "";String cmsname  = "<cms name here>";String authType = "secEnterprise";String reportName = "Test XML";   // Report name as published on EnterpriseString xmlFilePath = "C:
    XMLData
    new_test_data.xml";  // Path to XML datasource String xsdFilePath = "C:
    XMLData
    new_test_data.xsd";  // Path to XSD for XML datasource IEnterpriseSession boSession = null;try {    IInfoStore infoStore;    IInfoObjects infoObjs;    IInfoObject report;    IReportAppFactory raFactory;    ReportClientDocument doc;    byte&#91;&#93; xmlBytes;    byte&#91;&#93; xsdBytes;    IXMLDataSet xml_ds;    ByteArrayInputStream exportByteArrayStream;    byte&#91;&#93; exportByteArray;    boSession = CrystalEnterprise.getSessionMgr().logon(username, password, cmsname, authType);    infoStore = (IInfoStore)boSession.getService("", "InfoStore");    infoObjs = (IInfoObjects) infoStore.query("SELECT TOP 1 * FROM CI_INFOOBJECTS "                                               + "WHERE SI_KIND = 'CrystalReport' "                                              + " AND SI_INSTANCE=0 "                                              + " AND SI_NAME='" + reportName + "'" );    report = (IInfoObject) infoObjs.get(0);    raFactory  = (IReportAppFactory) boSession.getService("", "RASReportService");    doc = raFactory.openDocument(report, 0, Locale.ENGLISH);    xmlBytes = bytesFromFile(xmlFilePath);    xsdBytes = bytesFromFile(xsdFilePath);    xml_ds = new XMLDataSet(new ByteArray(xmlBytes), new ByteArray(xsdBytes));    doc.getDatabaseController().setDataSource(xml_ds, "schema1/People", "schema1/People");    exportByteArrayStream = (ByteArrayInputStream)doc.getPrintOutputController().export(ReportExportFormat.PDF);    exportByteArray = new byte&#91;exportByteArrayStream.available()&#93;;    response.reset();    response.setHeader("Content-disposition", "inline;filename=crreport.pdf");    response.setContentType("application/pdf");    int bytesRead = 0;    while((bytesRead = exportByteArrayStream.read(exportByteArray)) != -1) {        response.getOutputStream().write(exportByteArray, 0, bytesRead);        }            response.getOutputStream().flush();    response.getOutputStream().close();} finally {  if(boSession != null)       boSession.logoff();}%><%!byte&#91;&#93; bytesFromFile(String path) throws IOException {    FileInputStream fin;    ByteArrayOutputStream byteOStream = new ByteArrayOutputStream();    byte&#91;&#93; bytes;    fin = new FileInputStream(path);    bytes = new byte&#91;1024&#93;;    for(;;) {        int count = fin.read(bytes);        if(count < 0)            break;        byteOStream.write(bytes, 0, count);    }    bytes = byteOStream.toByteArray();    fin.close();    return bytes;}%>

  • Failed to Load database information - Crystal report with XML as datasource

    Hello Friends:
    I am getting the attached error when i try to load the Crystal Report with XML as data source.
    I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
    Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
    CrystalDecisions.CrystalReports.Design.dll
    CrystalDecisions.CrystalReports.Engine.dll
    Please let me know what should be done in order to resolve this.
    Thank you!

    All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
    So. make sure you are on SP 9:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
    Remove your reference to CrystalDecisions.CrystalReports.Design.dll
    Add the following references:
    CrystalDecisions.Shared
    CrystalDecisions.ReportSource
    CrystalDecisions.Web (if web app)
    CrystalDecisions.Windows (if win app)
    I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for