Error when running the report

hello,
i am running a report, which has three parameters begin date, end date and dept full name.
for example when i am running the report with following parameter's works fine they are 01/01/2002, 02/02/2002 and dept name is Animal Control.
but when i am running the report with the following parameters its giving problem i.e.
01/01/2002, 02/02/2002 and dept name is Mayor's office its not running the report says command line syntax error rep-0159.
in the database the dept name is Like Mayor's office.
i dont know how to convert the apostrophe to a string or what ever, to get the report.
this is production problem.
please do help me out.
thanks.

Hello!
I guess you are running your report using rwrun60.exe, probably in batch mode.
In such cases string parameter with single quote inside of it should be passed in a such way: rwrun60 ... paramname3='Mayor''s office' ...
In Reports 6.0.8.11.3 it works fine.
No problems at all if you are calling report from the Forms using run_product built-in and passing prameter list into the report.
Regards,
Andrew Velichko
Brainbench MVP for Oracle Developer 2000
http://www.brainbench.com

Similar Messages

  • Error when running the reports?

    Hi ALL
    I instl business content reports for my client req, but now some repots are working and some reports gives
    error below,
    The requested query 0CSAL_C07/0CSAL_C07_Q0101 does not exist on the current server
    Error when generating dataProvider 0CRM_PRLI_Q0101_V01
    i can not able to run the reports , did any body face this error plz help me

    Are you running OBIEE on Windows? Your UNC path is probably set on the instanceconfig.xml Presentation Services config file. It would seem that your network share, your network or something in between fails intermentely causing OBIEE to be unable to write to the catalog. I would suggest trying to move your Catalog to another network share more reliable to have your network administrators confirm there are no network issues affecting your box.

  • UNC path error when running the reports

    Hi,
    I am not sure if we are using UNC or not in our environment.
    This issue is happening intermittently. When we face this issue with some report, opening some other report or dashboard and coming back to this report would resolve the issue.
    I would like to know what exactly is causing this issue.
    It is happening with reports and ibots as well.
    Error message from sawlog.log:
    Exception occurred while working with file: \\?\UNC\ABC\AnalyticsCatalog\BIAnalytics\root.atr
    The specified network name is no longer available.
    Type: Error
    Severity: 40
    Time: Tue Sep 14 06:09:52 2010 PDT
    File: project/webcatalog/localwebcatalog.cpp Line: 818
    Properties: ThreadID-5396
    Location:
    saw.catalog.local.writeObject
    saw.sqlNodeCacheMgr.cleanExpired
    saw.taskScheduler.processJob
    saw.threadPool
    saw.threads
    Error outside of Presentation Catalog occurred.
    Can you please suggest me where I can exactly check this UNC path setting? Is there any other way to debug this issue?
    Thanks in advance.
    Regards
    Tiru

    Are you running OBIEE on Windows? Your UNC path is probably set on the instanceconfig.xml Presentation Services config file. It would seem that your network share, your network or something in between fails intermentely causing OBIEE to be unable to write to the catalog. I would suggest trying to move your Catalog to another network share more reliable to have your network administrators confirm there are no network issues affecting your box.

  • Error while running the Report

    Hi ,
    I am trying to run the Report in Bex Analyzer. and once I enter the value for the variable, it gives me message that "Element is not correctly define (please check query)" and when i click on the error it gives me detail message as below :
    <b><b>Diagnosis
    Additional elements that do not have the same dimension, such as quantities and amounts or amounts and ratios, are added to element Sales Qty Gallons .
    Procedure
    Check your definition.
    If you still want to use this addition, you can suppress the dimensionality of one or both subexpressions by using the 'NODIM' operator. The system then interprets this or these subexpressions as nondimensional numbers.
    In the executed query, you can use the Key Figure Definition function to analyze element Sales Qty Gallons .</b></b>
    Now the thing is I am already using "NODIM" operator to add those elements. and I m not sure why this error is coming up now because I have created this query a while ago and it wasnt giving me any error at that time but now I have make some changes into it and it;s giving me this error while running the Report. But the thing is I didnt change anything in the element for which it;s showing me error.
    Thanks,
    Naitik

    Naitik,
    There are two or more key figures in your report. They are defined by different dimensions and somewhere you have a formula with both these key figure.
    Edit your query and select the Check Query icon. It will tell you which calculation you have the problem with. Edit this calculation to see which key figures are present.
    If the formula is logically correct, best thing to do is to put a NODIM( ) on your key figures that make up the formula, and then change you formula to look at the NODIM( ) version.
    That will fix things for you,
    Regards
    Gill

  • Error when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Error While Running the report in oracle apps

    Hi All,
    I got an error while running the report.The error is
    "FDPSTP failed due to ORA-06510: PL/SQL: unhandled user-defined exception".
    Please anyone give ur idea to resolve this issue as it is urgent.
    Thnaks
    Surya

    Hi;
    I got an error while running the report.The error is
    "FDPSTP failed due to ORA-06510: PL/SQL: unhandled user-defined exception".
    Please anyone give ur idea to resolve this issue as it is urgent.What is EBS version? You get this error on which steps or report? If you make search at metalik as FDPSTP failed due to ORA-06510: PL/SQL: there are 35 similar docs avaliable
    Regard
    Helios

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

  • Getting the below error when running the Baseline.grf for the first time

    I am getting the below error when running the Baseline.grf for the first time.
    Appreciate your support in resolving it.
    Error below:
    INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
    INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
    INFO [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 901120 KB
    INFO [main] - Loading default properties from: defaultProperties
    INFO [main] - Graph definition file: graph/Baseline.grf
    INFO [main] - Graph revision: 1.114 Modified by: mkressirer Modified: Thu Apr 12 13:27:18 EDT 2012
    INFO [main] - Checking graph configuration...
    INFO [main] - Graph configuration is valid.
    INFO [main] - Graph initialization (Baseline)
    INFO [main] - [Clover] Initializing phase: 0
    INFO [main] - [Clover] phase: 0 initialized successfully.
    INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
    INFO [WatchDog] - Starting up all nodes in phase [0]
    INFO [WatchDog] - Successfully started all nodes in phase!
    INFO [RUN_GRAPH1_0] - Running graph ./graph/InitDataStore.grf in the same instance.
    INFO [RUN_GRAPH1_0] - Checking graph configuration...
    INFO [RUN_GRAPH1_0] - Graph configuration is valid.
    INFO [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
    INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
    WARN [RUN_GRAPH1_0] - WS messenger cleanup failed.
    java.lang.NullPointerException
         at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
         at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
         at org.jetel.graph.Phase.free(Phase.java:487)
         at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
         at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
         at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
         at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
         at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
         at org.jetel.component.RunGraph.execute(RunGraph.java:302)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    WARN [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/InitDataStore.grf" finished with error).
    WARN [RUN_GRAPH1_0] - Some graph(s) finished with error.
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/InitDataStore.grf' failed!
    ERROR [WatchDog] - Node RUN_GRAPH1 error details:
    org.jetel.exception.JetelException: Graph './graph/InitDataStore.grf' failed!
         at org.jetel.component.RunGraph.execute(RunGraph.java:324)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 2
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 ERROR 2 20132
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    WARN [exNode_0_1306871483270_RUN_GRAPH1] - Attempt to unregister non-registered thread in the ContextProvider.
    ./graph/InitDataStore.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
    INFO [WatchDog] - WatchDog thread finished - total execution time: 2 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !

    It can't find an Endeca specific class when running via the clover command line utility. Thus, the classpath being set in that shell script is not incorporating the .jar files where the endeca-specific classes are packaged. I would start by adding an line to see what your classpath is set to. There are actually already some lines of shell script in clover that you can uncomment to see what .jars are getting loaded:
    #echo $CLOVER_LIB/*
    for i in $CLOVER_LIB/*.jar $CLOVER_LIB/*.zip; do
         LOCAL_CLASSPATH="$LOCAL_CLASSPATH:$i"
    done;
    #for i in `ls $CLOVER_LIB/*.jar`; do
    #echo $i
    #done;
    You could also echo LOCAL_CLASSPATH to see what is getting set there. At the end of the day, you will need the endeca-specific jars to load which can be found here: /Endeca/Discovery/2.3.0/Integrator/plugins/com.endeca.latitude_1.0.0/*
    HTH,
    Dan
    http://branchbird.com

  • Error when running  the ant task

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

  • Error when selecting the Report Center tab of the Issues web DB

    I started a DB from the Issues web DB template. Everything worked fine when I shutdown last night, but this morning I started receiving the following error when selecting the Report Center tab.
    You must specify an object for the BrowseTo to open. I have noticed that the ReportCenterDefault form no longer displays. How do I correct this?

    Hi Ben
    Wyer,
    Have you resolved
    your problem yet, and does the suggestion help you? If you still have any concern on the thread, feel free to follow up.
    Best Regards,
    Bruce Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Error when running crystal report

    i saw the error in log file 'Only TrueType fonts are supported. This is not a TrueType font' and 'Error while running Crystal report'
    Help me to fix this problem.Thanks inadvanced.
    I used some software developed in vb6.It changed some system font when running :D.
    i want to run both that soft   and sap.

    Hi,
    Please refer to the link, [Re: CR XI R2, Crystal Report Viewer Opentype Font not supported|Re: CR XI R2, Crystal Report Viewer Opentype Font not supported].
    What is the version of your crystal report, we will try to apply some service packs.
    Regards,
    Clint

  • Error when running a report writer

    Hi,
    I am getting an error ("Internal error: More than 999 GREP blocks were requested") when running a report writer.
    The error diagnosis is:
    Internal error: More than 999 GREP blocks were requested                                                                               
    Message no. GR 215                                                                               
    Diagnosis                                                                               
    An internal error occurred in the Report Writer.                                                                               
    When running the program, you selected the option to store your results
         permanently.  However, when the selected data was stored in blocks in  
         the GREP file, the maximum number of blocks was exceeded.                                                                               
    System Response                                                                               
    The selection program was terminated.                                                                               
    Procedure                                                                               
    Inform your system administrator.                                                                               
    You may have to increase the block size for the GREP blocks.    
    Anybody knows how to increase the size of GREP blocks?
    Thanks in advance.
    Regards,
    Arun Mohan

    Hello,
    The reason for the error GR215 is that too many data blocks are being
    processed.
    The explanation is one of the following:
    - You have variation activated in the report
    - A large group of objects is being processed and the report output
       fails due to the large data size
    - the selected data is reaching the technical restriction
    Check the SAP note 64537. This note advises you to set the BLOCK SIZE parameter
    in the coding to 500000. However, the maximum value possible is 999999. You may -
    if you already implemented the coding change of SAP note 64537 - raise the parameter
    once more to 999999.
    If the error then still remains the selected/processed data is definitely too much.
    Then check the report definition in comparison to SAP notes 317574 and 387414.
    Regards,
    David

  • Rep-52005 error when running a report from form with parameter form

    I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
    I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
    PROCEDURE call_report (
    p_report_name VARCHAR2,
    p_reportobj_name VARCHAR2 DEFAULT NULL,
    p_parameter_list paramlist DEFAULT NULL,
    p_parameter_string VARCHAR2 DEFAULT NULL
    IS
    repid report_object;
    v_rep VARCHAR2 (100);
    rep_status VARCHAR2 (100);
    v_report_url VARCHAR2 (240);
    v_interface VARCHAR2 (50);
    v_report_parameter VARCHAR2 (1);
    vc_user_name VARCHAR2 (100);
    vc_user_password VARCHAR2 (100);
    vc_user_connect VARCHAR2 (100);
    vc_connect VARCHAR2 (300);
    v_reportserv VARCHAR2 (30);
    v_job_number number;
    BEGIN
    /* Get the database to run the report against and
    find out if the report has any parameters */
    SELECT report_parameter_flag
    INTO v_report_parameter
    FROM program_list
    WHERE program_type = 'REPORTS'
    AND UPPER (screen_id) = UPPER (p_report_name);
    vc_user_name := get_application_property (username);
    vc_user_password := get_application_property (password);
    vc_user_connect := get_application_property (connect_string);
    v_reportserv := 'rep_xxxx_ias10g_home';
    v_report_url := 'http://xxxx.state.il.us';
    v_job_number := length(v_reportserv) +2;
    vc_connect :=
    vc_user_name
    || '/'
    || vc_user_password
    || '@'
    || vc_user_connect;
    v_interface := get_application_property (user_interface);
    IF ( v_interface = 'WEB'
    AND v_report_parameter = 'N'
    THEN
    repid := find_report_object(p_reportobj_name);
    set_report_object_property (repid, report_comm_mode, synchronous);
    set_report_object_property (repid, report_destype, cache);
    set_report_object_property (repid, report_desformat, 'pdf');
    -- v_reportserv := get_report_object_property (repid,report_server);
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (repid, report_other, p_parameter_string);
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSIF ( v_interface = 'WEB'
    AND v_report_parameter = 'Y'
    THEN
    repid := find_report_object (p_reportobj_name);
    set_report_object_property (repid, report_comm_mode, synchronous);
    set_report_object_property (repid, report_destype, cache);
    set_report_object_property (repid, report_desformat, 'pdf');
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet'
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSE
    run_product (
    reports,
    p_report_name,
    synchronous,
    runtime,
    filesystem,
    p_parameter_list,
    NULL
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    message (SQLERRM);
    END;
    My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
    Any help will be greatly appreciated!!
    Shellie Bricker

    Your code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
    For what I can see, the P_ACTION parameter should end in ?...
    i.e.
    P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet?'
    );If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
    Hope this helps,
    UPDATE:
    If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
    i.e.
    http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
    The above code will throw error REP-52005: The specified key report does not exist in key map file.
    Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM

  • Receiving Error when running Crystal reports with Images in WebSphere 6.1

    I am designing a report with a sub report that displays images via (BLOBS). The images are between 10-20 kb in size and there could be up to 200 images in the report.
    There are no problems when I run the report using Java 1.5 with Tomcat 5.5 server and JDBC connection (using ojdbc14.jar) to an Oracle 10g database.
    It seems that if I attempt to run the same report on a WebSphere 6.1 environment, the below error is encountered (stack trace is below)
    I am using Crystal 2008 (ver 12.0.0.683).
    Based on the stack trace, I think it is either an IBM JDK  javax.* package compatibility issue or the current version of Crystal reports (no service packs installed - current client environment) has a known issue with Websphere.
    I searched the forums for any similiar issues but could not find one.
    Could installing Service pack 3 solve this issue or is there another possibility?  
    Any assistance would be greatly appreciated.
    Thank you.
    Tony. 
    Stack Trace follows  (Needed to trim due to size, trying to keep unique messges) *******
    ERROR [pool-14-thread-1] c.u.p.e.g.c.GenerateCrystalReport [GenerateCrystalReport.java : 211] Generate Report: Template =
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.utc.pw.evm2.generatereports.crystalreports.GenerateCrystalReport.generateReport(GenerateCrystalReport.java:152) [classes/:na]
    at com.utc.pw.evm2.generatereports.ReportThread.run(ReportThread.java:144) [classes/:na]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) [na:1.5.0]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) [na:1.5.0]
    at java.lang.Thread.run(Thread.java:811) [na:1.5.0]
    Caused by: java.lang.VerifyError: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    at com.crystaldecisions.reports.common.image.ImageUtils.a(SourceFile:901) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.image.ImageUtils.if(SourceFile:873) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.JavaImage.do(SourceFile:183) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.CrystalImage.createImage(SourceFile:50) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.if(SourceFile:103) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.<init>(SourceFile:57) [CrystalReportsRuntime.jar:12.2.207.916]
    [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:96) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223) [CrystalReportsRuntime.jar:12.2.207.916]
    ... 8 common frames omitted
    2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 233] Attempt to generate report TEARDOWN using
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt for E733570-01 failed: Generate Report: Template =
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;, REPORTSDKEXCEPTION
    2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 238] Exception was caught trying to build report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    Edited by: Liro9999 on Jul 21, 2010 1:55 PM

    Thank you for your reply.
    The answer to your question concerning if Websphere is a clean install is no.  The client has other applications running on that server.  We do not have access to that server other than the log files and I requested information as to what other applications are on the server.
    We did try adding a known working version of the IIOMetadata class in the ear file and deploying it in the hopes that  class will be loaded before using any other version.  Unfortunately, we receive the posted errors.  Which may mean that a different version of the class has already been loaded in memory and that is the one being accessed.  A request would have to be made to the client for a shutdown and restart of Websphere in determining if that may be the case.  Since there are other applications running, coordination and communication to the other application owner will need to be done first.
    Any additional ideas will be appreciated.
    Thank you.
    Tony.

Maybe you are looking for

  • Lost photos while updating to iOS 5

    First I updated itunes to 10.5, and then I downloaded and installed iOS5 on my iphone 4. Nothing was automatically synced before iOS5 installation, but itunes showed that it was backing up data. After installation, when itunes restored the backup, I

  • How to install my onboard Networkcard and where do i find the drivers?

    I have updated my computer with some hardware and i now need to install the sound and network drivers again. I think i found the sound drivers  but i cant find the network driver. Anyone got a link for me? And how do you install these drivers? Just r

  • Installing 9 over 8: how to remove 8

    I installed 9 over 8 and now I have both versions on my Mac. I called Apple to ask how to remove 8, since it's taking up room. They said, assuming that you didn't change ANY default folders when you installed 8 and 9, then simply throw away version 8

  • Can one develop plug-ins for Photoshop Touch?

    I have a few Plug-ins for Photoshop CS, can I develop plug-ins for Photoshop Touch for Tablets?

  • Doc files have been renamed to unknown file format .bhdiraa

    Hey All, Randomly doc extensions files are being renamed to doc.bhdiraa .It looks like files have been encrypted. Files are shared on the server and served by 100s of users (From WAN and LAN end).We did scan server with Many AVs and with virustotal.c