GET_BLOCK error: wwv_flow_api.create_report_columns

Hi All,
Our Apex app was created in 3.1.1, however we've moving it to 3.1.2 via the export option in Apex and we are getting the following error:
"ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 5, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_REPORT_COLUMNS' ORA-06550: line 5, column 1: PL/SQL: Statement ignored <pre>declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 10543954711649873 + wwv_flow_api.g_id_offset, p_region_id=> 10541037271649871 + wwv_flow_api.g_id_offset, p_flow_id=>"
Database version: 11.1.0.6
Can you explain? Any help would be appreciated.
Regards
Parbatee
Edited by: user6443275 on Oct 15, 2008 3:47 AM

Hi Scott,
Thank you for your support, we re-run the installation scripts for Apex 3.1.2 and bounced the instance; since then we have not gotten the error.
We have since created another environment and will use the Apex 3.1.1 version in the Production (pre-prod) environment. Before we go live we will upgrade to the latest version of Apex then.
Thanks again.
Cheers,
Parbatee

Similar Messages

  • ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuc

    Hi All,
    I have exported a application and after that imported and tried to install it then i am getting this error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 5, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_REPORT_COLUMNS' ORA-06550: line 5, column 1: PL/SQL: Statement ignored <pre>declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=&gt; 29524721731534348 + wwv_flow_api.g_id_offset, p_region_id=&gt; 29524015959534345 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_fl
    History which happen:
    everything was working fine in my workspace but 2 days back one of team member created customer demo application in the same work space so login was also failing and after struggling oneday i got that my authentication function was get overwritten by the demo user authentication so again i chaned by my bakup function now authentication is working but when i export my new developed application and tried to replace the existing application then i am getting the erroe which i have mention before.
    1: I tried to replace by existing one
    2: i tried to assign new application id
    nothing is working so is it problem occues due to new demo application creation which i have deleted or other problem if other then how to solve if by demo then what i need to do .
    But all applications are working well not able to install which i need to do with new developed application.
    Please help me i am in tough situation.
    Thanks in advance,
    Amit

    Amit,
    The next useful test would be to run the file in SQL*Plus, connected as the application parsing schema. If it works, you will have imported the application. After that, please send me the file ([email protected]) and I'll figure out where the trouble is. If it fails in SQL*Plus, try to isolate the failing block. You'll get a pretty good idea by the prompts echoed to the output indicating the import progress.
    Scott

  • Import Error ORA-20001:GET_BLOCK Error

    We are trying to upgrade from HTML DB version 1.4 to 1.6, and we have encountered some issues with one of our applications. I tried to import our app using the Create Application->Based on an Application Export File option, specifying we would like to reuse the application id inside the export file, and also specifying the app to be a Run/Build Application. During the installation, I received this error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_010600.WWV_FLOW_FLOW_PK) violated <pre>begin wwv_flow_api.create_flow( p_id =>122, p_display_id=>122, p_owner => 'TESTMGR', p_name => 'TEST', p_alias => '122', p_page_view_logging => 'YES', p_default_page_template=> 40824759845482865 + wwv_flow_api.g_id_offset, p_printer_friendly_template=> 40824564374
    Keep in mind, when I received this error, no apps were present on our test server or in any of our workspaces. Even after receiving this error, I was able to see the application in my workspace, and run through some of the pages and they appeared to be running okay(app contains 101 pages).
    I wanted to check to see if anyone knew what this error meant, so I don't spend hours upon hours testing something that isn't broken in the first place.
    Here's what else I noticed:
    I tried to reinstall the application over itself to see if I could recreate the error, but it installed fine.
    I deleted the app, installed the app telling HTML DB to reuse the app_id in the export file, and received the error again.
    But then I deleted the app altogether to try a different approach. I allowed HTML DB to auto assign the app_id and the app installed fine.
    What is even more strange, I imported and installed one of our smaller apps (only 14 pages, by telling HTML DB to reuse the application id present in the export file). That application installed perfectly without a hitch.
    So I guess my questions are:
    What does that error mean? Is it detremental to the usage of an app?
    Why do I only get the error with one application and not with another when I tell HTML DB to reuse the application id inside the export file?
    By the way,
    Export file sizes:
    Large App w/ error - 4.90MB
    Small App w/o error - 272KB
    Thank you for your help in advance!!!

    Thanks in Advance
    I am facing same issue of Primary key voilation. This error comes even when the application is imported first time.
    Other applications are importng file
    Details of error are as fallows
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_010500.WWV_FLOW_FLOW_PK) violated
    1852::begin
    wwv_flow_api.create_flow(
    p_id =>604,
    p_display_id=>604,
    p_owner => 'HMSIPD',
    p_name => 'IPD',
    p_alias => '604',
    p_page_view_logging => 'YES',
    p_default_page_template=> 210607950065627880 + wwv_flow_api.g_id_offset,
    p_printer_friendly_template=> 210607443998627880 + wwv_flow_api.g_id_offset,
    p_default_region_temp
    Size of application is : 5 MB
    Regards,
    Ankur Diwan

  • ORA-20001 GET_BLOCK-ERROR during the installation of an application

    hi people,
    I' ve got the following error during the installation of an application in apex 2.2.
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02047: cannot join the distributed transaction in progress <pre>begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||'''';end;</pre>
    Can anybody help me?
    Message was edited by:
    user512746

    hi,
    db-version is oracle 10g r2
    os windows server 2003
    the error occured when two ore more people working in their workspaces but not when only one person working in his workspace
    Message was edited by:
    user512746
    Message was edited by:
    user512746

  • Copy Application - ORA-20001: GET_BLOCK Error. ORA-20001:

    Hi
    I am unable to make a copy of one of my apex applications, I get the error
    ORA-20001: GET_BLOCK Error. ORA-20001:
    Does anyone know how i can resolve this?
    Thanks in advance

    jk_apex_newby wrote:
    hi eric.
    i m getting same error. my development and reproduction specifications are as followsActually, if you read the OPs second message, you'll discover that it isn't entirely the same:
    >
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02047: cannot join the distributed transaction in progress <pre>begin execute immediate 'alter session set nls_numeric_characters=''.,'''; end; </pre>versus:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-06550: line 13, column 50: PLS-00103: Encountered the symbol &amp;quot;end-of-file&amp;quot;
    when expecting one of the following: &amp;lt;an identifier&amp;gt; &amp;lt;a double-quoted delimited-identifier&amp;gt;
    current delete exists prior &lt;pre&gt;declare h varchar2(32767) := null;
    begin wwv_flow_api.create_page_item( p_id=&amp;gt;3689529102880585 + wwv_flow_api.g_id_offset, p_flow_id=&amp;gt; wwv_fAs such I would highly recommend creating a brand new post and perhaps include a reference to this thread - you will likely get more help more quickly if you do...
    JC: I see that you have already posted a 2nd thread. Never mind...
    Edited by: Joel_C on 01-Nov-2011 14:30

  • Import failing with ORA-20001: GET_BLOCK Error

    Hi All,
    I'm attempting to install an export of our Application into the LIVE environment (something I've done many times before), and it's failing with the following error message: -
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 698, column 1: PLS-00103: Encountered the symbol &amp;quot;,'#DD#','#EE#');&amp;quot; when expecting one of the following: ) , * &amp;amp; = - + &amp;lt; / &amp;gt; at in is mod remainder not rem &amp;lt;an exponent (**)&amp;gt; &amp;lt;&amp;gt; or != or ~= &amp;gt;= &amp;lt;= &amp;lt;&amp;gt; and or like LIKE2_ LIKE4_
    The only part of the message that makes any sense to me is the '#DD#','#EE#' which looks like part of a Javascript Passback Function from one of the pages.
    Can anyone throw any light on why I'm getting this error message?
    Thanks,
    Mike

    Scott,
    I managed to track down the error. A column link URL I'm using calls a Javascript Passback Function as follows: -
    javascript:passBack('#A#','#B#','#C#','#D#','#E#','#F#','#G#','#H#','#I#','#J#','#K#','#L#','#M#','#N#','#O#','#P#','#Q#','#R#','#S#','#T#','#U#','#W#','#X#','#Y#','#Z#','#AA#','#BB#','#CC#','#DD#','#EE#');
    By reducing the length of this the import now works. The confusing part is that this was working previously.
    Cheers,
    Mike

  • Get_Block Error when installing an application

    Hi all,
    I tried to recover a backup I had made some days ago, and I got the following error when installing the application:
    Error GET_BLOCK Error.
    ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 34, column 68: PLS-00103: Encountered the symbol &amp;quot;&amp;amp;&amp;quot; when expecting one of the following: ) , * &amp;amp; = - + &amp;lt; / &amp;gt; at in is mod remainder not rem &amp;lt;an exponent (**)&amp;gt; &amp;lt;&amp;gt; or != or ~= &amp;gt;= &amp;lt;= &amp;lt;&amp;gt; and or like like2 like4 likec between || multiset member submultiset &lt;pre&gt; &amp;lt;br&amp;gt;begin &amp;lt;
    I looked in the .sql application and searched for the "&amp;quot;" or even for the symbols &" and I found nothing. I checked the character set and it seems right, the application is in UNICODE-UTF8 and the database is in UTF8 as well. I'm working with APEX version 4.1.1 and apex listener 1.1.
    Has anyone got this error before, or does anyone have a tip on where to investigate?
    Thanks in advance.
    Elena.

    For those who have gotten this error as well..
    The problem was in the buttons Expand /Collapse that I had in some trees. I had them with a redirect url pointing to a javascript code like this:
    javascript.apex.widget.tree.expand_all('id');I changed these buttons, I set an action "Defined by a Dynamic Action". This DA is called when the button is clicked and executes this javascript code:
    apex.widget.tree.expand_all('id');Now it works. Hope it can help someone.
    Elena.

  • GET_BLOCK Error Importing or Copying an Application - Report Layout Issue

    Greetings
    Environment
    Apex 4.1.0.00.32
    Database 11.2
    Listener: Apex Listener running under Weblogic
    I have an application that is throwing an error when I try to copy or import it using the Apex development environment. The error is:
    ORA-20001: GET_STMT error. ORA-20001:
    Execution of the statement was unsuccessful. ORA-06550: line 6, column 41: PLS-00103:
    Encountered the symbol &amp;quot;PK &amp;quot
    In order to get more detail about the error I ran an import of the application using SQLPlus and found out where it is failing. It fails in the ‘report layouts’ step.
    Here are the last few lines of the spool file before it fails:
    218      wwv_flow_api.g_varchar2_table(161) := 'h\302\274p\303\273\302\223\302\274\302\201\303\201N'||unistr('\000a')||
    219  '\302\215^[2\302\200\303\227B^G^Dv   \303\200=\302\2124\303\234\302\255P\302\244^W^Nqu@^Y\302\255\303\217\302\202\303\272E\303\243\302\235\303\247\303\231^O^Q0\303\231\302\266\303\216^O\303\202+a"
    \303\231\302\227\303\212z\303\222a\303\255B\303\264\302\274TQSo\303\212\303\265\302\274\302\203\303\243\302\2621V^_\302\223\302\207TK\303\240\302\2720^E{\302\224\302\270V\303\227\303\235^P^^k\303\272\3
    03\223\303\270^O\302\261';
    220      wwv_flow_api.g_varchar2_table(162) := '\302\263\302\261\303\230NC/u$g^D\302\207;\303\276\303\250\302\272\302\261\302\255^S\303\246\303\210^_&^_\302\262\303\217\303\245W\302\232\303\237)\302\22
    0^L\303\277^Y\302\236\i\303\257\303\222\303\246\302\234\302\254\302\274^N\302\216\302\206\303\277\302\242\303\242~\303\247\302\204\302\244^Y-^K\302\232\303\222eF^Y\303\230\303\221\302\262`Es=\303\267\3
    02\273^D\303\240\302\236\\303\267:]JgM\302\203\303\225\302\271\303\246\303\257DZ\302\254\303\247\303\276\303\225\303\222.N^K\303\272\302\272M:';
    221      wwv_flow_api.g_varchar2_table(163) := '\303\207h]\302\207\303\247\303\204^?^C
    222      wwv_flow_api.g_varchar2_table(164) := '
    223      wwv_flow_api.g_varchar2_table(165) := 't.xml.relsPK^A^B-
    224  '
    225      wwv_flow_api.g_varchar2_table(166) := '
    226      wwv_flow_api.g_varchar2_table(167) := 'me1.xmlPK^A^B-
    227  '
    228      wwv_flow_api.g_varchar2_table(168) := '
    229      wwv_flow_api.g_varchar2_table(169) := 'K^A^B-
    230  '
    231  '^B
    232      wwv_flow_api.g_varchar2_table(170) := '
    233      wwv_flow_api.g_varchar2_table(171) := '
    234
    235  end;
    236  /
    ERROR:
    ORA-00972: identifier is too long
    {code}
    Now here are the corresponding lines from the application import sql file:
    {code}
        wwv_flow_api.g_varchar2_table(161) := 'h\302\274p\303\273\302\223\302\274\302\201\303\201N'||unistr('\000a')||
    '\302\215^[2\302\200\303\227B^G^Dv      \303\200=\302\2124\303\234\302\255P\302\244^W^Nqu@^Y\302\255\303\217\302\202\303\272E\303\243\302\235\303\247\303\231^O^Q
    0\303\231\302\266\303\216^O\303\202+a"\303\231\302\227\303\212z\303\222a\303\255B\303\264\302\274TQSo\303\212\303\265\302\274\302\203\303\243\302\2621V^_\302\223
    \302\207TK\303\240\302\2720^E{\302\224\302\270V\303\227\303\235^P^^k\303\272\303\223\303\270^O\302\261';
        wwv_flow_api.g_varchar2_table(162) := '\302\263\302\261\303\230NC/u$g^D\302\207;\303\276\303\250\302\272\302\261\302\255^S\303\246\303\210^_&^_\302\262\303\2
    17\303\245W\302\232\303\237)\302\220^L\303\277^Y\302\236\i\303\257\303\222\303\246\302\234\302\254\302\274^N\302\216\302\206\303\277\302\242\303\242~\303\247\302
    \204\302\244^Y-^K\302\232\303\222eF^Y\303\230\303\221\302\262`Es=\303\267\302\273^D\303\240\302\236\\303\267:]JgM\302\203\303\225\302\271\303\246\303\257DZ\302\2
    54\303\247\303\276\303\225\303\222.N^K\303\272\302\272M:';
        wwv_flow_api.g_varchar2_table(163) := '\303\207h]\302\207\303\247\303\204^?^C\303\277\303\277^CPK^A^B-^T^F^H!\302\241\302\267\303\274Fr^AR^E^S[Content_Types]
    .xmlPK^A^B-^T^F^H!^^\302\221^Z\302\267\303\263';
        wwv_flow_api.g_varchar2_table(164) := 'N^B^K\302\253^C_rels/.relsPK^A^B-^T^F^H!^A3\302\213l^P^A\302\265^C^\\303\217^Fword/_rels/documen';
        wwv_flow_api.g_varchar2_table(165) := 't.xml.relsPK^A^B-^T^F^H!\302\237T\303\265zd^KEG^Q!   word/document.xmlPK^A^B-'||unistr('\000a')||
    '!\303\222+\302\231\303\263\302\255^K\302\255^K';
        wwv_flow_api.g_varchar2_table(166) := '^U\302\264^Tword/media/image1.pngPK^A^B-^T^F^H!\302\226\302\265\302\255\303\242\302\226^FP^[^U\302\224 word/theme/the'
        wwv_flow_api.g_varchar2_table(167) := 'me1.xmlPK^A^B-^T^F^H!~C\303\251\303\221\303\254^CY'||unistr('\000a')||
    '^Q]''word/settings.xmlPK^A^B-^T^F^H!J\303\230\302\212\302\222\302\273^D^A^T';
        wwv_flow_api.g_varchar2_table(168) := 'x+word/webSettings.xmlPK^A^B-^T^F^H!\303\206\302\253\303\245\302\246\302\200^A\303\257^B^Qe,docProps/core.xmlP';
        wwv_flow_api.g_varchar2_table(169) := 'K^A^B-^T^F^H!^H\302\224$^K\302\264'||unistr('\000a')||
    '\302\262O^O^\/word/styles.xmlPK^A^B-^T^F^H!\302\244b^C\303\261'||unistr('\000a')||
    '^B*^G^R';
        wwv_flow_api.g_varchar2_table(170) := '\303\2759word/fontTable.xmlPK^A^B-^T^F^H!^X\302\270\302\265^L\303\251^A\303\245^C^P7<docProps/app.xmlPK^E^F^L^L^D^C';
        wwv_flow_api.g_varchar2_table(171) := 'V?';
    end;
    /Everything looks OK until this line then the wheels start to come off:
    wwv_flow_api.g_varchar2_table(163)The code for that line is:
        wwv_flow_api.g_varchar2_table(163) := '\303\207h]\302\207\303\247\303\204^?^C\303\277\303\277^CPK^A^B-^T^F^H!\302\241\302\267\303\274Fr^AR^E^S[Content_Types]
    .xmlPK^A^B-^T^F^H!^^\302\221^Z\302\267\303\263';However when it is imported, it appears that the there is a problem around the '^?^C\303'
    221      wwv_flow_api.g_varchar2_table(163) := '\303\207h]\302\207\303\247\303\204^?^CDoes anyone know how to identify what in the report layout is causing the problem? I guess I could just delete the report layout to get the application to import, but I really do need that report.
    Thanks in advance,
    Larry

    Hello mwallace,
    The behavior you are seeing is probably due to one of the VIs being added as a support file instead of a dynamic VI. When adding a file as a dynamic VI, Application builder will ensure that all subVIs are included.
    The following knowledgebase examples this issue in some more detail.
    Error 7 When Building Applications and DLLs That Use the LabVIEW Report Generation Toolkit
    Please let me know if you have any questions.
    Regards,
    Matt F
    Keep up to date on the latest PXI news at twitter.com/pxi

  • Import Workspace Error -  WWV_FLOW_API#G_ID_OFFSET' must be declared

    Whenever I try to import a Workspace from an dos export file I get the following error.  Any ideas?
    Application Express 4.2.2.00.11
    Oracle Database EE 11.2.0.2
    Execution of the statement was unsuccessful. ORA-06550: line 3, column 4: PLS-00201: identifier
    'WWV_FLOW_API#G_ID_OFFSET' must be declared ORA-06550: line 3, column 4: PL/SQL: Statement ignored
    begin
    wwv_flow_api#g_id_offset := 0;
    wwv_flow_hint.g_schema := 'MYUSER';
    wwv_flow_hint.check_schema_privs
    end;
    ORA-06550: line 3, column 4: PLS-00201: identifier 'WWV_FLOW_API#G_ID_OFFSET' must be declared ORA-06550: line 3, column 4: PL/SQL: Statement ignored

    Is there a certain user that the script needs to be run as.  When I just ran the script as SYS I get the following error:
    SQL> @storepage.sql
    WORKSPACE 2146208538698704
    Creating workspace STOREPAGE...
    Creating Groups...
    Creating Users...
    Check Compatibility...
    wwv_flow_team_api.check_version(p_version_yyyy_mm_dd=>'2010.05.13');
    ERROR at line 3:
    ORA-06550: line 3, column 1:
    PLS-00201: identifier 'WWV_FLOW_TEAM_API.CHECK_VERSION' must be declared
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64
    bit Production
    With the Partitioning option

  • Error on wwv_flow_api.create_page importing application from APEX3.1 in 11g

    hello
    I'm preparing the migration path of an application we created. While testing the import of the current version of our front end which was created in APEX 3.1.
    The workspace that I'm trying to import it on is in the APEX that comes along with the installation of the 11g database. I'm trying to import an application that was created on the 3.1 version of APEX.
    The import of the file as such is OK. It's during the next step that I get the following error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: Regel 9, kolom 1: PLS-00306: Onjuist aantal of type argumenten in aanroep naar 'CREATE_PAGE'.. ORA-06550: Regel 9, kolom 1: PL/SQL: Statement ignored. <pre>begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id =&gt; 0, p_flow_id=&gt; wwv_flow.g_flow_id, p_tab_set=&gt; '', p_name =&
    Sorry for the dutch but the PLS-00306 error is "invalid number of arguments when calling".
    When clicking on the "return to the application" link the import seems to continue giving a lot of the following errors
    ERR-3331 This page was already submitted and can not be re-submitted.
    Return to application.
    When this is all finished I don't have a new application in this workspace.
    Does anyone know what might be the issue?
    Thanks in advance for sharing your expertise.
    Koen Verheyen
    Tripwiresolutions
    Belgium

    Hello:
    Can you check that the APEX version in the 11g database is at least 3.1 ? Run the query below in the 11 g database. If the version shown is less than 3.1 then you will not be able to import your 3.1 created application into the APEX version installed in the 11g database.
    select comp_name,version,status from dba_registry where comp_id='APEX';
    varad

  • Error on Import of Application - empty p_default_sort_column_sequence

    Hello all:
    I am trying to import an application from one server to another.  The export worked, but when I try to import the application, I get the following error:
    GET_BLOCK Error.
    ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 17, column 15: PLS-00103: Encountered the symbol &quot;&gt;&quot; when expecting one of the following: . ( ) , * @ % &amp; - + / at mod remainder rem &lt;an exponent (**)&gt; and or || multiset <pre>declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=&gt; 7129624160625571 + wwv_flow_api.g_id_offset, p_region_id=&gt; 7128236561625563 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_
    I discovered that the import file contains the following:
    declare
      s varchar2(32767) := null;
    begin
    s := null;
    wwv_flow_api.create_report_columns (
      p_id=> 7129624160625571 + wwv_flow_api.g_id_offset,
      p_region_id=> 7128236561625563 + wwv_flow_api.g_id_offset,
      p_flow_id=> wwv_flow.g_flow_id,
      p_query_column_id=> 14,
      p_form_element_id=> null,
      p_column_alias=> 'INV_TOTAL',
      p_column_display_sequence=> 13,
      p_column_heading=> 'Inv Total',
      p_column_alignment=>'LEFT',
      p_heading_alignment=>'CENTER',
      p_default_sort_column_sequence=
      p_sum_column=> 'N',
      p_hidden_column=> 'N',
      p_display_as=>'ESCAPE_SC',
      p_is_required=> false,
      p_pk_col_source=> s,
      p_print_col_width=> '2',
      p_column_comment=>'');
    end;
    As you can see, 'p_default_sort_column_sequence=', has no data attached to the column, causing the import to fail.  This code is generated by APEX so I'm not sure where and why this variable would be populated.  How can I fix this?  Any ideas?

    This problem was caused by using Internet Explorer while connected to Oracle and APEX.  IE corrupted the file. Once I used Firefox as my browser, the imported file was clean and the load worked perfectly.  Moral of the story:  Do not use IE when importing/exporting applicaiton files.

  • Import App Error..need help

    I have a perfectly working app that will no longer import to its production app_id. I get this error on both 1.6 (db version 9) and from the oracle site:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 83, column 21: PLS-00103: Encountered the symbol &quot;&#21071;&#17732;&#21330;&#21087;&#20549;&#21071;&#24404;&#22868;&#17744;&#24403;&#17747;Q&quot; when expecting one of the following: ( - + case mod new not null &lt;an identifier&gt; &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date
    Error installing application
    I have 2 export files available. The one titled f133 4-26 will still import but is missing many changes. I will send both to [email protected] I have a feeling that the error is coming from page 6, because the line 83 mentioned in the error is the length of the report region on page 6. And no others reach that line. Please help.
    Dawn

    Dawn - You should not presume that your problem has not begun to consume the time and energy of others until at least 3 days have passed without a response. In this case it hasn't even been 5 hours. For all matters that are urgent and have anything to do with production applications you should, without exception, contact Oracle Support and begin to use those resources.
    What I found (having worked on this for the past 2 hours) is that a tabular form on page 18 has some garbage in it. See line 12909 in the file you sent:
    begin
    wwv_flow_api.create_report_columns (
      p_id=> 44729805831502084 + wwv_flow_api.g_id_offset,
      p_region_id=> 44729521381502068 + wwv_flow_api.g_id_offset,
      p_flow_id=> wwv_flow.g_flow_id,
      p_query_column_id=> 2,
      p_form_element_id=> null,
      p_column_alias=> 'ID',
      p_column_display_sequence=> 2,
      p_column_heading=> 'Id',
      p_column_alignment=> 'LEFT',
      p_default_sort_column_sequence=> 0,
      p_disable_sort_column=> 'Y',
      p_sum_column=> 'N',
      p_hidden_column=> 'Y',
      p_display_as=> 'HIDDEN',
      p_column_width=> '16',
      p_pk_col_source_type=> 'S',
      p_pk_col_source=> '剏䕄卒剟偅剏彔奔䕐当䕓Q           ',
      p_ref_schema=> 'NSREPORT',
      p_ref_table_name=> 'ORDER_REPORT_TYPES',
      p_ref_column_name=> 'ID',
      p_column_comment               => '');
    end;If you remove that whole block (from begin to end) the file will install. However, I recommend that you use the Builder to try to fix whatever might be wrong with that particular report column, then export the file again and try to import/install it.
    Scott

  • Error in loading demo application

    Hi ,
    I tried in loading the issuer tracker demo application as per directions in the read me file.
    When I tried to import the sql through application express instant , I am getting the error as shown below.
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-20001: The procedure remove_flow was called without a value for p_id -- a application ID must be provided. <pre>begin -- Remove Application wwv_flow_api.remove_flow(); end; </pre>
    Any one has idea's.
    Thanks
    MA.

    I'll take a guess here.
    I'm thinking your phrase "import the sql through application express instant" means that you're taking the SQL script and attempting to execute it in SQL Script or SQL Commands in the SQL Workshop.
    If that is the case, then that's your error. You simply want to import this as an Application in Application Builder.
    Joel

  • Error while installing an application to a workspace

    We have received the following error a few times out of 40+ installations:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_010600.WWV_FLOWS_ALIAS_IDX) violated <pre>begin wwv_flow_api.create_flow( p_id =&gt;129, p_display_id=&gt;129, p_owner =&gt; 'MERLINDEV', p_name =&gt; 'Merlin 5.4', p_alias =&gt; 'MERLIN', p_page_view_logging =&gt; 'YES', p_default_page_template=&gt; 13755347070366358 + wwv_flow_api.g_id_offset, p_printer_friendly_template
    Background: We have developed a application that is used by multiple clients and as such requires that each client have their own version of the application. This is because each application is connected to the client's schema. Each application has the same application alias but is installed in a unique workspace which makes calling and starting the application via a URL easy, i.e.
    http://<host>:7777/pls/htmldb/f?p=<alias>:&c=<client_workspace>
    When installing the application into a workspace for the first time we allow HTML DB to Auto Assign the application ID.
    We have received the above error 3 times out of 40+ installations and when it occurs we simply repeat the install and all goes well. I was wondering if anyone has either seen this, knows what causes it and can suggest a remedy or things to watch out for.
    Thanks

    Thanks Scott. I've also been looking for a pattern of consistency that would point to the cause of the problem but have been unable to find one. I was hoping that others may have experienced the same error and could help to shed some light here.
    I dug around some and found that the wwv_flows_alias_idx constraint is a unique index on the alias and security_group_id columns of wwv_flows. My application has an alias that is the same for all installations so I thought that somehow a previously used value for security_group_id was being generated causing the unique constraint violation. Can you tell me how that value is generated during the install process? Is it some sort of hashing function?
    Thanks

  • Apex 3.1.2.00.02 creates invalid export file (that gives ORA-20001 error)

    Hi
    I want to let you know, that sometimes APEX 3.1.2.00.0 creates invalid export file.
    Older apex 3.0 created correct file.
    For example: our application has page button, where "Optional URL Redirect" is:
    Page: &APP_PAGE_ID.
    Request: FLOW_XMLP_OUTPUT_R11531800061044170_et
    If we export application into file f110.sql and try to import it to the same workspace on the same server, we get error:
    {color:#0000ff}ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 28, column 111: PLS-00103: Encountered the symbol "_" when expecting one of the following: ) , * &amp; | = - + &lt; / &gt; at in is mod remainder not rem =&gt; .. &lt;an exponent (**)&gt; &lt;&gt; or != or ~= &gt;= &lt;= &lt;&gt; and or like LIKE2_ LIKE4_ LIKEC_ as between from using || multiset member SUBMULTISET_ The symbol &a
    {color}In exported f110.sql file the invalid section is:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R'||to_char({color}{color:#0000ff}{color:#ff0000}*10255206661122183_et*{color}+wwv_flow_api.g_id_offset)||':&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    If we exported the same application in apex 3.0, this section was correct:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R*10255206661122183_et*:&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    Best Regards,
    T&otilde;nu

    Thanks for pointing that out. We'll fix it. It does appear though, that in 3.0, the offset would not be added to the number part of the request value, so if you installed the application as a different application ID or into a different workspace, the request would have failed.
    Scott

Maybe you are looking for