REP-300 Error while running report using App Server

Hi,
I am currently trying to run a report using the Application Server.
This report is being called from a form.
I am able to connect to the report server and all configurations seems to be correct.
But when I execute the report from the form, I am getting error "Unable to run report"
When I look at the error message in the Report Server queue, I find
"REP-300 Table or View does not exist.."
But that table does exist in the database.
What could be be the problem ?
Please help.
The code in the form that calls the report is
report_id := FIND_REPORT_OBJECT( report_name );
vc_user_name:=get_application_property(username);
vc_user_password:=get_application_property(password);
vc_user_connect:=get_application_property(connect_string);
vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
SET_REPORT_OBJECT_PROPERTY(report_id ,REPORT_OTHER, 'paramform=yes     p_user_connect='||vc_connect ||' p_servername=repsrv'||' p_action=<host>/reports/rwservlet?' );
v_rep := RUN_REPORT_OBJECT(report_id, parmlist_id);

The report is working perfectly fine when I run it from the Report Builder. I get the correct output.
I am getting this error when I try to run the report through a Report server.
I run the form from the Forms 10g builder. This form has a button "Run Report". When I click on the button the report is run using the Report server.
This is when I get the error.
There are other forms that are also called via the same form. Those work fine. The only difference between those forms and this one is that this one has user parameters passed to it. This one also has an attached library attached to it.
The code in the Form to call the report is
report_id := FIND_REPORT_OBJECT( report_name );
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'pdf');
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, 'rep-vena01-xp');
v_rep      := RUN_REPORT_OBJECT(report_id, parmlist_id );
v_jobid := substr( v_rep, length( v_reportserver) + 2, length(v_rep) );
v_repstatus := REPORT_OBJECT_STATUS( v_rep );
IF ( v_repstatus = 'FINISHED' ) THEN
v_url := '/reports/rwservlet/getjobid' || v_jobid || '?server=' || v_reportserver ;
web.show_document( v_url, '_BLANK' );
END IF;

