Crystal Reports in JSP web application

Hi,
I am using crystal report in my jsp application...
Now there is a problem with me. I want use more than one tables in the report.
The report is working with single table when i am calling from jsp.
When i am using two or three queries i cannot pull the report..
I am taking the two tables from crystal report as follows
String tableName = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getName();
String tableName1 = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(1).getName();
And i am getting the names of the tables used in reports..
But when i am setting the data source i am getting exception in the second line....
reportClientDocument.getDatabaseController().setDataSource(resultSet, tableName , "Command");
reportClientDocument.getDatabaseController().setDataSource(resultSet1, tableName1 , "Command_1");
The exception is as follows....
java.lang.NullPointerException com.crystaldecisions.reports.reportengineinterface.a.a.a.getTables(Unknown Source) com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source) org.apache.jsp.crdemo.filename_jsp._jspService(org.apache.jsp.crdemo.filename_jsp:118)
Plz help me to solve this............

Hi,
I am using crystal report in my jsp application...
Now there is a problem with me. I want use more than one tables in the report.
The report is working with single table when i am calling from jsp.
When i am using two or three queries i cannot pull the report..
I am taking the two tables from crystal report as follows
String tableName = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getName();
String tableName1 = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(1).getName();
And i am getting the names of the tables used in reports..
But when i am setting the data source i am getting exception in the second line....
reportClientDocument.getDatabaseController().setDataSource(resultSet, tableName , "Command");
reportClientDocument.getDatabaseController().setDataSource(resultSet1, tableName1 , "Command_1");
The exception is as follows....
java.lang.NullPointerException com.crystaldecisions.reports.reportengineinterface.a.a.a.getTables(Unknown Source) com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source) org.apache.jsp.crdemo.filename_jsp._jspService(org.apache.jsp.crdemo.filename_jsp:118)
Plz help me to solve this............

