Apex 4.2.1 ORA-02291 import single page

Hello

Version of the APEX is 4.2.1.00.08 on Oracle 10.2.0.5.

When I try to export/import a single page from a server to another (same version of the APEX), the following error is thrown:

ORA-20001: name of the page creation error = 'blabla' ORA-02291: integrity (APEX_040200.WWV_FLOW_STEP_UI_FK) violated constraint - found parent key

No idea what could be the problem? This occurs after the upgrade from 4.1.1 to 4.2.1 APEX there was no errors during the upgrade.


Thank you
Matthias

It's a hack but sometimes, you can import the entire application and then simply copy the page you need to the application that needs it.

Very well. It is not correct the error, but it allows you to get the work done.

Howard

Tags: Database

Similar Questions

  • Apex 5.0 install the script gives error: ORA-02291 constraint (APEX_050000.SYS_C0013507)

    We used a script to install our applications in Apex 4.02. When you use this script with Apex 5.0, we get an error:

    [6399] ORA-02091: transaction cancelled

    [6400] ORA-02291: integrity constraint violation (APEX_050000.SYS_C0013507) - parent

    ALTER SESSION SET CURRENT_SCHEMA = &2;
    
    declare
       l_schema       varchar2(30) := upper('&1');
       l_workspace_id number;
       l_app_id       number;
    
    begin
       -- Get workspace ID for schema
       begin
          select workspace_id
            into l_workspace_id
            from apex_workspaces
           where workspace = l_schema;
       exception
          when no_data_found then
      
             -- Create workspace for schema
             apex_instance_admin.add_workspace(p_workspace_id => null, p_workspace => l_schema, p_primary_schema => l_schema, p_additional_schemas => null);
      
             -- Get ID for created workspace
             select workspace_id
               into l_workspace_id
               from apex_workspaces
              where workspace = l_schema;
       end;
    
       -- Put ID in install package
       apex_application_install.set_workspace_id(l_workspace_id);
    
       -- Get application ID.
       begin
          select application_id
            into l_app_id
            from apex_applications
           where workspace = l_schema;
    
          -- Set application ID in package
          apex_application_install.set_application_id(l_app_id);
    
       exception
          when no_data_found then
             -- No applicication create a new one
             apex_application_install.generate_application_id;
       end;
    
       -- Generate offset
       apex_application_install.generate_offset;
    
       -- Set schema and alias.
       apex_application_install.set_schema(l_schema);
       apex_application_install.set_application_alias(l_schema);
    
       l_app_id := apex_application_install.get_application_id;
       dbms_output.put_line('Applicatie installed with ID :' || l_app_id);
    end;
    /
    
    @..\apex\f127.sql
    
    

    The script starts promising:

    Applicatie installed with ID :100                                
    APPLICATION 127 - NedGraphics NedBrowser
    Set Credentials...
    Check Compatibility...
    API Last Extended:20130101
    Your Current Version:20130101 This import is compatible with version: 20100513
    COMPATIBLE (You should be able to run this import without issues.) Set Application ID...
    ...authorization schemes
    
    

    But in the end:

    .....scheme 39275367140332431
    ......scheme 47816685350333762
    ...plugins
    commit
    *
    ERROR at line 1:
    ORA-02091: transaction rolled back
    ORA-02291: integrity constraint (APEX_050000.SYS_C0013507) violated - parent
    key not found
    
    

    F127. SQL is exported from 4.02 Apex.
    Can manually import this application in the Apex 5.0 using the Apex development interface...

    Hi René,.

    the bug is not public. I already fixed it for 5.0.2.

    Kind regards

    Christian

  • Apex deploy Application in the environment - ORA-02291: integrity constraint

    Hi all

    I do my first application export import and stumbled across a bug.

    The bug causes the same error like: error application to import 4.1 and 4.2 , but my environment is different.

    In short, I'm building my APEX application on itself One with APEX 4.2.4 11.2.0.4 1. The application is configured to compatible 4.2.

    I export version Run Time only.

    I am importing in XE 11.2.0.2 with APEX 4.2.4 with the environment at the time of the throw using SQL * more. !! The schema exists in the two databases.

    I get the following error, and I wonder if I need also to export the workspace for installation works, or if I do something wrong all together and just did not understand the process of export/import (deploy).

    SQL > @f7001.sql

    REQUEST 7001 - MYAPEX Web Application

    Set credentials...

    Check the compatibility...

    Set Application ID...

    .. .UI types

    Start

    *

    ERROR on line 1:

    ORA-02291: integrity (APEX_040200.WWV_FLOWS_FK) violated constraint - found parent key

    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 2094

    ORA-06512: at line 3 level

    Disconnected from the database to Oracle 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production

    Thanks in advance for any help or you advise in this case.

    Jan S.

    Hi Jan,

    you have two options.

    (1) on your system only run time, you can use the APIs of the Forum (APEX_INSTANCE_ADMIN) to manually create the workspace and the allocation of scheme.

    (2) use the JAVA export utility from the command line and specify the parameter - expWorkspace and - expMinimal (/ utilities/readme.txt) to export the workspace. But please note that it will still be exported users and groups. You need to remove the generated SQL file.

    Personally, I'd go with the API. It should be fairly simple. Just call APEX_INSTANCE_ADMIN. ADD_WORKSPACE when it is connected as SYS/SYSTEM or a user who has been granted the role APEX_ADMINISTRATOR_ROLE.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • ORA-02291 then that he was trying to install the version 4.0 workspace export

    Someone at - it problems when installing export workspace containing Apex 4.2 user groups?
    When I try to install a workspace dumped Apex 4.0, I get the following error of blocking:

    Execution of the statement was not successful. ORA-02291: integrity (APEX_040200.WWV_FLOW_FND_USER_GRPS_FK) violated constraint - found parent key

    Start
    () wwv_flow_fnd_user_api.create_user_group
    P_ID = > 117697823207460082,
    p_GROUP_NAME = > 'MASTER ',.
    p_SECURITY_GROUP_ID = > 101624224619521722,
    p_GROUP_DESC = > ");
    end;

    ORA-02291: integrity (APEX_040200.WWV_FLOW_FND_USER_GRPS_FK) violated constraint - found parent key

    I checked the docs and I couldn't find any reference to a known issue with the importation of a workspace that contains groups of users.

    Thank you
    Flavio

    ----
    http://oraclequirks.blogspot.com
    http://www.yocoya.com

    Hi Flavio,

    Another user of the forum has reported a similar problem earlier today. We did PSE * 14777994 * available on My Oracle Support. Go to patches and updates, and then enter the bug number 14777994. Once installed on your instance 4.2, you encounter is no longer the error reported.

    Thank you for reporting this problem and apologize for any inconvenience this may have caused.

    Kind regards
    Hilary

  • Create a message "warm" to find errors ORA-02291 FK?

    v11.2.0.4.0

    We have an obligation to create a transactional API, which will return the 'friendly' to any system error messages can be used.

    My question is... that we have a 'Create_Employee' proc, which accepts a bunch of parameters allowing to insert a new record of the emp.

    However the dept id parameter is not valid. It is captured by referential integrity and an ORA-02291 is thrown. If that goes back to the appellant, the error message contains the name FK, etc., but the requirement is to return a type 'you entered an invalid Dept' message.

    So, have we not validate all the params before that happens the insert and handle it like that? Or is there a "clever way" to do it in an exception block? The exception block will have to analyze the sqlerrm find out FK failed, is there a cleaner way to identify the failed without analysis the error message?

    Thanks in advance.

    No nothing of this kind exist AFAIK. If you have more than one foreign key in your table. Remember if there is more than one foreign key in a table and several of them have entry could fail oracle triggers error only for the first that is evaluated. You do not get all in one shot.

  • Folio Builder - impossible to import several Pages / Single single Pages work

    Don't know what I'm doing wrong but I built folios with unique pages, but when you create a document successfully InDesign (all in landscape) with several pages it comes up with the error "the proportions of page size must match the proportions of folio.  I created the cover and I'm coming up with the error trying to "import" (FYI / I have mirrored, creating folios of the webcast "Terry White").  No problems with a single page document import.  For every document that is created, I used the schooling or _v ensure that enforcement includes their orientation correctly.

    Any help is appreciated.

    Hi Bob,

    I found the solution and it literally hit me in the face.  When you create a document, you MUST select ' INTENTION: WEB ' vs. the default ' INTENTION: PRINT ", Yes, that obviously makes sense but that has been the question.  Haven't tried the facing pages vs deselected, that should work online with a layout, I'm trying to replicate, but who did.

    Appreciate the help of everyone.

    Excellent program!

  • role of the listener.ora in a single installation of Oracle client?

    What is the role of listener.ora in a single installation of Oracle client? In scenarios that I can use?
    Thank you
    Smith

    Listener.ora is not used on the client

  • Import of page apex - different workspaces

    Development environment: local server at home.
    Production server: hosted environment to my ISP.
    I need to import new and modified dev pages to prod. I understand that it is not possible to import a page created in a different workspace...? What would be the best strategy here?
    In a Forms environment, you would simply compile a form on the production environment. Please notify.

    Published by: pjr 10 January 2011 23:39

    With a hosted environment, the best approach would be simply to import the entire application. To maximize availability, you can import it using a different ID and - assuming that the good practice of using an alias to the application URL published across is followed - "released" by changing just alias app.

    Otherwise, import all of the application using a different ID and copy the new and changed pages between applications. As changed pages would be deleted before copying it into the modified version (export backups first), there almost certainly downtime, with access to the blocked app.

  • How to change the region to fit on a single page when printing.

    Hi all


    I am only recently starting my APEX trip (and I am sure that this is where I want to stay!) please excuse any "dumb" comments I can do!


    I use APEX 5.0.3 and the universal theme.

    I followed the steps kindly provided by Christian Rokkitta on the following blog to create a tree of the Organization;

    Oracle & Apex Geekery: CSS3 Pure Org-tree with APEX list

    I only have a CSS and JavaScript knowledge, but did successfully a number of changes to meet our specific requirements. Where I fight, it's around areas of printing that do not fit on one page.

    I tried to edit the CSS, I tried to use JavaScript to open in a new window pop up, I have drawn on Print Style sheets and am currently using a modified version of the 'Standard' page template so that I can use @media Print to stop certain elements display. The CSS before I tried to use breaks page and updated scale, but after 4 days of work on anything else, but this printing problem, I'm starting to wonder if I go about it completely the wrong way.

    What is someone is able to help with the above? Basically, I need to make the organization chart fit on the single page when printing. almost as if I had 'zoom out' until it is on a single page and then print.

    I have refrained to put links or screenshots however please let me know if you need more information and I'll get it right above!

    Thanks to you all!

    Richard

    Check page 4 where I added the bottom of specific statements of style for printing.

    @media print {
      .tree li a {
        /*font-size: 15px;*/
        font-size: 0.8rem;
        line-height: 1rem;
        border: 1px solid #000000;
      }
      .tree ol, .tree ul {
        margin: 0;
      }
      .tree li::before, .tree li::after {
        border-top: 1px solid #000000;
      }
      .tree li::after {
        border-left: 1px solid #000000;
      }
      .tree li:last-child::before {
        border-right: 1px solid #000000;
      }
    }
    
  • Import a page

    I need to import a page for an application that has been imported as
    run application only. A like?
    Thanks for help.

    Hello
    I have not imported a mode of running application only application. However, I want to just draw your attention to the status of build:

    Modify the Application definition > edit globalization attributes > definition > availability > build status: run and build the application.

    In any case, please read this if you want to import a page that has been exported from another application:
    http://oraclequirks.blogspot.com/2007/02/exporting-and-importing-pages-in-apex.html

    Kind regards
    Fateh

    -------------------
    If you believe that my answer is correct, then check the answer correct

  • How to show all lines of tabular form on a single Page?

    Dear Apex Experts,

    Is there a feature in the tabular Presentation , or the workaround even to show all lines of tabular form on a single page?
    as in the interactive report where 'ALL' option when selected displays all lines.

    Thank you in advance for any help you provide

    Best regards

    create an item
    assign a number 1000000 or more and on the area of research reports a number of lines returned to the point and set with the name of the element

  • How to import a page?

    Hello

    First of all, I export a page from an application that is in my workspace. ThenI tried to import this page to another application that is in the same workspace. But it gives the following error?


    "This page was exported from another application or application in the different workspace. Page cannot be installed in this application. »


    Help, please.

    If it is the APEX 4, try this...

    On the page in question, find the button create and slide the new page as a copy option, follow the steps and you can copy the page you want from App to APp b as long as they are in the same workspace...

    Thank you

    Tony Miller
    Webster, TX

  • Preview.app stuck on the first page of the PDF in single page mode

    I regularly Preview.app view PDF files and want to use the "Single Page" function to display an entire page at one time. I have 'Single Page' display set as the default behavior.

    Lately when I open a PDF file, they properly open the first page, but I am unable to navigate to another page via the drop-down page, touch up/down arrow. If the PDF file has a table of contents, I am able to go beyond the first page through it and then proceed to navigate normally. If it is not a table of contents, the only solution is to continuous scrolling mode and continue to navigate beyond the first page.

    It's very annoying! Unfortunately, I can't remember where this started happening. It could be when I upgraded to MacOS Sierra, but I can't confirm.

    Everyone else see this behavior?

    Hold down the Option/ALT key, then use the cursor to the TOP or to the BOTTOM of the key.

  • Printing of multiple numbers of document/picture on a single page

    I have a separate document for each week of the year, each document has a worksheet in it. I would like to print the worksheets in each document, but want to put more than one of them on a page. Is this possible? So far, I can only print each individual worksheet... Thanks for the tips!

    Hi pmgw,

    I don't know any way to print a table of two separate documents on a single page in a single step. There are several ways to do this using multiple steps.

    1. You can configure individual documents so that the tables you want to place on the printed page even alternate position on their leaves, 1 week at the top, 2 bottom, week 3 on top, etc.
      Two consecutive weeks can then be printed on a single page by printing the first, reinserting the page into the printer using the same orientation *, then print the second.
    2. Open the documents numbers during the two weeks that you want to print.
      In the second, select the table to print. Copy.
      Switch to the first. Click on an empty space on the map. Dough.
      Drag the table glued in position. Print.
      (optional) Select the pasted table and press DELETE.
    3. Open a document of 'Blank canvas' pages.
      Open documents from figures for the two weeks that you want to print.
      Copy and paste the table of each document numbers in the Pages of the document.
      Print.

    Notes:

    Second printing works - Orientation: the best way to ensure that the document is oriented the same for the two rounds is to place a light pencil mark near the center of the edge of the paper closest to you when it is in the tray. After the first run, replace the paper in the tray with the pencil mark in the same position. U

    Table selection: to select an entire table, you can place the mouse pointer on an outer border of the table. When the pointer icon changes to a line crossed by a two-headed arrow, click to select the entire table. Or click the table icon in the sidebar (Numbers ' 09). None of these methods to select a table to move or copy.

    Or (once) click any cell in the table, and then press command + A to select all. Use this method to copy the contents of the table. When glued, the result is the same as copy and paste by using the first two methods.

    The use of the Pages: the advantage of paste tables into Pages is an easier control of the appearance of the printed page. If you do this often, I would say adding guides to layout of the document Pages indicating where to place both calendars, and then deleting the calendars (leaving the guides) and save the document as a template.

    Kind regards

    Barry

  • Print texts in different formats on a single page

    Hi all

    Is it possible to print on one page text in different fonts and sizes? It seems that PrintTextBuffer prints all text on a single page at a time and there is no chance to change the format. Thank you

    LT

    I must confess that I give you this suggestion, but I did not use these functions for several years ; test your function on my system now (CVI 2009SP1 on Win7 with HP LaserJet printer) I have the same results as you.

    Due to the limitations of this method of printing, I moved quickly to the other printing modes: there are many discussions you will find in the forums on the reports, but basically, you can:

    • Create a hidden Panel 'report' where to print your data on the standard controls (strings, numbers, graphs, tables and so on) and use PrintPanel to print it
    • Use NIReports instrument
    • Use Office report print (via Word or Excel)
    • Create a PDF file
    • ... (other methods that I can't think of right now)

    One is probably the fastest: you already used to create panels and after a short trial, you can set the correct control/panel aspect for a good report. It also allows you a limited preview if you want to.

Maybe you are looking for

  • Satellite L305-S5933 - need driver Webcam and microphone

    Hello guys. First of all, sorry my poor English. Recentlly I bought a toshiba L305-S5933 and by the problems of Vista I downgraded to Win XP. So I have so many problems with the drivers of the keys FN and Multi Media (multi media drivers = pause/play

  • An application using LabVIEW as a program by default to open files

    Google returned nothing useful on it.  I want to use a LabVIEW application built to open files of data from the Windows desktop. It is easy to modify the Windows registry to set the application as default - but I do not know how to define the event i

  • Exception of Microsoft Exchange 2007 owa data storage

    Hello We have the MS Exchange 2007 server. I have a problem with the owa service and especially with a user account. From outlook, I can see and navigate through all folders. OWA when trying to navigate through some files I get the following exceptio

  • UN juego me anda lento

    Hola, instale el fifa 12 y 13 fifa y los back me walk a poquito lento. none are demaciado lentitud pero molesta a poco para jugar. Los requirements del juego no compatible threads don't con mi pc, pero una respond divertir can perhaps para as lo acel

  • Drive problem hard m6 Pavilion

    So I have a hp Clubhouse m6 1007tx laptop purchased from Thailand...Randomly, it begins to freeze as hell... Every thing except the cursor stops responding for a while... happening a lot... when I tried to do a hard drive check via diagnosis hp it sa