TERMINATED_WITH_ERROR

Hi All,
When I run my report directly from the report builder, I get the output. But when I run it through the form I get TERMINATED_WITH_ERROR status in REPORT_OBJECT_STATUS() builtin. How can I know what that error is? Any idea is greatly appreciated.
Thanks and Regards,
C.Balaji

Hello,
A jobid has been returned by the builtin RUN_REPORT_OBJECT.
You can use the URL :
http://<server>:<port>/reports/rwservlet/showjobid123?server=repserver&statusformat=xml
replace 123 by the jobid and repserver by the reports server name
Regards

Similar Messages

  • Report_Object_Status TERMINATED_WITH_ERROR

    Hello Experts,
    Greetings to everybody!!!
    First of all, I am very excited to give Oracle Fusion Middleware Forms11g R2 a try finally. But i am completely new to this, only experience i got is with forms6i with client-server architecture. I managed to install Oracle Fusion Middleware whole package on my test server(Microsoft Windows Server 2003 R2,Enterprise x64 Edition,Service Pack 2) and got the testing done successfully(thanks to oracle documentation) against Oracle 9i R2 database which is residing on another server on our network. I could run forms, reports individually,successfully. But, my problem is, when i try to call the report from forms using WEB.SHOW_DOCUMENT it WORKS FOR FEW TIMES and then starts throwing the following error.
    TERMINATED_WITH_ERROR
    Then i learned that Report_Object_Status status is not FINISHED and i have no clue about how to get it done. So, i decided to call the report with the status TERMINATED_WITH_ERROR then it gives me the following error.
    REP-52251: The output of job ID 113 requested on Thu Jun 13 23:54:14 PDT 2013 cannot be retrieved.<P>REP-51026: No output is generated for job 113.
    I am not posting the code here thinking that it might not be necessary as it work's few times then don't. So, i'm wondering if it is got to do anything with the configurations on the server. I would be really grateful if you could help me out in this regard.
    Thank You

    Reports Server Queue Status is as follows
    The report terminated with error:
    REP-110: File Testbill.rdf cannot be opened. REP-1070: An error occurred while opening or saving a document. REP-0110: File Testbill.rdf cannot be opened. .
    By the way, i tried making the reports path length in registry very short as suggested by numerous people. But, nothing worked so far.

  • Arbitrary terminated_with_error on reports generation

    Hi,
    we are currently migrating a forms 6i application to 10g and are simultaneously upgrading the deployed database from 9i to 10g as well. Until now, most work has been finished apart from a weird problem concerning the reports server.
    Sometimes, we receive a "TERMINATED_WITH_ERROR" when calling reports from forms, even if it is the same one. This behaviour is completely unreproducable.
    The application server hosting the reports service is now located within the network of the live environment, thereby possibly conflicting with the current live application server.
    Is it possible that the forms service is therefore sometimes trying to connect to the "wrong" reports server, which is named the same way?
    Or is it possible that the reports server sometimes fails to connect to the datebase, which is still located outside the live environment in a completely different subnet?
    We have done some checks but can't figure out what could produce this error.
    Are there any experiences regarding this issue?
    Thanks for the help so far.

    This is what the listener status shows
    Alias                     FINPROD
    Version                   TNSLSNR for HPUX: Version 9.2.0.6.0 - Production
    Start Date                26-JUL-2010 13:45:15
    Uptime                    0 days 2 hr. 9 min. 22 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   /d01/finprod/product/9i/network/admin/listener.ora
    Listener Log File         /d01/finprod/product/9i/network/admin/finprod.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCFINPROD)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hp3.nfpc.com)(PORT=1521)))
    Services Summary...
    Service "FINPROD" has 1 instance(s).
      Instance "FINPROD", status UNKNOWN, has 1 handler(s) for this service...
    Service "FINPROD.nfpc.com" has 1 instance(s).
      Instance "FINPROD", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully

  • INF-200017 Unexpected error TERMINATED_WITH_ERROR

    Am having the above error message popping out each time i want to run a report.
    When i run the report from report builder, i dun face any problem as am able to
    generate the output. Please provide assistance.
    At the report server am getting error
    Terminated with error: <br>REP-110: BACKGROUND is deprecated. See help for more information.
    REP-0110: Unable to open file 'LN3204'.
    REP-1070: Error while opening or saving a document. REP-0110: Unable to open file 'LN3204'.
    Whats the cause of this problem and what should i do? Please guide.
    thanks and best regards,
    Radha
    Edited by: user620064 on Oct 29, 2008 12:50 AM

    you probably don't have permition for reading and writting

  • Error when sending report output to printer from Forms 10g

    Hi,
    I have a simple report that I am running from a form using run_report_object built-in. I can successfully send the report output to a file but when I send the report output to a printer my report is
    terminated with report status of 'TERMINATED_WITH_ERROR'. I am using the default forms service and reports server that comes with the forms builder. How do I specify the reports server to user my default network printer ?Following is the code that runs my report.
    Thanks,
    Anna
    PROCEDURE SEND_TO_PRINTER IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    rep_server system_variables.reports_server%type;
    alldone          exception;
    BEGIN
         select reports_server
         into rep_server
         from system_variables;
         if rep_server is null then
              msg_alert('Error getting the reports server name', 'I', FALSE);                
              raise alldone;
         end if;
         :ctrl.run_report_errors := 'N';                    
         repid := find_report_object('REP_OBJ1');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,rep_server);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         IF :ctrl.rg_print = 'P' THEN
              --Send the output to printer.
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
         ELSIF :ctrl.rg_print = 'R' THEN
              --Rich Text Format
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'rtf');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:ctrl.filename);
         END IF;
         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
              null;
         ELSE
              :ctrl.run_report_errors := 'Y';
              msg_alert('Error when running report.' || rep_status, 'I', FALSE);           
         END IF;
    EXCEPTION
         when no_data_found then
              msg_alert('Error getting the reports server name', 'I', FALSE);      
         when alldone then
              null;     
    END;

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • 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);

  • Display the report server error in the application

    i have got an error while running the report from the application , the status of the report was "TERMINATED_WITH_ERROR" which come from the "REPORT_OBJECT_STATUS" built in function ,
    when i go to the application server to the failed jobs i got :
    Terminated with error: REP-1401: ??? ??? ???? ?? PL/SQL: 'cf_1formula'.
    ORA-01403: ?? ??? ?????? ??? ??? ??????
    the problem is i wan to display to the end user this error ORA-01403
    not only "TERMINATED_WITH_ERROR" .....
    please help me
    thanks

    Give a button in your web page with 'Check status' which on hitting, make an ajax call, to query the status table, and show the status in that page.
    Hope this helps

  • Error while running Oracle 9i forms

    Dear
    First of all, let me know that Oracle 9i Forms is only for web application or we may use it for client server envirnoment.
    I installed Oracle 9i Database & Oracle 9i Forms on Windows XP. Connection between Database & forms works properly.
    But When I click to run a form, I'm receiving this error.
    FRM - 10142 The HTTP Listener is not running on Amfah (my Computer Name) at port 8888. Please start the listener or check your runtime preferences.
    Please Help me !!
    Waiting for an early reply

    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);

  • Can not print Report to printer

    Hello,
    I am printing a report using the run_report_object and can not print to printer when the report returns some data.
    When there is no data returning, the report prints fine from printer and it prints only the header.
    On the other hand, when the report contains data it prints on the screen using the web.showdocument procedure.
    I am using Oracle Forms 6i and Report Builder for the report.

    When running a Report from a Form using the RUN_REPORT_OBJECT
    built-in with the Reports server, you encounter the FRM-41214 error,
    and the reports status is TERMINATED_WITH_ERROR.(if you insert a message in loop yo'll see this message)
    FRM-41214 indicates that an invalid parameter has been passed to the Report
    Server. In this case,it is the DESTYPE that is invalid. SCREEN or PREVIEW is
    valid for the reports background engine, but is not a valid parameter for the
    Report Server. The correct parameter for the Report Server when the output
    needs to be shownin the browser window is a DESTYPE of CACHE.
    check all parameter you set
    Regards

  • Problem while running report for Multiple Language

    Hi Friends,
    The set up for the apps is done for two languages 1. German 2. English.
    I’m printing Invoice Report. It is associated with MLS language function.
    It returns US or D (for German) according to the setup.
    When I run the report from English User, the report runs fine for MLS language function which returns 'US' and not working for ‘D’ as the template is not being picked up(it completed with status Normal and i'm able to see the output by running 'XML Report Publisher' program)
    Similarly when I run the report from German User, the report runs fine for MLS language function which return 'D' and not working for ‘US’.
    I have created two template for testing purpose.The setup for the template as follows.
    Language English Territory US.
    Language German Territory Germany.
    There is no effect on the combination of the language and territory.
    Please help me...
    Regards,
    A. Swain

    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);

  • Failed Reports: best way to diagnose?

    Hello all.
    We are using forms & reports 11g (11.1.2) on a Linux x64 box (Oracle EL 5.6).
    Some reports called from forms fail to run. What is the best and easiest way to retrieve the error message, I mean, is there any way to do so without the need to go to log files on the server?
    I've been using EM to look at "failed jobs" (reports), but now the messages are unavailable too. Crap...
    Any help would be appreciated.
    Thanks in advance.

    If I get the Report_Object_Status from Forms, the status is TERMINATED_WITH_ERROR. But how can I get the complete message, with the REP- error?

Maybe you are looking for

  • BAPI for Purchase order change

    Hi experts,   I just want to change PO quantity by BAPI function module: BAPI_PO_CHANGE, I fill in PO number, Item number, material number and PO quantity to parameters, but result is not well. it shows a message below and the purchase order is not c

  • Cant Drag and Drop Video to 60 gig

    Hi everyone. I finally decided to try and put some video on my ipod video. For some reason though i cant drag and drop video onto the ipod. The files are all proper format so that is not the problem. If i add the videos to my library and then have it

  • No surround sound in 64bit Vista

    Just upgraded my computer from a 4 year old 32bit Windows XP system. I have 5.1 Logitech X-530 speakers running on a Sounblaster X-Fi card. Surround sound works on games, movies, windows media player, etc. But iTunes thinks I have a 2.1 system and on

  • Is it possible to change ldap search attribute telephonenumber to an other

    Hello, I have a directory that holds the users phones number in an alternate ldap attribute "numeroCourt". The default Directory search asp files are displaying the content of the telephonenumber attribute in the LDAP Directory. What do I need to edi

  • Multiple counters

    Hello, We are using a 6602 board and would like to do buffered counting on three counters. As this board does not allow multiple counters in a group, we have modified the example 'Single Buffered Event Counting-Adv (NIO-TIO)' by adding two additional