Crystal report Parameter binding issue with Liveoffice

Hello,
I have created a Crystal report on top of BW query. In crystal report when parameter is set to null the report gets all data from BW query.
On inserting the same Crystal report to Live office document on binding the parameter i get the data for selected value for parameter but i am not able to set the parameter to null to get all the data from BW queries.
Please help!
Regards,
Rahul Doshi

Hi,
I was able to solve the issue with the below code. I have added a parameter value as <Not Specifed> in paramter.
if {?parameter1}='<Not Specified>' Then like '*' else
={?Parameter1} and
if {?Parameter2}='<Not Specified>' Then like '*' else
={?Parameter2} and
if {?Parameter3}='<Not Specified>' Then like '*' else
={?Parameter3} and
if {?Parameter4}='<Not Specified>' Then like '*' else
={?Parameter4}
This code works perfectly fine in crystal report. But when i bind the parameter with excel in Live office it gives me below error.
Parameter has no value.
Details: errorKind
Error in File {7D9B961E-ADB9-4292-9DDE-A8D11B94D78E}.rpt:
Error in formula  Record Selection:
'if {?Sales Office}='<Not Specified>' Then {0SD_C03_ZQRY_0SD_C03_0011_BOBJ.D[0SALES_OFF]K} like '*' else
Parameter has no value.
Details: errorKind (LO 26603)  (6603)
Please help.
Regards,
Rahul Doshi

