Download to Excel Error ORA-20001on APEX 4.1

Dear Expert
Recently i deploy my app production server using APEX 4.1
Oracle Application Express Release 4.1.0.00.32 (OHS) with SSL
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
Oracle Business Intelligence Publisher Release 10.1.3.4 with OC4J Standalone with SSL
print to pdf no problem
but when download to excel : excel file with no data value, with error text
"<pre>report error:ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.</pre>"
my app development server APEX 4.0.1 no problem no such error
Oracle Application Express Release 4.0.1.00.03 (OHS)
Oracle Business Intelligence Publisher Release 10.1.3.4 with OC4J Standalone
Somebady help me please
Regards
Lutfi Hedir

Lutfi,
Have you enabled network services on your 11g database:
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BABBHCID
Regards,
Marc

Similar Messages

  • ALV grid toolbar - standard download to excel error

    Hi Experts,
    In my ALV grid report,  when i click on the standard ALV toolbar to download the output to excel file, the data gets downloaded fine execpt for one field called serial number. It is of size 18 chars.
    The last number on this field is getting truncated when it is downloaded to excel. Only 17 characters is being shown. There is no output lenght specification in the field catalog. The column width optimize property is also not set. Any ideas on what might be the problem?
    Cheers

    Hi,
    Check this link:
    Re: Digit missing in the alv export
    Hope this helps.
    Regards,
    Satish Kanteti

  • Error - ORA-06512: at "SYS.OWA_UTIL" - when trying to download files.

    Hi, I have an application where I try to implement download of the attachments.
    I am trying to use Denes Kubicek approach
    http://apex.oracle.com/pls/otn/f?p=31517:15:4179200867819025:REMOVE_ID:NO::P15_DELETE_ID:4672033519340628563.
    When I run stored procedure I get this error message.
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 356
    ORA-06512: at "SYS.HTP", line 1368
    ORA-06512: at "SYS.HTP", line 1443
    ORA-06512: at "SYS.OWA_UTIL", line 413
    ORA-06512: at "RPA.LOADATTACHMENT", line 24
    ORA-06512: at line 6
    The code breaks at :
    OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
    Does anybody have any idea why it breaks?
    Thanks in advance.
    Robert
    Edited by: robik on 2-Feb-2011 5:58 AM

    Actually, the error comes up when I try to execute any of these lines:
    OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
    -- set the size so the browser knows how much to download
    HTP.p ('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    HTP.p ( 'Content-Disposition: attachment; filename="'
    || REPLACE (REPLACE (SUBSTR (v_file_name,
    INSTR (v_file_name, '/') + 1
    CHR (10),
    NULL
    CHR (13),
    NULL
    || '"'
    Is there any security issue?
    Robert

  • APEX Error - ORA-06502

    Hello:
    I'm in Object Browser in APEX. For all my tables when I try to view the table structure, the following error message appears:
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    Yet, when I click on the Data tab; the data appears.
    Can someone help?
    Thank you.

    Scott,Here is the DAD
    <Location /pls/apexdev>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlDatabaseConnectString 169.185.230.17:1527:CCAPX ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword passwd
    Allow from all
    </Location>

  • Download to excel - class not found error

    hi all
    i m trying to provide a feature in my project called download to excel. I have written the code and referenced appropriate jars still on deployment i get the no class def found error. Pls help.
    regards
    vln

    hi
    this is the error.
    java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
         at com.sap.keymap.KeymapappView.onActioncreate(KeymapappView.java:201)
         at com.sap.keymap.wdp.InternalKeymapappView.wdInvokeEventHandler(InternalKeymapappView.java:136)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java(Compiled Code))
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java(Inlined Compiled Code))
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java(Compiled Code))
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java(Compiled Code))
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java(Compiled Code))
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    regards
    vln

  • Loin apex got error ora-01403?

    Hi guys:
    I installed apex 3.1.2 in oracle 9.2.0.3 ,but when i tred to login in apex/apex_admin,I got a error
    ORA-01403: no data found
    Unable to get workspace name.
    Return to application.
    I tried using other username ,all it returned the same error?
    I had searched the reason all the internet ,but hadnt got an answer,could you help me settle it? thanks.

    It should be 9.2.0.4 the following is the message when I login in.
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    the database works.
    select * from sys.dual;
    D
    X
    I test for a long time to try finding where the error is.privately I think ,the Apex did not connect to database,Some times when I press 'enter' some times.
    there would appear windows let me change my password,but when I changed it and press'enter' then the same errror appears.
    Here I post wdbsvr.app for you.
    [PLSQL_GATEWAY]
    administrators = all
    adminPath = /admin_/
    ;admindad =
    ;debugModules =
    defaultDAD = APEX
    ;upload_as_long_raw =
    ;upload_as_blob =
    ;enablesso =
    ;stateful =
    ;custom_auth =
    ;error_style =
    [DAD_apex]
    connect_string = 192.168.0.1:1525:test
    password = apex
    username = apex_public_user
    default_page = apex
    document_table = wwv_flow_file_objects$
    document_path = docs
    document_proc = wwv_flow_file_mgr.process_download
    ;upload_as_long_raw =
    ;upload_as_blob =
    ;name_prefix =
    ;always_describe =
    ;after_proc =
    ;before_proc =
    reuse = Yes
    ;connmax =
    ;pathalias =
    ;pathaliasproc =
    enablesso = No
    ;sncookiename =
    stateful = STATELESS_PRESERVE
    ;custom_auth =
    ;response_array_size =
    ;exclusion_list =
    ;cgi_env_list =
    ;bind_bucket_widths =
    ;bind_bucket_lengths =
    ;error_style =
    nls_lang = American_America.Al32UTF8
    by the way ,1525 is the port of listener. the database just a database for test ,having no other uses.
    Thank you for your care
    Edited by: flysun on 2009-2-8 下午6:59

  • ALV Report Error while downloading to Excel

    Hi All,
    when i downloading to Excel from a alv grid following message has been displayed.
    Template not found in BDS  - Layout: Template-
    Guid:
    please give me any solution to download the report to excel
    Thanks & Regards
    Ramu G

    Hi,
    Standard Function code for Download to Excel Icon used  '&VEXCEL'(Microsoft Excel) instead of '&XXL'(Spreadsheet...) it solved my problem.
    Thanks & Regards
    Ramu Ganji

  • IR Export To Excel error

    We have an IR in Apex 4.1 which contains 99 report columns, and 1000+ rows.
    The IR displays correctly on the screen, and when we try and Download to CSV it works ok (we get all columns and rows).
    But when we try and Download to Excel we get;
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If i reduce the number of columns to 40 or less the Download works ok. It appears there is limit in either number of columns or row size but i can't find a definitive answer anywhere.
    Anyone shed any light on this?
    TIA

    Hi,
    You have created icons alright but from the code i see that you haven't called any function to execute the action.. I am not sure whether WAD 3.5 has these preconfigured icons where you can just drag and drop these functionalities... I guess you have to call these functions..
    Generally when a 'Submit' button is clicked in a web page it calls a program (Ex submit.asp or submit.aspx) in the background where the given details is submitted to a database...
    Regards,
    Kishore

  • Download To Excel in PL/SQL

    Hi,
    Through my PL/SQL code for Download To Excel functionality, If fetch record count is more than 2k then sometime I get below mentioned error:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory ORA-06512: at "SYS.DBMS_LOB", line 805
    ORA-06512: at "NCPCORE.NCP_BRANCH_CAMPUS_REC_PKG", line 1799
    What could be the reason for the same?

    82MT wrote:
    Hi,
    Through my PL/SQL code for Download To Excel functionality, If fetch record count is more than 2k then sometime I get below mentioned error:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory ORA-06512: at "SYS.DBMS_LOB", line 805
    ORA-06512: at "NCPCORE.NCP_BRANCH_CAMPUS_REC_PKG", line 1799
    What could be the reason for the same?
    bug in the code
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Error ORA-20001 when Creating an Application Express Workspcce

    I have a 11.1.0.6.0 Enterprise Edition database running on a Fedora 10 box that was created using dbca. At the time, I did not select Oracle Application Express for installation. However, I can configure APEX and start it with URL http://<host>:8080/apex/apex_admin and log in as ADMIN. Looks like I'm ready to go... Database accounts APEX_PUBLIC_USER, FLOWS_030000 and FLOWS_FILES existed at the time I configured APEX.
    Following the 2 Day + Application Express Developer's Guide, I get error "ORA-20001: Unable to create user. ORA-01935: missing user or role name" when I attempt to create a workspace for the demo application. In an attempt to resolve this, I've run dbca again to install Application Express in the database, and I then get "ORA-04063: package body "FLOWS_030000.WWV_FLOWS" has errors: ORA-06508: PL/SQL: could not find program unit being called: "FLOWS_03000.WWV_FLOW" ORA-06512: at line 2". DBA_OBJECTS reports table WWV_FLOWS owned by this user, but no package body of the same name.
    Can anyone advise what I need to do to resolve the ORA-20001 error when I attempt to create a APEX workspace, or resolve the ORA-04063 error when I attempt to use dbca to install APEX in the database?
    TIA
    Jon

    ..and show me the results, I might know what is wrong.SQL> alter session set current_schema = flows_030100;
    Session altered.
    SQL> select distinct provisioning_company_id from wwv_flow_companies;
    PROVISIONING_COMPANY_ID
    0
    10
    11
    9.4232E+14
    9.5741E+14
    1.7393E+15
    (I imported the file to my workspace http://apex.oracle.com/pls/otn.... it loaded succesfully but couldn't login.)
    I found a site where the file might have been downloaded from:
    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#CUST]

  • Report error:ORA-06502: PL/SQL: numeric or value error: character to number

    The oracle application express environment is created by installing the HTTP Server on the windows server and the application express 3.2.1 components on the 11.1.0.7 oracle database on UNIX. The installation is successfully and have not seen any issues during the installation. After completing all the steps, when tried to login and click the application builder or workspace components, I see the error message
    report error:ORA-06502: PL/SQL: numeric or value error: character to number.
    This error message is seen on most of the pages when trying to accessed and not able to understand the reasons behind it. Its a brand new environment setup and not even presented to developers to test it.
    Below error message is always seen when trying to access most of the components like application builder, schema comparison and some other tabs. Please advice
    report error:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Edited by: user589320 on Jun 9, 2011 5:17 PM

    I think its better you use APEX 4.x version ratherthan using old version.
    You will get more features and some bug fixes and also it's easy for you to get some help when you need.
    * If this answer is helpfull or correct then please mark it and grant the points.

  • Report error:ORA-06502: PL/SQL: numeric or value error: character string bu

    We face the above error in HTMLDB (APEX) application Ver 3.1.0. This occurs when we try to display more number of rows/records in drop-down list (LOV in tabular forms). We are able to display 200 records in LOV. When the list of records exceeds 230, we face the below error
    report error:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the values listed in LOV are from tables (one of the columns in table)
    Could anyone give us a solution?

    Hi
    As you are using a tabular form, you could actually do the following:
    1 - In the tabular form column's attributes, set the following:
    Display as: Select List (query based on LOV)
    Display extra values: Yes
    List of values definition: SELECT null d, null r FROM DUAL
    2 - Add a new page item and set it to generate your select list
    3 - Create an HTML region with no template and use the following for its source:
    &lt;script type="text/javascript"&gt;
    function loadList(c, l)
    var s = document.getElementsByName(c);
    var lItem = document.getElementById(l);
    var lLength = lItem.options.length;
    var k;
    var j;
    var x = lItem.innerHTML;
    var v;
    var o;
    var z;
    for (k = 0; k &lt; s.length; k++)
    z = s[k];
    v = z.value;
    z.options.length = 0;
    for (j = 0; j &lt; lLength; j++)
    o = new Option()
    o.value = lItem[j].value;
    o.text = lItem[j].text;
    z.options[j] = o;
    z.value = v;
    if (z.selectedIndex == -1)
    z.selectedIndex = 0;
    loadList("f05", "P1_MGR");
    &lt;/script&gt;
    (Change "f05" and "P1_MGR" as appropriate to your column and your new page item respectively)
    Now, when you load the page, the select list contains a null entry plus the entry already on the database. The javascript kicks in automatically, loops through every entry in the "f05" column, copies the existing value, replaces the select list with the new page item version and sets its value to the copied value.
    Your new page item could be in a DIV tag that has a style of "display:none" to hide it from view.
    Andy

  • Report error: ORA-06502: PL/SQL: numeric or value error: NULL index table k

    Hi everybody,
    I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
    When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
    But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
    Thank you for your interest?
    Gökhan ÇATALKAYA

    No, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    Scott

  • PL/SQL function body returning SQL - report error:ORA-01403: no data found

    Hi,
    I am working on Application Express 4.0.2.00.06, and 11G database.
    I have a problem with classic report area of type - PL/SQL function body returning SQL query. Query works if I define region area as - Use Generic Column Names (parse query at runtime only), and does not when I define it - Use Query-Specific Column Names and Validate Query.
    I am getting error:
    report error:ORA-01403: no data found
    This is my query that is returned from function, and displayed with htp.p, and it works ok and returns data in SQL Developer and SQL Workshop (in Apex).
    <code>
    /* select 1 from dual */ SELECT SIFPRO, NAZIV, VODITELJ, DATPZA,SUM(DECODE(TJEDAN,'2010/46',BRDJEL,null)) as "2010/46" ,SUM(DECODE(TJEDAN,'2010/49',BRDJEL,null)) as "2010/49" ,SUM(DECODE(TJEDAN,'2010/50',BRDJEL,null)) as "2010/50" ,SUM(DECODE(TJEDAN,'2010/51',BRDJEL,null)) as "2010/51" ,SUM(DECODE(TJEDAN,'2010/52',BRDJEL,null)) as "2010/52" ,SUM(DECODE(TJEDAN,'2011/01',BRDJEL,null)) as "2011/01" ,SUM(DECODE(TJEDAN,'2011/02',BRDJEL,null)) as "2011/02" ,SUM(DECODE(TJEDAN,'2011/03',BRDJEL,null)) as "2011/03" ,SUM(DECODE(TJEDAN,'2011/04',BRDJEL,null)) as "2011/04" ,SUM(DECODE(TJEDAN,'2011/05',BRDJEL,null)) as "2011/05" ,SUM(DECODE(TJEDAN,'2011/06',BRDJEL,null)) as "2011/06" ,SUM(DECODE(TJEDAN,'2011/07',BRDJEL,null)) as "2011/07" ,SUM(DECODE(TJEDAN,'2011/08',BRDJEL,null)) as "2011/08" ,SUM(DECODE(TJEDAN,'2011/09',BRDJEL,null)) as "2011/09" ,SUM(DECODE(TJEDAN,'2011/10',BRDJEL,null)) as "2011/10" FROM (SELECT * FROM PMV_PLAN_TVRTKA) GROUP BY SIFPRO, NAZIV, VODITELJ, DATPZA ORDER BY SIFPRO, NAZIV, VODITELJ, DATPZA
    </code>
    As you can see, I even tried with workaround that I found on the previous post on the forum, and that is to put /* select 1 from dual */ to start query.
    Any help would be appriciated.

    /* select 1 from dual */ SELECT SIFPRO, NAZIV, VODITELJ, DATPZA,SUM(DECODE(TJEDAN,'2010/46',BRDJEL,null)) as "2010/46" ,SUM(DECODE(TJEDAN,'2010/49',BRDJEL,null)) as "2010/49" ,SUM(DECODE(TJEDAN,'2010/50',BRDJEL,null)) as "2010/50" ,SUM(DECODE(TJEDAN,'2010/51',BRDJEL,null)) as "2010/51" ,SUM(DECODE(TJEDAN,'2010/52',BRDJEL,null)) as "2010/52" ,SUM(DECODE(TJEDAN,'2011/01',BRDJEL,null)) as "2011/01" ,SUM(DECODE(TJEDAN,'2011/02',BRDJEL,null)) as "2011/02" ,SUM(DECODE(TJEDAN,'2011/03',BRDJEL,null)) as "2011/03" ,SUM(DECODE(TJEDAN,'2011/04',BRDJEL,null)) as "2011/04" ,SUM(DECODE(TJEDAN,'2011/05',BRDJEL,null)) as "2011/05" ,SUM(DECODE(TJEDAN,'2011/06',BRDJEL,null)) as "2011/06" ,SUM(DECODE(TJEDAN,'2011/07',BRDJEL,null)) as "2011/07" ,SUM(DECODE(TJEDAN,'2011/08',BRDJEL,null)) as "2011/08" ,SUM(DECODE(TJEDAN,'2011/09',BRDJEL,null)) as "2011/09" ,SUM(DECODE(TJEDAN,'2011/10',BRDJEL,null)) as "2011/10" FROM (SELECT * FROM PMV_PLAN_TVRTKA) GROUP BY SIFPRO, NAZIV, VODITELJ, DATPZA ORDER BY SIFPRO, NAZIV, VODITELJ, DATPZA

  • IR Report Search - ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression

    Hi All,
      I had created a IR report based on a table and it was working with no issues.  But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
    When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search.  But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
    What might have caused this issue?
    Is there a way to intercept the search query from IR report?
    Apex version - 4.2.3.00.08.
    Any help on this appreciated.
    Thanks,
    Jagan

    Hi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
    Can you please guide me how to check the query logs on search?
    Thanks,
    Jagan

Maybe you are looking for

  • How to backup data prior to harddrive swap

    My HDD is going to be swapped out under warranty by Apple. What do I need to do to ensure everything is put back where it belongs? Thanks

  • Filter in Update (or Transfer) Rules without additional table write

    Hi For filtering out records on a master data attribute in Update Rules (in order to not fill them into Data Target) you can use a start routine like the example blow (from Björn - thanks!) From the coding I guess that it at least creates and writes

  • Oracle 8i Migration Guide

    Hi all, I am desperately looking for the above mentioned migration guide. Could someone provide a link or the document itself? That would be really great. Thanks, Daniel

  • Display doesn't wake after going to sleep

    On rare occassion, but often enough to be a hassle, my 20" apple display will stay black after I move the mouse or hit the keyboard after the computer has gone to sleep. My only solution is to hold the power button in for 5 second and force a restart

  • Need Help Configuring New AP Express N

    Here's my current setup. 1. 1TB TC Dual Band (newest model) 2. 4 wireless G devices (2-Tivo's, PS3, iPhone) 3. 3 wireless N devices (2 MBP's, Mac Mini) 4. Airport Express N (AEn) (not yet configured or connected). New, still in the box. I want to ext