Similar Messages

  • Get a Report crashed error while running report using the mode character

    Hello,
    I'am getting an "Enable to run report - Report as crashde" issue only when I'am running reports using the mode character. The same report with desformat pdf never has any problems. I have changed the englife (set to one) increase the cachesize but I still have the same issue.
    I'm using report 6i and Oracle 8i.
    Thanks in advance for your help.
    Regards,
    Laurent.

    Hi Thanks for the response,
    In fact the report in character mode is working fine in my environnement but is not working on my customer environnement (which is supposed to be the same as mine). I was thinking of cache size issue or something like this ?
    Regards,
    Laurent.

  • REP-56048 Error while running report

    Hi,
    While generating output to excel file the report crashed with the following error.
    REP-56048: Engine rwEng-0 crashed, job Id: 1081
    It however executes fine with PDF. Please suggest a solution.
    Report Server Version: (10.1.2.0.2)
    Thanks and Regards
    Babar Baig

    To prevent the error:
    REP-1247: Report contains uncompiled PL/SQL
    recompile the rdf file on the staging application server. use the following command to recompile it.
    rwconverter.sh userid=scott/tiger@test source=sample.rdf batch=yes dtype=rdffile stype=rdffile overwrite=yes
    This will takes the source rdf file and recompile it to an rdf file of same format as the operating system of the app server.
    For example, if I use reports builder on windows pc to create the rdf file and then move it to a unix box that is hosting the app server. Some reports will get this error for the first time they are run. The subsequent times, they might not get the same error. The above given syntax will prevent this from happening.
    I have tried it in my production env and it works like a charm. If you need further help, email me at [email protected]

  • REP - 300 Error while executing report from Application

    Hi,
    I have report in Report Builder & for the same report form is there in Form Builder in which parameter page is designed. From application where I am calling report is internally calling form & in form Procedure Run Report is there which is calling report from Report Builder. Both report from builder & form form Builder are compiled . Also query is executing fine in Toad without error. Also all query fields are present in database.
    But when I am trying to excute report from Application it is giving error as "REP - 300 Invalid Identifier " & it displays whole query.
    Note - Report & it's Form are in ORACLE - 10g. Also the user through which I am executing report from application is ADMIN user , so it has executing permission.

    looks like error in parameters. check out the value of variable that you are passing through to report from form. Put a messages to see variable values before execute report.

  • "Failed to open report" error while running reports using Crystal Report

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi,
    Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
    It might help you!!
    Regards,
    Amit

  • Error while running report..

    Hi, We use 9iAS on linux and while running one report , we get this error:
    REP-0177: Error while running in remote server
    REP-300: date format is too long for internal buffer
    (sign(decode( ==> trunc(imp.tnr_matu_date),
    When i run the same report on my system (WINDOWS) it runs fine..Even on my dev UNIX box , it runs without any problem..Could somebody help me out?Thanks..

    Hi
    Check that eul user discoverer user has the select right to the data table(s).
    Ott Karesz
    http://www.trendo-kft.hu

  • Getting Error while running Report on Enterprise Report console

    Hi all,
    I am using Report builder 6i, I have developed one report and configued it on Enterprise Reporting tool but when tried to run it through Enterprise Reporting Console I got the following error
    REP-0177: Error while running in remote serverREP-0736: There exist uncompiled program unit(s).REP-1247: Report contains uncompiled PL/SQL. FAIL 1
    although the report is running fine through the report builder.
    any thoughts?
    Thanks in advance
    Manvar
    Message was edited by:
    [email protected]

    Hello,
    Do you reproduce the error if you implment the example provided in the document :
    Oracle Application Server 10G -Integrating Oracle Reports in Oracle Forms Services applications:
    http://www.oracle.com/wocportal/page/wocprod/ver-31/ocom/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Regards

  • Timeout error while running Report

    Hi
    All,
    Windows 2000
    Oracle Report builder 10g
    Oracle developer suite 10g
    when I had OLD computer i was able to run report more than 10 minutes. Now, I got NEW computer and i am getting TIMEOUT error while running report more than 10 minutes.
    Any clue?
    Thanks,
    Vishal

    As Fs says it depends on how you're running the report.
    If you're running via a server then you need to make the change on that server or amend the URL you are using to run the report to add the enginereponsetimeout parameter.
    You can amend this parameter on the server either by using the Application Server Control as I described in my last post or by directly editing the config file. This file will be called <reportservername>.conf and can be found in the oracle_home/reports/conf directory.
    In this file look for the engine tag and see if the engineResponseTimeOut property is set.
    E.g:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="20" callbackTimeOut="90000" engineResponseTimeOut="5">
    </engine>
    This value is in minutes so increase to a time larger than that it takes to run the report.
    If instead you're running the report via Report Builder on your own PC then look for a file called rwbuilder.conf in the same location on your PC and make the same change as described above.
    If this property isn't in the file then the engine isn't supposed to time out at all so the problem may well be something different. But to discount it try setting to a large value like 30.

  • Error while running report 10g

    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(1000);
    rep_status VARCHAR2(2000);
    BEGIN      
         repid := find_report_object('REPORT2');      
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    set_report_object_property(repid, report_comm_mode, 1);
    set_report_object_property(repid, report_destype, cache);
    set_report_object_property(repid, report_desformat, 'PDF');
    set_report_object_property(repid, report_server, 'myserver');
    v_rep := run_report_object(repid);
    rep_status := report_object_status(v_rep);
    WHILE rep_status IN ('RUNNING', 'OPENING_REPORT', 'ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    message(rep_status);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document('http://localhost:8889/reports/rwservlet/showjobid' || substr(v_rep, instr(v_rep, '_', -1) + 1)
    || '?server = myserver');
    ELSE
    message('error while running reports-object ' || error_text);
    message(' ');
    clear_message;
    END IF;
    EXCEPTION
         WHEN OTHERS THEN
    message('error while running reports-object' || error_text );
    END;
    I have been trying the whole 5 days running this report but it is giving me error, i am making simple report which select all data and display from emp table, please help. Error I am getting is unable to run the report and Terminated_Report.

    Hi,
    Check this link...How to call a report in Forms 10g ?
    Hope this works...
    Hamid

  • Error while running adcfgclone on APPS tier (ERROR: context creation not completed successfully)

    I am getting below error while running adcfgclone on APPS tier
    ERROR : Unable to set CLASSPATH
    /corp_ex1/DRPM/drpmcomn/clone/bin/../jlib/classes111.zip: is  missing
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_29475.err file for errors
    i  copied classes111.zip from IAS_HOME to COMMON_TOP . Now I am getting below error
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_30763.err file for errors

    Please post the details of the application release, database version and OS.
    ERROR: context creation not completed successfully
    This is a generic error, please check the log files for details about the error.
    Thanks,
    Hussein

  • Error while running report from Form. i am using Forms 10g.

    dear all,
    here is a problem when running the report from a fom. gives the pollowing error.
    REP-110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'.
    i am using Forms 10g.
    thanks
    Muhammad Nadeem

    See metalink doc id 215469.1
    The purpose of this document is to:
    - provide information on how to resolve the REP-110 error.
    - give hints on how to troubleshoot problem.
    - include a comprehensive summary of various scenarios which may
    result in a REP-110 error

  • FRM-92101 error while running report from a button or menu

    Hi All,
    I am getting the error FRM-92101 while running report without parameter from a button or menu. I am using Developer Suit 10g. I get the error as it shows there has some configuration problem in my form. Will you please help me anyone how can i solve the problem. My previous forms running very well both with parameter and without parameter.
    Arif

    Hello Sir,
    Thanks for your cooperation. I have solved my problem by myself. The fact was that, when i tried with the following code which made my report---
    SELECT br.bid, br.bname, br.branchtxnstatus, dif.difference
    FROM branch br,
    (SELECT gladbrid branchid,
    SUM
    (CASE
    WHEN ga.gl_acc_categry IN ('L', 'I')
    THEN gd.gladbalance
    ELSE -1 * gd.gladbalance
    END
    ) AS difference
    FROM glaccount ga, glaccountdetail gd
    WHERE ga.glid = gd.gladglid
    GROUP BY gladbrid) dif
    WHERE dif.branchid = br.bid AND br.branchtxnstatus = :Br_Status
    and dif.difference!=0
    ORDER BY br.bid;
    and the code against the button or menu item is---
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('ASSET');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    which has shown the error FRM-92101 and didn't run the report.
    In that case I have changed the query to run the report. first of all i create a view following the query and build the report using a simple select query. that's etc. my report running fine now.
    It is mentioned that there had no error on my codes.
    Arif

  • Error while running adcfgclone on apps tier

    I am getting the following error while running adcfgclone on the apps tier...
    OS: RHEL 5.5 64bit
    Oracle 10.2.0.3
    EBS R12.0.4 Multinode
    DB Tier and APPS Tier on different nodes.
    RC-50004: Fatal: Error occurred in ApplyAppsTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
            at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
            at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
            at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
            at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
            at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
            at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
            ... 6 moreon the checking the logfile I am getting the following error
    Executable : /do5_apphome/apps/tech_st/10.1.2/bin/sqlplus
    SQL*Plus: Release 10.1.0.5.0 - Production on Fri Mar 30 11:12:06 2012
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Enter value for 4: ERRO                                             R:
    ORA-12560: TNS:protocol adapter error
    igccmprf.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    Product Top Drivers executed : AD_TOP  FND_TOP  ICX_TOP  IEO_TOP  BIS_TOP  AMS_T                                             OP  CCT_TOP  WSH_TOP  CLN_TOP  OKE_TOP  OKL_TOP  OKS_TOP  CSF_TOP  IGS_TOP  IBY_                                             TOP  JTF_TOP  MWA_TOP  CN_TOP  CSI_TOP  WIP_TOP  CSE_TOP  EAM_TOP  FTE_TOP  ONT_                                             TOP  AR_TOP  AHL_TOP  OZF_TOP  IES_TOP  CSD_TOP  IGC_TOPI have successfully run rapidclone on db tier without any errors..Kindly advice me what to do to get my apps up and running..Database is already up and running!

    Mr Hussein ,
    I guess it is an issue with autoconfig. So i tried to run auto config manually and got the following error which I would like you to have a look at
                       ADX Database Utility
    getConnection() -->
        sDbHost    : devdb
        sDbDomain  : erp.local
        sDbPort    : 1551
        sDbSid     : dev
        sDbUser    : APPS
        Trying to connect using SID...
    getConnectionUsingSID() -->
        JDBC URL: jdbc:oracle:thin:@devdb.erp.local:1551:dev
        Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
        Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
        JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev)))
        Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
        Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
        JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev.erp.local)))
        Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
        Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
            Verifying connection to the Database   : Could not be stablished
            No Restore Profile file created.
    Restore Profile utility ran successfully
    ===========================================================================
    Listener Port no 1521

  • ERROR WHILE RUNNING REPORT THROUGH FORMS.....!

    hi all,
    ive designed one form in Forms 9i...I'm tryin to run report through a Push button .....report is running well in paper layout through report builder 9i...The problem I'm facing is dat when i pressed button it is giving me error initially as FRM-41214 cannot run report and after that FRM-40735 When button pressed unhandled exception ora-06502.....What could go wrong??... Ive started OC4J instance ....created report object in object nevigator as well and defined basic properties for diff.parameters HTMLCSS,CACHE..etc.,mentioned report path in complete i.e.c:\reports\genbill.rdf ...Can anybody help me out ??? Thnx.!
    -----------------------CODE ON BUTTON----------------------------------
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT5');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('<HOSTNAME>:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=myrepserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;

    When a report terminates with an error, REPORT_OBJECT_STATUS returns the value "TERMINATED_WITH_ERROR", which is 21 bytes of data, but rep_status is defined as 20 bytes. The 6502 error is due to the data not fitting the variable.
    I recommend wrapping the REPORT_OBJECT_STATUS function with a SUBSTR that limits the data returned to 20 bytes, which will ensure the results fit.
    For example:
    rep_status := SUBSTR(REPORT_OBJECT_STATUS(v_rep), 1, 20);

  • Error while running autoconfig on apps tier

    Dears ,
    apps 11.5.10.2
    DB 9.2.0.8
    OS solaris sparc 10 64bit
    while running autoconfig on apps tier autoconfig failed with CLNADMPRF.SH and okladmprf.sh and autoconfig take along time to complete
    ERROR:
    ORA-12154: TNS:could not resolve service name
    1- how can i solve these error ?
    2- should i skip these errors and start upgrade apps from 11.5.10.2 to 12.1.1 and DB from 9.2.0.8 to 11.2.0.1 ?
    Regards ,,,

    while running autoconfig on apps tier autoconfig failed with CLNADMPRF.SH and okladmprf.sh and autoconfig take along time to complete
    ERROR:
    ORA-12154: TNS:could not resolve service name
    1- how can i solve these error ?Please see (CLNADMPRF.SH FAIL WITH ORA-12154 WHILE RUNNING AUTOCONFIG [ID 753535.1]).
    2- should i skip these errors and start upgrade apps from 11.5.10.2 to 12.1.1 and DB from 9.2.0.8 to 11.2.0.1 ?No, please find the error first then proceed with the upgrade.
    Thanks,
    Hussein

Maybe you are looking for