The application import fails after you delete and import to workspace

I DEV and PROD workspaces.

Both on Oracle 11 g, Apex 3.1.0.00.32

The two environments were created at the same time. Apex PROD workspaces were not initially created through the importation of DEV workspaces. To migrate applications exported us dev and imported the application prod with the same application ID.

To allow the migration of page and component of the PROD, workspace was deleted then recreated via an import to workspace DEV.

I deleted the workspace, but I did not remove the application first. I assumed that the applications and all the metadata would be eliminated. When I tried to import the application with the same ID than I was not deleted, it failed with the message below.

ORA-20001: GET_BLOCK error. ORA-20001: Execution of the statement was not successful. ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS_PK) violated & lt; pre & gt; begin wwv_flow_api.create_worksheet_rpt (p_id = & amp; gt; 8617018538334033 + wwv_flow_api.g_id_offset, p_flow_id = & amp; gt; wwv_flow.g_flow_id, p_page_id is & amp; gt; 4003, p_worksheet_id = & amp; gt; 8615624563268070 + wwv_flow_api.g_id_offset, p_session_id = & amp; gt;) NULL, p_base_report_id = & amp; GT; NULL + wwv_flow_api.g_id_off


I was able to create a new application that uses the same number of App. It's only the import of the latest version of the same app that has been in the workspace removed as I get failure. I guess that all the metadata do not get cleaned.

Is it possible to manually clean the tables of flow? Or is there something else keeps me to import the same application to any workspace.

TIA,

Sam

3.1.0 there was no constraint of cascade deletion between the tables of interactive reports and workspaces in order to remove a workspace would eliminate applications but not interactive reports. You have two options:

(1) apply the 3.1.2 patch (easy and painless) and then repeat your steps.

(2) access directly the flows_030100 schema and

delete wwv_flow_worksheet_rpts where security_group_id =... 5512;
commit;

Scott

PS You wrote "WS ID - 7747, 5512, 7757". Who should have 'ID - 7747, 5512, 7747 WS'?

Tags: Database

Similar Questions

Maybe you are looking for

  • How to disable the keyboard backlight on Portege Z830?

    Hello eyeryone! I hope someone can help me with the following "problem" on my Z830 backlit keyboard. The thing is I want to use this function, when it is not necessary, but every time I change my setting of the energy of 'eco' on the keyboard lights

  • How to allow another access to the computer through firewall

    How to enable another computer game acess my fire wall

  • HP Photosmart B110: efax?

    Hello community! I would use efax without payments as described in ePrintCenters help, but efax does not appear on the startdisplay of my B110 (too not in ePrintCenters apps). Is it possible to get a) these app or b) another application with the same

  • How to print specific pages does not not in LJColorPro M177

    You just bought a new LJ MFP M177 ColorPro works with a Mac in Mac OS 10.6. I want to print specific pages in the HP manual that came with the installation diskettes. No matter what page numbers I can print, they never match the screen pages in this

  • How to remove the actionItem running?

    There are 2 ActionItem on the action bar and a SegmentedControl, how can I implement the function that when SegmentedControl be switched, remove or hide one of the ActionItems? SegmentedControl { ID: segment Option { text: qsTr ("transfer") value: "t