Similar Messages

  • Error when Opening a Crystal Report in a Web Application

    Hi All,
    How are things?
    We are trying to open a Crystal report in a Web Application based on a Web service on Appache Tomcat.
    The report is in the Test Environment poiting to a SQL 2005 Database.
    The report opens and runs fine in Crystal Reports and in Infoview.
    The Web application throws back a long error as shown below.
    Looks to be like a SDK Issue ( Not pretty sure )...
    Could anyone help me out on this?
    STACK TRACE: at BusinessObjects.DSWS.ReportEngine.ReportEngine.GetDocumentInformation(String documentReference, RetrieveMustFillInfo retrieveMustFillInfo, Action[] actions, Navigate navigate, RetrieveData retrieveData) at Service.GetReportWithParms(String rptName, String folderName, String parms, String user, String password, String output, String& strError) MESSAGE: Failed to retrieve binary view of the report. (Error: WRE 02527) CALL STACK TRACE: com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$ExportReportFailed at com.businessobjects.dsws.wsc.reportengine.Report.getBinaryDocument(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleGetBinaryView(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleRetrieveData(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleActions(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.CrystalReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapSkeleton.getDocumentInformation(Unknown Source) at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File XYZ.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 408 ]---- Error code:-2147215357 Error code name:internal at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.export(Unknown Source) ... 49 more
    Thanks,
    Raj

    Moving post to .NET SAP Crystal Reports forum
    Hello Scott
    What browser are you using and what is the version of the browser?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • JSp web application + crystal reports

    Hi ,
    Is it possiable to generate crystal reports from JSP web application.
    Please provide me information on this.
    From google i found some info
    http://www.businessobjects.com/products/dev_zone/java/default.aspBut it is licienced.
    Is there anything which is free in using this or atleast any other free reporting tool for JSP weba application
    Raghu

    well there are many open Reporting source tools available..
    give a try with Jasper,Pentaho or JReport

  • CRDB_JavaServer.ini file is missing in linux (for Crystal reports designer in Rational Application developer)

    <p>Hi </p><p>I am trying to design crystal reports in rational application developer on linux.  <br /></p><p>But I cannt find CRDB_JavaServer.ini  on linux. This file is present in Windows </p><p>in c:\program files\crystal decisions\2.5\bin path.But I cannt seem to find this file in linux.</p><p>I am running RAD 6011 ifix001,ifix002 and can see the Crystal Reports JSP Tags drawer in JSP design view.</p><p>But I cannot find "Crystal report" as one of the file types , when i right click on WebProject\WebContent folder</p><p>to create a new Crystal Report in my Web project. </p><p> </p><p>Any help would be much apprecated. </p><p>robin. </p>

    <p>I don&#39;t know much about this and I&#39;m assuming you already did a find or locate command.</p><p>Did you find a CRConfig.xml.  This file had replaced the old CRDB_JavaServer.ini in newer versions.  I&#39;m not sure which one IBM was using for this build.  If you have a support contract with IBM I would suggest talking to them as they handle first line support for this.  It could be that they forgot to include the file by mistake. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Using Crystal reports in JSP

    Hi,
    I want to use Crystal report in jsp . I am running the jsp files in tomcat apache4.0 server.
    while executing the jsp files in tomcat , following class files are not being found:
    import="com.crystaldecisions.sdk.occa.report.application.*,
    com.crystaldecisions.sdk.occa.report.data.*,
    com.crystaldecisions.sdk.occa.report.lib.*
    can anyone plz tell where to get the required JAR file containing this classes or how to use crystal report in jsp.
    Regards,
    tommy

    The jars should be in your installed Crystal Reports folder( \Crystal Decisions\..\java\lib or something like that...). The problem is that your server (Tomcat and others) ignores the system classpath completely (it sets its own in its startup script).
    Therefore, in order for Tomcat to find the jars, those jars have to be placed in in %CATALINA_HOME%\common\lib\. There, they will be available for all your applications. If you don't want them available globally, put them in your particular webapp's WEB-INF\lib directory.

  • I want to launch Crystal report using jsp

    Hello All...
    I try to launch Crystal reports from jsp.
    i install crystal report and create one static report .
    and then i put all jar files related to that in my lib folder..
    which is in
    webapps/ ApplicationName/WEB-INF/lib..
    and write code to launch Crystal reports in jsp.
    <%@page import="com.crystaldecisions.reports.sdk.ReportClientDocument,
                   com.crystaldecisions.sdk.occa.report.lib.*,
                        java.sql.*,javax.sql.*,javax.naming.*,
                        com.crystaldecisions.report.web.viewer.CrPrintMode,
                        com.crystaldecisions.report.web.viewer.CrystalReportViewer,
                        com.crystaldecisions.sdk.occa.report.data.ConnectionInfos,
                        com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"
    %>
    <%// open the report rpt file
    String REPORT_NAME = "Report1.rpt";
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(REPORT_NAME, 0);
    // set up a viewer
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    // pass it the report source
    viewer.setReportSource(reportClientDoc.getReportSource());
    //Render the report.
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    i get an error when i run application or that page
    "ReportClientDocument cannot be resolved to a type"
    please give me solution ..
    Edited by: manojnikam on Jan 22, 2008 10:50 PM
    Edited by: manojnikam on Jan 24, 2008 5:00 AM

    ReportClientDocument So this class isn't found, probably because it's not in the server's classpath.
    If you really can't recognize a basic compilation error like this, you might re-consider your place in the JEE world.

  • Safari Browser issue on Mac with crystal report viewer JSP

    Safari Browser issue with crystal report viewer JSP
    This is my configuration:
    Operating System : Mac X
    Browser : Safari Browser 3.1.4
    Crystal Report : XII Release 2
    Application Server : Jboss 4.2.0
    I am using the following code to view the crystal report in jsp.
    <%@ page import="com.crystaldecisions.report.web.viewer.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    CrystalReportViewer theViewer = null;
    ReportClientDocument document = null;
    IReportSource reportSource = null;
    theViewer = new CrystalReportViewer();
    reportSource = document.getReportSource();
    reportSource.refresh();
    theViewer.setReportSource(reportSource);
    theViewer.setOwnPage(true);
    theViewer.setHasExportButton(true);
    theViewer.setHasPrintButton(true);
    theViewer.setHasRefreshButton(true);
    theViewer.setHasLogo(false);
    theViewer.setEnableParameterPrompt(true);
    theViewer.refresh();
    theViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    theViewer.dispose();This code is working fine when the browser is IE or Firefox on Mac X.
    But it is giving me error message when the browser is Safari on Mac X.
    If there is no parameter in the report then the error message is:
    Null Totaller
    If there is parameter in the report then the error message is:
    Parameter prompting is not supported
    Please Help.
    Thanks
    Edited by: VINCEJOHNSON on Jul 30, 2008 7:11 AM

    I am having this exact same issue, only on an ASP.NET page. I can print the report, but it does not display at all.

  • To integrate a web report in a web application

    hi,
    i have created a web report using ReportBuilder (wizard).
    i have saved that file as a jsp,
    my question is can i integrate that web report in any web application ,if yes how? plz let me know.
    thx
    abdul.

    Hi Abdul,
    The answer is yes, you can integrate your report in any web application as any other normal JSP. You can package the JSP as part of a WAR and deploy it on an application server. The only requirements are:
    reports_tld.jar must be available to the application. You can put in inside the WEB-INF/lib directory of the web application.
    Reports Server must be available to the JSP. If you are using Oracle9iAS for deploying the JSP, the Reports server is automatically available. If you are using some other application server like WebLogic, you can use the J2EE Thin Client (http://otn.oracle.com/products/reports/htdocs/getstart/examples/Tools/index.html)
    Also see the following thread on this Forum for deployment instructions:
    Where to put jsp files for web layout report?
    Navneet.

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • Error when trying to deploy crystal reports to a web site

    I'm using VS 2008.  When I add a Crystal Report page to my application I get the following error.
    Can anyone help be resolve this problem?
    Server Error in '/' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 110:               <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
    Line 111:               <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
    Line 112:               <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
    Line 113:          <httpModules>
    Line 114:               <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    Source File: C:\InetPub\Websites\church-site_org\web.config    Line: 112
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    Hi,
    I also encountered problem: Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    I try to install the CRRedist2008_x64.msi in our web server. And its ok. But my problem now is the report i created in VS 2003. The error now is:
    Parser Error Message: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.
    Source Error:
    Line 22:           debugging ASP.NET files.
    Line 23:     -->
    Line 24:     <compilation defaultLanguage="vb" debug="true"><assemblies><add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies></compilation>
    Line 25:
    Line 26:     <!--  CUSTOM ERROR MESSAGES
    Source File: E:\INETPUB\WWWROOT\DTS\web.config    Line: 24
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.CrystalReports.Engine' could not be loaded.
    === Pre-bind state information ===
    LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///E:/INETPUB/WWWROOT/DTS
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    Please need your help.
    thanks

  • Error in switching from one database location  to another database location in Crystal Reports using JSP

    Hi,
    Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
    CRJava Modify DB Location
    Please help me on this.
    While switching from one database to another i found the issue.
    dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
    The Error is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
        at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 47 more
    Any help Appreciated.
    Thanks
    Penchal

    Do you have subreports in your reports?
    If yes, set the connection info for the subreports as well.
    Additionaly refer to the below discussion
    http://scn.sap.com/thread/3153289
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • Crystal reports deployment on web server

    I include crystal report on my asp.net application(.NET 2008). Its running well at my development machin but when I'm trying to run from my web site its not showing report. I search for help in google but getting only one suggestion to install "CRRedist2008_x86.msi" file on the server. but I dont have previlige to install any application on my server. Cant I have any option without installing the file i can have crystall report on the web.
    error source shoing on line 18.
    Line 16: public partial class Report_ReportCurStock : System.Web.UI.Page
    Line 17: {
    Line 18:     ReportDocument myReport = new ReportDocument();
    Line 19:     protected void Page_Load(object sender, EventArgs e)
    Line 20:     {
    "An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    *Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information. "*
    Thanks in advance and looking for your kind reply

    <p>I already asked to my ISP provider but they told me that already they have crystal report installed. but in my local machine application is working fine, when I'm deploying my application on the web then its throwing error. Giving the stacktrace below as you can identify the problem easily. </p>
    <h4>Source Error: </h4>
    <p>
    Line 16: public partial class Report_ReportCurStock : System.Web.UI.Page<br />
    Line 17: { <br />
    Line 18:     ReportDocument myReport = new ReportDocument(); <br />
    Line 19:     protected void Page_Load(object sender, EventArgs e) <br />
    Line 20:     { <br />
    </p>
    <br />
    Source File: e:\inetpub\vhosts\alphaagroltd.org\httpdocs\ReportCurStock.aspx.cs    Line: 18  <br />
    <br />
    <h4>Stack Trace: </h4>
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. <br />
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.<br />
    <br />
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.]<br />
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +224<br />
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +161<br />
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]<br />
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0<br />
       Report_ReportCurStock..ctor() in e:\inetpub\vhosts\alphaagroltd.org\httpdocs\ReportCurStock.aspx.cs:18<br />
       ASP.reportcurstock_aspx..ctor() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d5c7cd0b\f614d146\App_Web_8t_ktcco.0.cs:0<br />
       __ASP.FastObjectFactory_app_web_8t_ktcco.Create_ASP_reportcurstock_aspx() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d5c7cd0b\f614d146\App_Web_8t_ktcco.6.cs:0<br />
       System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32<br />
       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119<br />
       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33<br />
       System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37<br />
       System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307<br />
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155<br />
    Edited by: tuntunbabu on Jun 16, 2010 1:04 PM

  • How to call the crystal report in jsp page

    dear friends
    i want to run or call the crystal report in jsp page.
    if u know that can u send sample code for that to my id
    [email protected]

    Hi Sudhakar,
    Could you please be more speicific about the task you want to accomplish?
    Cheers
    Giri :-)

  • Crystal report in JSP using activeX viewer

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come with CR9,but no JSP.also I don't want use Crystal Enterprise9 even I know the URL reporting may be the eaier way.

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal
    report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come
    with CR9,but no JSP.also I don't want use Crystal
    Enterprise9 even I know the URL reporting may be the
    eaier way.Hi, did u manage to get the ActiveX Viewer up with JSP? I'm also trying to do the same thing. If you could, pls kindly email me the basic source codes to [email protected]? Thanks

  • Crystal reports and JSP

    Hi there, I would like to call crystal reports from JSP. How can I do that?
    My system is:
    Webserver: iPlanet 4.0 SP4
    Crystal reports: 8.5 Developer version
    Database: Oracle 8i version 8.1.6
    S.O.: Solaris.
    I tried the documentation from Seagate but there isn't examples and explanations in how to do this.
    Do I need some component? Where can I get it, if I do?
    Thankyou,
    Gines

    Please visit:
    www.geocities.com/pmk16
    Regards,
    pmk16

Maybe you are looking for

  • "mail contents of this page" won't support animated gifs

    Let me start by saying that i know that Mail doesn't support animated gifs. However, up untill last year, i was able to email moving animated gifs by putting them online and mailing the content of the safari page (command i). I haven't made any updat

  • Upgrade from Server 10.4.3 - 10.4.4 hosed login

    I just upgraded a server from 10.4.3 to 10.4.4 (and then 10.4.5). After the upgrade, I can't get to the login panel. Besides not being to login at the server it seems to be running normally (web server, mail server, etc. functioning). I can login rem

  • How do I prevent tabs in the task bar from opening everytime I open a new Firefox tabs from the Start Menu?

    I have four tabs in my task bar at the bottom of my computer screen. If I go to Start and open a new Firefox window then all four tabs open automatically. How do I prevent all the tabs from opening?

  • Cfimage and non-english characters

    I've been googling for hours and just can not find anything related to this, very strange, I am trying to use ImageDrawText draw Chinese onto an image but could never get it to work, tried so many things, setting the page encoding to UTF-8, cfcontent

  • Import data bug

    when a text field in a .csv file enclosed in quotes contains a comma, the quotes are ignored and the field is viewed as 2 fields by the import proceedure, i.e.: 'text1, text2' is imported as 2 seperate fields, 'text1' and 'text2'