Importing Application

I have installed ApEx 2.2 in two different environments...both environments seem to function OK, except during import. One works successfully, the other throws an error:
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02291: integrity constraint (FLOWS_020200.WWV_FLOWS_FK) violated - parent key not found <pre>begin wwv_flow_api.create_flow( p_id =>117, p_display_id=>117, p_owner => 'ISSUE_TRACKER', p_name => 'Issue Tracker', p_alias => '117', p_page_view_logging => 'YES', p_default_page_template=> 7312213389563912 + wwv_flow_api.g_id_offset, p_pr
Doesn't matter what application I try to import, this happens.
Environment: ApEx 2.2
Database: 10.1.0.4.2
Any help greatly appreciated! If I have not posted enough information, please let me know.
Thanks, Mike

Mike,
Are you importing from sqlplus? My guess is that the workspace ID is not the same on both of your apex instances. When creating an application the parent of the application is the workspace, hence it can not import your application because its parent (the workspace) does not exist.
If you import an application using the web UI apex should detect this situation and correct it so that you can import an application exported from one workspace into another workspace.
If you look at a line in your application export similar to the one below; this command sets your workspace.
wwv_flow_api.set_security_group_id(p_security_group_id=>7738017401767455);
Ideally you would like both of your apex instances to have the same workspace ID (aka security group id), you can do this by exporting and importing the workspace from the one that works to the instance that does not. If your workspace has the same primary key, then your application should import into both instances.
Hope this helps.
Mike

Similar Messages

  • Error while exporting - importing application

    Hi All
    I was trying to export my apex.oracle.com app and was importing it to my local db installation environment. Encountered with an error:
    *1 error has occurred*
         *NOT COMPATIBLE (Your export may contain calls not supported by your application version.)*I found that in my local environment, some features were missing like page of Type "Master-Detail" was not there while creating a page in my local instance. (My app is not using any mater-detail page, but it may be using some features which are missing in my local version). Want to know about the following:
    1. The APEX 3.2 (apex.oracle.com) DB version so that I can upgrade my DB instance version.
    2. Is the error telling about the incompatible application version or the DB version? How can it be addressed?
    Thanks
    Bhavesh

    Hello Bhavesh,
    >> That means my env is the newer one, still it is not compatible with the app created on an earlier version. Not sure why?
    The compatibility issue you encountered is about the APEX version and NOT the database version. The same APEX version can be installed on different database versions, starting with 9.2.0.3 or later.
    As each new APEX version adds new features, which manifest in the metadata table structure (among others), you can’t install an application from an advanced APEX version on an earlier APEX version.
    The version on apex.oracle.com is 3.2, while the default APEX installation on a new 11g database is 3.0.1. As such, if no specific upgrade were done to your local APEX instance, you won’t be able to import applications from apex.oracle.com.
    As was suggested, the only feasible solution is to upgrade the local APEX instance to the version on apex.oracle.com.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Help needed in importing application -  Urgent

    Hi,
    I am new fairly new to apex and would be grateful for any help....
    I have an application that i would like to import and install... but i am obtaining an error...
    Situation is as follows:
    Application in machine A with oracle 10g standard and apex 3.0. Workspace is portal, schema is status_portal...
    export is working fine.
    Need to import it to machine B with oracle 10g and apex 3.0 Workspace is
    online_portal, schema is portal
    Import also works fine...
    But when i try to install the imported application, i get following error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02291: integrity constraint (FLOWS_030000.WWV_FLOWS_FK) violated - parent key not found <pre>begin wwv_flow_api.create_flow( p_id =&gt;134, p_display_id=&gt;134, p_owner =&gt; 'STATUS_PORTAL', p_name =&gt; 'Status Portal', p_alias =&gt; 'F114', p_page_view_logging =&gt; 'YES', p_default_page_template=&gt; 3865804637029456 + wwv_flow_api.g_id_offset, p_printer_fri
    Please guide me as to what to do....
    History:
    I have tried exporting from machine A to apex online workspace and installing there.... and vice versa...It is working fine...
    the problem arises only when i try import & install on machine B....
    Please help me.... i need to do this urgently
    Thanks,
    Sumana

    Hi Scott,
    I will not be able to show the actual application, as it has our customer's information. But i have created a sample application and done the export and import. The details are as follows:
    Machine A Details:
    Workspace name = portal
    worskspace ID = 3727029916111535
    schema = status_portal
    Exported Application Name = Status Portal
    Exported Application ID = 117
    When importing application from machine A to online workspace:
    Online Workspace Details: (when importing application 117)
    Workspace Name = sumana
    Workspace iD = 3033192431425185475
    schema = sumanadb
    Imported Application Name = Status Portal
    Imported Application IS = 42146
    You can access the workspace using: http://apex.oracle.com/pls/otn/f?p=4550:1:
    the password is sumi123
    When importing application from machine A:
    Machine B Details:
    1 ) Workspace1 Name = auditws
    workspace ID = 7048503433678645
    schema = audit_schema
    When installing imported application no 117 I get:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-02291: integrity constraint (FLOWS_030000.WWV_FLOWS_FK) violated - parent key not
    found <pre>begin wwv_flow_api.create_flow( p_id =>129, p_display_id=>129, p_owner =>
    'STATUS_PORTAL', p_name => 'Status Portal', p_alias => 'F114117', p_page_view_logging =>
    'YES', p_default_page_template=> 10898936714426385 + wwv_flow_api.g_id_offset, p_printer
    Error installing application.
    Return to application.
    2) Workspace2 name = online_portal
    workspace ID = 9302626026712423
    schema = portal
    When installing imported application no 117 I get:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-02291: integrity constraint (FLOWS_030000.WWV_FLOWS_FK) violated - parent key not found
    <pre>begin wwv_flow_api.create_flow( p_id =>159, p_display_id=>159, p_owner => 'STATUS_PORTAL',
    p_name => 'Status Portal', p_alias => 'F114117', p_page_view_logging => 'YES',
    p_default_page_template=> 10898936714426385 + wwv_flow_api.g_id_offset, p_printer
    Error installing application.
    Return to application.
    3) When importing application no 130 from machine B to machine B
    (from workspace auditws and schema audit_schema to workspace online_portal and schema portal)
    I get the error as said before
    "Access Denied by application security check" Also, i observed that,
    the application gets installed in auditws and audit_schema itself...
    Screenshots are here:
    4) when importing application no 130 from auditws back to auditws, it works fine.

  • Problems importing application

    Hi, everybody.
    i'm having some problems importing applications from my dev env to my prod env.
    it's something very strange because it was working fine 2 weeks ago, but now it's not running.
    i get into the import page, choose the file and then the page keeps with that 'importing file' message forever, and sometimes i get a 'page not found' message.
    but yesterday, i don't know why, i could import one small application. After a 'page not found' message i got into the export repository, and there was my file. i installed it and it was done.
    some days ago i was told here to take a look at the logs and to increase some parameters in apex. but i don't know if these were the correct parameters and the only logs i found were de Apache logs.
    does anyone know what can be happening or at least whar must i look for?
    thanks in advance
    Daniel.

    I can't help your problem, but I found my errors in the Apache log file.

  • Post Create/Import Application Wizard Action

    I'm fairly new to working with SCCM 2012 R2 so most of this will be pure ignorance.
    I've had a fairly easy time learning how to craft my own forms and extensions using C# and xml. I'm even getting more and more comfortable using the Admin UI Console Editor; though the sheer amount of detail in that is a bit overwhelming trying to digest
    (Series of walkthroughs anyone?)
    What I'm wondering is there a way and if so how do I link up a post wizard action to run after the standard create or import application wizard finishes.
    Right now I already have a custom wizard that sends an existing application information including it's parent folder tree and it's deployments to our intranet document repository, But that's based on our Application Section in configuration manager organized
    in the following way (All are folders obviously except the final item)
    Applications
    <Manufacturer/Publisher>
    <Product>
    <Version>
    <Actual Application>
    I would like to fire up a follow up action to automatically create the folder structure based on the above information provided in the application wizard, and then move the application into its intended destination folder
    I could add the logic into my custom documentation form but I would rather have it be something that happens when an application is created so it's one less thing our software packaging staff has to worry about.
    Thanks in advance for any help and direction on this.
    Ryan

    Hi,
    How about writing a script to create a application and the script contains codes of creating folder and moving application to a folder?
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I cant open an important application because powerpc apps are no longer supported.  what to do please

    Can someone please advise on resolving issue I cant open an important application because powerpc apps are no longer supported.  what to do please
    using macbook air

    iOS doesn't run on MacBook Airs.
    Use this tip to identify your MacBook Air:
    How to find your Mac's model and age?
    Only MacBook Air 4,1 and later can't run Snow Leopard natively.
    That said, there are options with this tip if it turns out you do have that MacBook Air or a later one:
    https://discussions.apple.com/docs/DOC-6841
    To find all your PowerPC Apps see this tip:
    https://discussions.apple.com/docs/DOC-6271

  • Exporting/Importing Application Problems

    When importing an exported application, I am having problems with the application performing the same. For example, the imported application Report Region Sort Sequence doesn't work except when I'm logged in developer mode. The sort works in the original application from which it was exported. I have compared all the page rendering, page processing and components and everything appears the same. Any ideas? Any help greatly appreciated.

    I am not sure I understand your problem definition. Can you please try to explain in some more detail what your question is?
    "Doesn't work" almost always conveys no useful information. Explain what the desired/expected behaviour is and what the actual behaviour is.

  • APEX 4.0.1 - import application fails

    Trying to switch from APEX 3.2 to APEX 4.0.1, it appears another patch release may be needed. I am unable to import applications created via APEX 3.2 export and APEX 4.0.1 export. This is the error:
    ORA-01400: cannot insert NULL into ("FLOWS_FILES"."WWV_FLOW_FILE_OBJECTS$"."ID")
    Please confirm bug or problem resolution. Thanks.

    Hi,
    what's your database version and how is your APEX 4.0.1 hosted (EPG/OHS/Listener)?
    -Udo
    P.S.: For a little further diagnostic, you could try to find out if something went wrong during your 4.0.1 installation.
    select status from dba_triggers where table_name='WWV_FLOW_FILE_OBJECTS$';If the trigger is not enabled, you might try recompiling it.
    alter trigger WWV_BIU_FLOW_FILE_OBJECTS compile;Edited by: Udo on 14.09.2010 21:15

  • Error when import application

    hi everybody,
    i get error when i try to import application
    ORA-20001: GET_BLOCK Error. 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;amp;quot;PK&amp;amp;quot; when expecting one of the following: ( - + case mod new not null &amp;amp;lt;an identifier&amp;amp;gt; &amp;amp;lt;a double-quoted delimited-identifier&amp;amp;gt; &amp;amp;lt;a bind variable&amp;amp;gt; continue avg count current exists max min prior sql stddev sum variance execute for
    i think the error comes becouse NLS_CHARACTERSET was WE8MSWIN1252 when i exported then i delete oracle DB because there are some error and i install it again with NLS_CHARACTERSET: AL32UTF8
    but when i try to import it show me the above error
    Is there any solution ?

    1) How do you know the file was exported in character set WE8MSWIN1252? In a properly configured APEX system, the export file will always be encoded in AL32UTF8.
    i see it from (Home>Administration>About Application Express ) it was
    WE8MSWIN1252
    and i select AL32UTF8 after reinstall for oracle DB.
    2) Have you tried specifying Windows-1252 as the file character set on upload?
    no , i will try this .
    i saw same issue in forum but without solution

  • [BUG] TP3 duplicating imported application module data controls

    Hi,
    I'm using TP3.
    I have an application project A which imports business components from an other project B. Whenever I open JDev (or the project A) the first time, the imported application modules from the other project B get an new entry in A's model.jpx file. This will lead to duplicate data controls in the Data Control panel.
    There might be other possible ways to get duplicate entries, but this one I can reproduce. I'm not sure if there are any implications having duplicate entries (my be longer start up time in OC4J).
    Can anybody confirm my findings?
    Timo

    Hi Frank,
    right now I don't have a test case, but I'll try to set one up. This will take some time. Till then I can only describe in detail what I did.
    I have an older application Module migrated from version 10.1.2.2 via 10.1.3.3 to 11TP3. The application is used to login a user to our application framework. User name and password are checked against a DB table and if correct some user information is compiled into a bean.
    In all of our other applications this login module is used to authenticate a user.
    I added the logingmodule.jar ro the classpath and the used 'file->import->business components' to import the application module into a new ADF Fusion Application (this was the method to import application modules from other projects in versions 10.1.2.1 and also worked in 10.1.3.3).
    Afer importing the jar I can add the login module to the new application module in the 'Data Model-> Application Aodule Instances' shuffle component.
    As far as I found out this triggers an entry in the model.jpx file:  <AppContainee
        Name="ber"
        ObjectType="JboProject">
        <DesignTime>
          <Attr Name="_SourceName" Value="loginModel.jar"/>
        </DesignTime>
      </AppContainee> This entry gets dulicated every time I open the project in JDev 11TP3 the first time.
    I read in the new doc, chapter 31, that there is a new method to reuse application modules (or other objects). This I'm currently checking out. Nonetheless I try to set up a test case.
    Timo

  • Problem importing application to different work space in different schema

    Hi
    I have developed a application in scheme 'A' in the workspace 'B'. When I tried to export the same application in Scheme 'X' and work space 'Y' it is giving the following error while running the imported application in schema 'X' and workspace 'Y'. Please let me know, how I can resolve this problem.
    ORA-0000: normal, successful completion
    Error Unable to fetch authentication_scheme in application 144.
    OK
    Tnx
    BHS

    What version are you using?
    Can you import the app into your workspace on apex.oracle.com where we can see it fail?
    Scott

  • Is there a way to Import Application Role ?

    Hi Gurus,
    I'm recently involved in a project, where people firstly want to import application role with a ADF Jar Library file. Now after testing, we know the ADF Library doesn't pack the jazn-data.xml inside itself. Then, is there any other ways to import policy store into an application ?
    Gene

    Our project is break down into several parts, each parts is an application (in jdev) at design time. and we have a portal application (webcenter) to consume all taskflows from those applications. but when pack up taskflow inside a adf library jar file, the policy(jazn-data.xml) is not included. we want to find a way to import policy into the portal application.

  • Automate import applications(app-v) in sccm 2012

    Hi,
    I wonder it there are some ready made tools to import applications, specifically app-v in SCCM 2012.
    F.e. an excel-sheet/csv that is filled in with predefined fields and then can import applications.
    Pls advise.
    J.
    Jan Hoedt

    The only community tool that I know is SCCM 2012 Application Importer, see:
    https://sccmappimp.codeplex.com/
    AFAIK, this tool doesn't work with App-V applications, yet.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Import application

    Hi,
    we just let the latest version of HTMLDB 1.4.4.00.33 installed on our own environment. I am trying yo move over our ARIA (aria.us.oracle.com/lms: version 1.4.4.00.32) based application to our own environment. While importing with the correct Char set and settings I get the following error (see below).
    We just let our environment upgrade to the lastest version to avoid any import/export problems.
    Can you help me out?
    Regards,
    Patrick
    Error installing application.
    Return to Application
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02291: integrity constraint (FLOWS_010404.WWV_FLOWS_FK) violated - parent key not found
    1534::begin
    wwv_flow_api.create_flow(
    p_id =>106,
    p_display_id=>106,
    p_owner => 'LMS',
    p_name => 'ORI EMEA',
    p_alias => '106',
    p_page_view_logging => 'YES',
    p_default_page_template=> 326075150375066885 + wwv_flow_api.g_id_offset,
    p_printer_friendly_template=> 326075356994066885 + wwv_flow_api.g_id_offset,

    Patrick,
    Your workspace does not exist in the new HTML DB instance. This must exist before you can import applications into it.
    You can either:
    1) Export your workspace from the "old" instance and import it into the "new" instance.
    or
    2) Manually recreate the workspace on the new instance, ensuring you use exactly the same Workspace ID as the one on the old instance.
    Joel

  • Error while importing application

    Hi,
    This is the first time I encounter this problem.
    I tried to import application from 1 workspace to another, but encountered below error when the import process trying to install the application.
    Error     ERR-1029 Unable to store session info. session=842080365761921 item=40006855470898
    ORA-02091: transaction rolled back ORA-02291: integrity constraint (APEX_040100.WWV_FLOW_PAGE_DA_A_AR_FK) violated - parent key not found
    I am using version 4.1.0.00.32
    Anyone know why?
    Thanks
    Vincent

    Hi Vincent,
    no, don't delete all lines! Just the ones that don't have a matching "partner".
    These would be ok:
    p_affected_elements_type => 'REGION'
    p_affected_region_id => 247245133258676897 + wwv_flow_api.g_id_offset
    or
    p_affected_elements_type => 'ITEM'
    p_affected_elements => 'P4_DISP_OBJ'
    or
    p_affected_elements_type => 'JQUERY_SELECTOR'
    p_affected_elements => 'span.tooltip-plsql'
    This would cause an error and has to be deleted:
    p_affected_region_id => 393187746780221880 + wwv_flow_api.g_id_offset
    BUT if you are planning to export the application again, it would make more sense to find the Dynamic Actions and do what Anthony suggested:
    "If this was the case, and to workaround this for the moment without having to edit the export every time, you can go back into the DA, temporarily select 'Region' again for the 'Selection Type', clear the 'Region', change the selection type back to '- Select Type -' again and save this. This should clean this out and get rid of the issue for you."
    To find these regions, use
    SELECT *
      FROM apex_040100.wwv_flow_page_da_actions da
    WHERE affected_elements_type = 'REGION'
       AND NOT EXISTS (SELECT id
              FROM apex_040100.wwv_flow_page_plugs pp
             WHERE da.flow_id = pp.flow_id
               AND da.affected_region_id = pp.id);Best regards,
    Sabine

  • Importing Applications from 10.4?

    Hi,
    I am awaiting delivery of a new iMac and am wondering if I'll be able to hook my lap top with 10.4 to the new Snow Leopard machine (via FW) and be able to import applications between OS?

    Yes, you can do what you want. Personally, I would prefer to use a combination of drag and drop and reinstall by hand. Regardless, be sure that Rosetta is installed on your new machine if you will be importing any PPC apps. You can install Rosetta using the optional install folder on your Sno DVD. Check here on [using migration assistant|http://support.apple.com/kb/HT3322] to do what you want.
    Message was edited by: donv (The Ghost)

Maybe you are looking for

  • How to connect to tv and will hd movies be in hd

    how do i connect ipad to tv and will movies be in hd-also how fast does internet need to be to watch movies with apple tv

  • How do you disable the LOUD low battery beep on Envy M6 laptops?

    I bought TWO HP Envy M6-1105dx laptops for Black Friday (Too late to return them now). I have spent days and hours speaking with HP tech support, case managers, supervisors, corporate office and senior case managers and it all seems to be the same. "

  • SAP BI 4.0 - OS/DB Migration

    Hello, I'm looking for Best Practices to move one BI to a new OS & DB  : Source Sun/Oracle 10, Target HPUX or Linux / Oracle 11 In "Business Intelligence Platform Administrator Guide - SAP BusinessObjects Business Intelligence platform 4.0 Support Pa

  • Dynamic table issue

    Dear Experts,    Iam filling the table node by column by column.Let us suppose first column has 10 records.Second column records starting with 11'th row.If any body have idea.Plz give rpl. Thanks, Santhosh

  • Updating android sdk

    I installed android sdk from AUR. Is it safe to update android sdk manually? Or should I wait AUR update?