Similar Messages

  • Crystal report Export/Print issue with Non default websites

    Hello ,
    I have an issue and its driving me nuts.
    My problem i guess with the crystal reports. Might also be with IIS.
    We have developed an website on VS2008. This website is configured on IIS 8.5
    The server on which iis8.5 runs is a virtual server.
    I have configured the website to run as two different virtual directories as mentioned below;
    1) To run under default website (servername/virtualdirectory)
    2) To run under complete separate website (www.abc.com/virtualdirectory)
    if i  run crystal report using the servername/virtualdirectory, then the report is rendered fine and i can export the results also to any format and print successfully.
    But when i run the crystal report using www.abc.com/virtualdirectory, then the report renders fine but i cannot export the results nor print. Nothing happens when i click the export button.
    Any help will be highly appreciated.
    Thanks
    Abdul Aleem

    In addition to Don's suggestion. Remember that almost any action in the viewer will cause a post back - including clicking on the export button. If the report is not in session, the post back may fail and nothing will happen. See the following code on how to place a report object into a session:
    1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete code)
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Report Dynamic connection issue ORA-04043 Database Vendor Code 4043

    HI All,
    Ii am getting dynamic connection issue with Crystal Report 2008 and Business View Manager, i have Oracle database,
    i have done following steps
    1 Creating Dynamic Connection (including two connection XDC & YDC)
    2. Creating Data Foundation (Common object available in both connection ie. stored procedure)
    3. Creating Business View (with selected number of elements in business element, like firsta name, lastname)
    I have verified database connectivity from Business view manager, both the connection are working fine bringing different number of rows from two different schemas (different schema but same objects in two schemas)
    4. Database connectivity to different database schemas
    5. Connectivity from Crystal Report (done the connectivity from the repository to business view )
    6. Report Connectivity with first schema shows records
    7 Report Connectivity with second schemas shows error
    as follows Failed to retrive data from the database & on clicking of detail i get following error
    Crystal Reports
    Database Connector Error: 'ORA-04043: object HR.EXCEPTION_REPORT_SUB1_PROC [Database Vendor Code: 4043 ]'
    Q first of all i need to know if dynamic connection using business view manager and crystal report technically possible or not, if yes then please let me know the solution, since we did verified with SQL database and ite work with two different database.
    Q if not possible then are there any options to resolve dynamic deployment of crystal report over multiple schemas with crystal report 2008
    Any help or suggestion will be appriciated, hope some one might have got similar issue
    Thanks in advance
    Edited by: smunir on Jul 12, 2011 9:18 AM
    Edited by: smunir on Jul 12, 2011 9:41 AM
    Edited by: smunir on Jul 12, 2011 9:43 AM

    Hi,
    When i use same credentials in Tod or sqlplus it works perfect and gives appropriate results. But when i use same credentials using business view manager, the very first connection works but the second connection does not work
    Please suggest!
    Regards,
    <<smunir>>

  • Databases that Crystal Reports 9 can function with

    Hi,
    We are going to purchase Crystal Reports for the use with a new financial program that we will be purchasing.  The financial program that we will purchase allows report customization within the program if using the Crystal Reports 9 engine.  For that reason we are going to purchase Crystal Reports 9.  Otherwise we would have to create custom reports outside of this program if using a more recent version of Crystal like 2008.
    However we need to make sure Crystal Reports will work with our SQL Server 2005 database.  I tried to research a bit on Crystal Reports 9 (of which currently I know nothing about) and came across this document when doing a search https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202ff507-281f-2b10-78b6-b6bce2668d6b.
    We also need Crystal 9.0 to work with Paradox and BDE databases.  It looks like BDE 5.1 and Paradox 8 & 9 are listed as supported platforms.  I also see SQL Server 2000 but do not see SQL Server 2005.  Will Crystal Reports 9.0 work with a SQL Server 2005 database and also what are the plans for Crystal Reports 9.0 working with future versions of SQL like 2008?
    thanks,
    JW

    According to the supported platforms document for CR9:
    (You should be able to search and fine this document via https://www.sdn.sap.com/ - you may have to create an account and login)
    Database Connectivity
    Clients:
    u2022 DB2 6.1
    u2022 DB2 7.1
    u2022 Holos 8.0
    u2022 Holos 8.5
    u2022 Informix 2000
    u2022 Lotus Notes 4.6
    u2022 Lotus Domino R5
    u2022 Microsoft SQL Server 7.0 SP3
    u2022 Microsoft SQL Server 7.0 OLAP Services (SP1)
    u2022 Microsoft SQL Server 2000 Analysis Services (SP2)
    u2022 Microsoft SQL Server 2000
    u2022 Oracle 8i
    u2022 Oracle 8.06
    u2022 Oracle 9i
    u2022 Sybase 12.5
    u2022 Sybase 12.0
    Servers:
    u2022 DB2 UDB 7.1 (Intel)
    u2022 DB2 (OLAP) 1.1, 7.1 (Fixpac 0)
    u2022 Essbase 5.02 (Patch 13a)
    u2022 Essbase 6.0, 6.1 (Patch 2)
    u2022 Essbase 6.5 (Only available with the updated
    u2022 driver, Essbhapi_650.dll.)
    u2022 Holos 8.0
    u2022 Holos 8.5
    u2022 Informix 9.14 (Intel)
    u2022 Informix 2000 (Intel)
    u2022 Lotus Domino R5 (Intel)
    u2022 Microsoft SQL Server 7.0.699 (Intel)
    u2022 Microsoft SQL Server 2000
    u2022 Oracle Server 8.0.6
    u2022 Oracle Server 9i
    u2022 Sybase Adaptive Server 12.0 7/20/2004 4:59 PM Copyright © 2004 Business Objects. All rights reserved.
    u2022 Sybase Adaptive Server 12.5
    u2022 SAP BW 2.0/Oracle Server 8.0.5 back end
    u2022 SAP BW 3.0/Microsoft SQL Server 2000 back end
    Other:
    u2022 ACT! 4.02 and ACT! 2000
    u2022 BDE 5.1
    u2022 Btrieve Pervasive SQL 7
    u2022 Btrieve Pervasive SQL 2000
    u2022 Microsoft Access 97
    u2022 Microsoft Access 2000
    u2022 Paradox 8
    u2022 Paradox 9
    u2022 Microsoft Outlook 98
    u2022 Microsoft Outlook 2000
    u2022 Microsoft Exchange 5.5

  • Does Crystal Report XI R2 comes with Crystal Data Object (CDO)

    Hi,
    Does anyone knows if installation of crystal reports include Crystal Data Object (CDO) ? From the article(http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2183) it seems like it doesn't comes with the standard installation package in Crystal Report XI R2. Please advise. Thanks =)
    Regards.

    You need to pick "Crystal Data Objects" from the list of Data Access options offered by Crystal Reports when you are installing it -- that item is not selected by default.
    To add that to your machine:
    - Open Add/Remove Programs
    - Select Crystal Reports 11 and click on the Change button
    - Expand the tree under "Data Access"
    - Select "Crystal Data Objects" and click on it
    - Select it to be installed -- you will probably need your Crystal Reports CD to proceed with the installation.
    Ludek

  • A data-binding issue with a combo box.

    Hi,
    Iu2019m having a data-binding issue with a combo box.  The field it is bound to is an integer.  The valid values in the combo box are 1, 2, and 3.  If I add a record when it is set to 1 or 2, the value gets stored correctly.  If I add a record when it is set to 3, it is stored as 1.  However, I can bring up the record just added on the form, change it to 3, and click u201CUpdateu201D and it is saved correctly as 3.  If I change it so that the valid values are 4, 5, and 6, it saves a 1 regardless of what is selected in the combo box.  It looks like the combo box is correctly bound for updates but not for adds.  The table is a master type UDO.  Any ideas?  Iu2019m somewhat committed to the field being an integer.  I'm using 2007A PL47.
    Thanks,
    Mike
    Edited by: Mike Angelastro on Jul 1, 2009 2:43 PM

    I tried a few things on my own.  The result is that I decided that it was not a good idea to use a combo box bound to an integer (numeric) field.  I donu2019t think the SDK can handle it.  The reason it was an integer field in the first place is that before I changed it to a combo box it was a group of two option buttons.  Option buttons use an integer (numeric) field.  This worked just fine until I added a third option; the SDK didnu2019t handle the third option correctly when adding records.  I thought that using a combo box instead would fix that.  I was wrong; the problem remained.  So I decided to use a character (alphanumeric) field instead.  This works just fine.
    So here is my advice:  Never use option buttons if they need to be bound to the database; a combo box will actually work better when bound to the database.  But use a character (alphanumeric) field.
    Edited by: Mike Angelastro on Jul 5, 2009 9:15 PM

  • Crystal Report Server 2008 integration with java application

    Hi All,
    Any of you having complete document about Crystal Report Server 2008 integration with java application....like source code and what are all the jar files needed? Or tell me that the implementation is same as Crystal Report Server XI R2?
    Thanks

    Have you looked at the BusinessObjects Enterprise XI 3.x Java Developer Guide?
    [http://www.sdn.sap.com/irj/boc/sdklibrary]
    Sincerely,
    Ted Ueda

  • Crystal Report - Parameter issue (advanced dialog box)

    In our wpf .net application we view the crystal report, the report prompts for entering 2 parameter values i.e 2 dates and inturn these parameters will be used to generate the crystal report.
    The parameter panel on the left has a button (show advanced dialog box). This button should again invoke the same parameter prompt dialog box, so that the user can modify these parameters and the report can be regenerated.
    Issue is that when I click on the the button, this generates a null reference exception in the code. The call stack is -
    at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowAdvancedDialog(ParameterUnit pu)
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.pu_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.OnShowAvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.editControl_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.OnShowAdvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.btnShowAdvancedDialog_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Please note, I used the .net reflector to debug the crystal report dll , the isDCP method looks like -
    public bool isDCP
          get
            return (this.Attributes.Contains("IsDCP") && ((bool) this.Attributes["IsDCP"]));
    Looks like the attributes value is null.
    Please let me know your comments. Am I missing something while getting the report in the frontend.
    I use crystal reports 2008 sp 2 (also note that my gac contains different version of crystal reports (cannot remove them - tried it) , with windows server 2003. I use web service with proxy to get the report from the local server.
    Note I also tried to create sample application in which I specify the local path to reports source , this works. However when I tried to use webservice, i was getting soap exception.
    Please let me know how solve above issue

    So you found the Report Design forum, if you looked down one more you would have found the SDK forum, SDK stands for Software Development Kit if you did not know.
    Or did you not mention you get the same error when you run this report in CR Designer, if so then you were in the right forum.
    Try Service Pack 3 also
    Move to the SDK forums.

  • Help with Invalid Parameter Binding issue

    let me prefix this with the fact that I'm about as ignorant as can be when it comes to oracle so speak slowly and hopefully I'll catch the low hanging fruit.
    I've inherited a project that someone else wrote and I'm trying to make the code base work, but I am getting 2 error messages and don't really know where to start to fix it.
    My project is using ActiveReports (yea I hate it too) to call a function into a 10g database. It is returning an error saying Invalid Identifier. When I try to run the function in visual studio I get an invalid parameter binding error message and it says parameter name "" (empty quotes, so who knows).
    here's what I have:
    the type definition:
    TYPE type_A AS OBJECT (date_a VARCHAR2(25), start_date VARCHAR2(25), end_date VARCHAR2(25), items_total INT, items_with_x INT, items_without_x INT, items_with_x_percent DECIMAL(7,6), items_without_x_percent DECIMAL(7,6))
    the type table:
    TYPE type_A_table AS TABLE OF type_A
    the function that is erroring:
    <em>FUNCTION func_A (start_date_str IN VARCHAR2, end_date_str IN VARCHAR2) RETURN type_A_table PIPELINED
    IS
    PRAGMA AUTONOMOUS_TRANSACTION;
        start_date_filter TIMESTAMP := TO_DATE(start_date_str,'MM/dd/yyyy HH:MI:ss AM');
        end_date_filter TIMESTAMP := TO_DATE(end_date_str,'MM/dd/yyyy HH:MI:ss AM');
        items_total INT;
        items_with_x INT;
        items_without_x INT;
        items_with_x_percent DECIMAL(7,6);
        items_without_x_percent DECIMAL(7,6);
        temp type_A;
    BEGIN
        SELECT COUNT(*) INTO items_total FROM atable WHERE (create_date BETWEEN start_date_filter AND end_date_filter);
        SELECT COUNT(*) INTO items_with_x FROM atable WHERE conditionx=1 AND (create_date BETWEEN start_date_filter AND end_date_filter);
        SELECT COUNT(*) INTO items_without_x FROM atable WHERE conditionx=0 AND (create_date BETWEEN start_date_filter AND end_date_filter);
        items_with_x_percent := 0.00;
        items_without_x_percent := 0.00;
        IF items_total > 0 THEN
            items_with_x_percent := (items_with_x*1.00)/(items_total*1.00);
            items_without_x_percent := (items_without_x*1.00)/(items_total*1.00);
        END IF;
        temp := type_A(
            TO_CHAR(CURRENT_DATE,'MM/dd/yyyy HH:MI:ss AM'),
            start_date_str,
            end_date_str,
            items_total,
            items_with_x,
            items_without_x,
            items_with_x_percent,
            items_without_x_percent
        PIPE ROW(temp);
        RETURN;
    END;</em>
    I've changed some of the details here from the original so there may be some syntax errors but hopefully you get the gist of the situation.
    any help would be appreciated.
    Thanks

    activereports is a report generator for .net
    as for why it's written the way it is, I have no idea. Like I said, I didn't write it, I'm only trying to get it to work. There is far too much of it (and I'm far under-skilled) to go back and re-write everything the way it should be.
    this function is pretty simple, it takes a start & end date as a string as parameters to the function. it converts those to timestamps and query's an existing table with data for the number of times condition X is true or false with in that date range. This is what the report being generated reports on.
    This one was short and simple which is why I posted it. Others are far more complex and do loop, but for the sake of simplicity I posted this one. I get the same error with all the rest and I figure if I can get one working, the rest probably suffer from the same issue so fixing the rest should be fairly straight forward.
    as for priv's the user is granted all priv's (that are available when you create a new user in 10g XE's web admin interface), and it won't let me grant/remove priv's from the visual studio addin for myself.

  • Crystal report parameter issue in SAP B1 8.8

    Hi Experts,
    We are facing following issue in Crystal report SAP B1 8.8 version
    Can not open crystal report without mentioning optional parameters.
    User is forced to mention all parameters
    User should allow to open crystal report by mentioning mandetory parameters
    if We set for the parameter value of field [Optional Prompt] to 'True' and then preview in SAP Business One, then although the dialogue is displayed,  click 'OK' without populating the parameter value, the report is run
    but in our case we are passing parameters through Stored Procedure and this option is block in report to do so.
    means that option available to make optional true / false is block and we are not able to do anything.
    Pls. provide solution
    Regards
    Kamlesh Vagal

    Julie.
    This change has already occurred?
    Thanks.

  • Crystal Report dialog box issues

    I am very new at .NET, and this is my second post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.
    The report is handled by a CrystalReportViewer, which has its ReportSource set to the report.
    Via a dialog box, the report asks for a signon and password for a SQL Server database.  Then, via a second dialog box, it prompts for a parameter required by the report.
    All of this works ok, but I have two issues:
    1) I would like to set the database signon and password so that the user doesn't have to enter them each time he runs the report.
    2) If the Cancel button is clicked on any of the dialog boxes, it renders the report unusable until I shut down the application and reopen it.
    I have looked online for two days, but have not been able to find a solution to these above problems.  It is probably simple, but I'm not seeing it.
    I am attaching the relevant code for the button that runs the report.
        Private Sub cmdChecks_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdChecks.Click
                CrystalReportViewer2.DisplayToolbar = True
                CrystalReportViewer2.Visible = True
                CrystalReportViewer2.Height = 600
                CrystalReportViewer2.Width = 1000
                CrystalReportViewer2.Left = 10
        End Sub
    Can anybody help me with this?
    Thank you!

    Hi,
    I would like you to know the code of the logon based on the object models-
    If you are using the ConnectionInfo then use the below code:-
    //For web application
    ConnectionInfo crConnection = new ConnectionInfo();
    // Connection Information
    crConnection.ServerName="D-2818-W2K";
    crConnection.DatabaseName="Northwind";
    crConnection.UserID="sa";
    crConnection.Password="sa";
    crReport.Load(Server.MapPath("CrystalReport1.rpt"));
    Tables crTables=crReport.Database.Tables;
    foreach(CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
              TableLogOnInfo crTLOI = crTable.LogOnInfo;
              crTLOI.ConnectionInfo=crConnection;
              crTable.ApplyLogOnInfo(crTLOI);
              crTable.Location=crTable.Location;// for multiple table selection
    CrystalReportViewer1.ReportSource=crReport;
    ====================================================================================
    //For desktop application
    ConnectionInfo crConnection = new ConnectionInfo();
    // Connection Information
    crConnection.ServerName="D-2818-W2K";
    crConnection.DatabaseName="Northwind";
    crConnection.UserID="sa";
    crConnection.Password="sa";
    crReport.Load(Application.StartupPath + "//CrystalReport1.rpt");
    Tables crTables=crReport.Database.Tables;
    foreach(CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
              TableLogOnInfo crTLOI = crTable.LogOnInfo;
              crTLOI.ConnectionInfo=crConnection;
              crTable.ApplyLogOnInfo(crTLOI);
              crTable.Location=crTable.Location;// for multiple table selection
    CrystalReportViewer1.ReportSource=crReport;
    =====================================================================================
    If using ReportDocument object model
    //For web application
    ReportDocument crReport= new ReportDocument();
    crReport.Load(Server.MapPath("CrystalReport1.rpt"));
    crReport.SetDatabaseLogon("sa","sa");
    CrystalReportViewer1.ReportSource =crReport;
    =====================================================================================
    //For desktop application
    ReportDocument crReport= new ReportDocument();
    crReport.Load(Application.StartupPath + "//CrystalReport1.rpt");
    crReport.SetDatabaseLogon("sa","sa");
    CrystalReportViewer1.ReportSource =crReport;
    To download sample code click [here|https://boc.sdn.sap.com/codesamples].
    You can also take help from [Dev library|https://www.sdn.sap.com/irj/boc/sdklibrary]
    Hope this helps!!
    Regards
    Amit

  • Crystal Report Parameter not showing in IPAD

    Hi All, 
    I create simple Purchase register report  by using Crystal report with date parameter
    My problem is that report not working on Ipad and its showing blank space .  
    The report working fine on ipad when i run report without parameter.
    Kindly tell me solution.

    Hi Rajesh,
    I am new to this Mobility..What is integration service upgrade..
    Currently we are using
    SMP Legacy connection typ1.
    BO version is 4.1 SP02.
    App is 6.0.6
    Please advise on this issue...and the steps which you have used..

  • Crystal Reports xi r2 integrating with vs2005

    Hi,
    I'm having a problem getting these two integrated and working properly with all the functionality that I need.
    I installed vs2005 and then CRXIR2, and now in vs2005 when I have a report open, I have 2 Crystal Report tabs at the top and in each the options are repeated 4 times for each menu item, makes for a very cluttered menu.
    Also, when I an existing report to a vb2005 asp project in the property pages/web config it adds 2 assemblies for each items, one for version 10.2.3600 and one for 11.5.3700. Is there a way that I can eliminate this.
    And lastly, I use ODBC connections to a database and with the 10.2.3600 assemblies it was disconnecting right away and closing the session after the queries, while the new 11.5.3700 ones do not seem to kill the sessions and fills up the connections until I manually go out and clear them up.
    I know thats a lot to deal with, but I'm sure that they are all related.
    Thank you very much for your help.
    James

    Hi James,
    Microsoft released an update for VS.NET 2005 which broke the integration of Crystal XI R2 with .NET 2005 when applied.  Just do an uninstall/reinstall of Crystal XI R2 and that should fix the multiple tab and drop down issue as well as it putting in both 10.2 and 11.5 assemblies.
    You should probably create a new thread for the 2nd problem if it persists after the uninstall/reinstall.
    Jason

  • Crystal report parameter problem while uploading in sap business one

    Hi
    All
    I designed a crystal report using
    stored procedure
    and
    Routemas user defined table
    in sql server with three parameter
    routname,from date,to date
    these parameters are from storedprocedure only but not created in report
    i set the parameter routename  as dynamic and i assigned the routename field from routemas table
    when i run the report in the parameter window it displays the list of routenames
    upto this is k but
    when i upload this report in sap business one 8.81 PL-05  and
    run this report in sap environment First it asks parameters there
    it didnt display the list of routnames
    when the parameter routname is set as static and assign some  routenames manually
    then it shows the list in sap environment
    Can any suggest the answer
    Edited by: madhu ganga raju on Oct 17, 2011 7:06 AM

    Hi Rhaul,
    i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
    Or as a workaround,
    try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
    Regards,
    D

  • Crystal Reports for Eclipse issues running under Oracle Jdeveloper.

    <p>I am having issues trying to get a small application that I developed in eclipse that uses Crystal Reports to work with Oracle&#39;s JDeveloper OC4J embedded server.  I can run the application fine and when I try to view  a report I get a partial report rendering and then get the following exception:</p><p> </p><p>2006-10-03 06:55:38.778 NOTIFICATION  J2EE JSP0008 Unable to dispatch JSP Page : java.lang.IllegalStateException: Writer already retrieved<br />    at com.evermind.server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:882)<br />    at com.evermind.server.http.EvermindHttpServletResponse.getJspOutputStream(EvermindHttpServletResponse.java:877)<br />    at com.evermind.server.http.EvermindJSPWriter.initServletOut(EvermindJSPWriter.java:480)<br />    at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:492)<br />    at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:391)<br />    at com.evermind.server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:361)<br />    at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1574)<br />    at sample20_reports._MartyRpt_2d_viewer._jspService(_MartyRpt_2d_viewer.java:143)<br />    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)<br />    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)<br />    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)<br />    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br />    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)<br />    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)<br />    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)<br />    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)<br />    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)<br />    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)<br />    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)<br />    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)<br />    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)<br />    at java.lang.Thread.run(Thread.java:595)</p><p> </p><p>Does anyone have any idea of what is causing this?  </p><p>I really need help fixing this issue.  Any help would be much appreciated.</p><p>Marty </p>

    <p>I agree with Rob that it is likely the OutputStream object throwing the error. Another option is to try the following code for your viewer code:</p><p> </p><p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************<span>  </span></span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">{</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// Create the CrystalReportViewer object</span></font></p>  <p style="margin-right: -0.75in" class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">CrystalReportViewer crystalReportPageViewer = </span></font><strong><font face="Courier New" size="2" color="#7f0055"><span style="font-size: 10pt; font-family: "Courier New"; color: #7f0055; font-weight: bold">new</span></font></strong><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black"> CrystalReportViewer();</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New""> </span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">//<span>    </span>set the reportsource property of the viewer</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">IReportSource reportSource = clientDoc.getReportSource();<br />crystalReportPageViewer.setReportSource(reportSource);</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New""> </span></font></p>      <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">// set viewer attributes<br />crystalReportPageViewer.setOwnPage(</span></font><strong><font face="Courier New" size="2" color="#7f0055"><span style="font-size: 10pt; font-family: "Courier New"; color: #7f0055; font-weight: bold">true</span></font></strong><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">);<br />crystalReportPageViewer.setOwnForm(</span></font><strong><font face="Courier New" size="2" color="#7f0055"><span style="font-size: 10pt; font-family: "Courier New"; color: #7f0055; font-weight: bold">true</span></font></strong><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">);</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New""> </span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// Apply the viewer preference attributes</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// Process the report</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">String output = crystalReportPageViewer.getHtmlContent(request, response, application); </span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">out.print(output);</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">}</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************<span>  </span></span></font></p>  <p> </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

Maybe you are looking for

  • Submit statement help - URGENT!!

    Hi.. pls help me with this.. requirement is like this.. I am calling a report from another one. Say the calling report is first and the called is second. I am calling using submit statement. populated data in an internal table in second report. Retur

  • Table move after data deletion in oracle 11g

    Hi, Our previous system was in oracle 9i, And we used to archive our data in every 1 year which caused a huged number of DML operation our database. After that,we used to move our table and rebuild indexes to releases spaces. After Upgradation ,our p

  • ATI 1900 XT Card Settings for Dual 30" Displays?

    Just installed the 1900 card with dual 30" monitors, and a window giving me 4 options appeared. I'm not sure what the differences are... which setting will give me the maximum speed for Aperture?

  • Fonts from OSX to Classic

    Hi,sorry, but I just can't seem to find the info I need in the discussions ongoing...hope this isn't too remedial. I need to use a full version of Palatino in Pagemaker, which is a Classic App. The full version of Palatino (meaning, Palatino Bold, Pa

  • How to download Mavericks in 2015?

    I would like to install Mavericks, not Yosemite, on a early 2008 iMac (3 gig ram). I can't find the download - where can I find it?