Importing a page giving errors after upgrade to APEX 4.2.3

Good afternoon
We upgraded from APEX 4.2.1.  Now we cannot import a page get error:
Execution of the statement was unsuccessful. ORA-20001: Error creating page name="Dashboard" id="56" ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_STEP_UI_FK) violated - parent key not found
Is there anybody that found a workaround?

There is a patch that is available that fixes exactly this problem.. see this thread for more info
Apex 4.2.2 via Apex Listener 2 - returns blank screen
There is no other way to "fix it"

Similar Messages

  • Authentication error after upgrade to APEX 4.2

    Hi,
    After the upgrade to Apex 4.2, I started to receive an error when trying to run the application.
    ERROR: "There is no authentication configured for this application. ORA-01403: no data found".
    I checked and double checked the authentication options. Everything seemed fine. Tried several tricks. No success.
    Then I didn't bother much. I just recreated the application (that is - created a copy of the application) and got rid of this error. Then deleted the application that wouldn't run and kept the new one. Everything works fine now.
    Was there an option that I had missed? What would have been a "polite" way to get rid of this error?
    M
    Edited by: user1671420 on 2.09.2012 13:11
    Edited by: user1671420 on 2.09.2012 22:55

    Hi,
    I had the same issue after upgrade, using a Custom Authentication Scheme (LDAP).
    Debugging and adding logs indicated that the session was being processed correctly, but to "nobody", therefore raising the "Invalid Login Crednetials" message.
    At a total loss for ideas, I started changing URL parameters on this authentication scheme (after having deleted the login page, recreating and even re-importing, changing processes etc etc), applied the changes and it worked.
    Not fully understanding why slight changes worked, I reverted the changes, clicked on "Apply Changes" and it worked as well.
    This led me to believe that the actual Authentication Scheme was decompiled, or needed to be re-validated somehow. I tested this on other applications that use the same scheme (but were also inaccessible), and it worked.
    Edit Application --> Edit Application Properties --> Security Tab --> Define Authentication Schemes --> "Edit Current Scheme" --> Don't make any changes, Simply click on "Apply Changes"
    I hope this helps anyone who might be having the same issue.
    Kindly,
    James

  • XLS download of interactive report - error after upgrade to apex 4.1.1

    Hello!
    When trying to download a certain IR with e.g. 10 columns as XLS, I get the following error in the Excel in Apex 4.1.1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If I change it to two columns it works.
    BI Publisher 11.1.1.5.0
    Apex 4.1.1.00.23
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    In Apex 4.0.2.00.07 the exact same IR works with any number of columns.
    Any ideas?
    BR Paul

    BR Paul,
    I am experiencing the same issue after upgrading to 4.1.1.00.23 and trying to download pdf via bi pub xmlpserver. Seems if i reduce the columns to what fits on an 8.5X11 page then it works without error. Were you able to find a workaround in 4.1.1? Just trying to save some effort if you already found the solution. I wasn't successful in finding many others with this issue, so i appreciate the post but unfortunately don't have an answer to our problem. I'm using the standard csv download option and this works but of course it isn't going through bi pub.
    thanks,
    Jeff

  • Airport Extreme giving errors after upgrading to ML Server

    With OS X Server, your machine sees your Airport Extreme and can then configure it by opening ports, etc. once you turn on services. I upgraded from OS X Lion Server to ML Server and everything was fine for a second. Now whenever I click on the Extreme in the panel, I get the following error:
    The error occurred while processing a command of type 'getIGDPortmaps' in plug-in 'servermgr_network'.
    In Console, this error pops up:
    7/26/12 9:01:12.036 PM Server[4546]: Error: The server '10.0.1.250' reported an error while processing a command of type: 'getIGDPortmaps' in plug-in: 'servermgr_network'. Error: Error Domain=com.apple.Keychain Code=-25300 "The operation couldn’t be completed. (com.apple.Keychain error -25300.)"
    I've got in and deleted all the keychain passwords having to do with the Basestation and I still get the same error. Right now, I put Ser

    I don't know if this will help but here's what happened today.
    While I was out of the house, I wanted to see if the VPN connection was still active and working on my phone. It told me that it couldn't log in so no big deal. I figured I'd check it when I got home.
    I got home and checked the Server settings for VPN and sure enough, it was off. I turned the VPN setting to ON and let it write its information. I then went to the AEBS tab on the left pane and it asked me for the password. Once I put in the password for the AEBS, it worked just fine.
    So far what I've done was erase any Keychain passwords related to the AEBS and turned on VPN service to get it working. Don't know if that'll work for everyone else but hopefully it does. Seems it's a tiny bug that should be stomped out rather quickly as it's a huge piece of OS X Server.

  • Time machine fails backing up with a "backup disk not found" error after upgrade to Lion 10.7.2

    Time machine fails backing up with a "backup disk not found" error after upgrade to Lion 10.7.2. I've erased and reformatted the drive; reconnected Time Machine(it saw it) and began a new backup. The backup starts again but fails before completing with backup drive not found error. I used the 10.7.2 combo update. Any help on how to fix this problem would be appreciated.

    Arghhhhhhhhhhhhhhhhhhh!!!!!!
    After waiting since October for a fix, I have now upgraded the firmware on the Time Capsule and installed the new Airport Utility, released yesterday, and the situation is even worse.
    Up until now, the Airport Utility had an option to disconnect all drives manually and the Time Capsule would then work until the next reboot – a temporary (?) work-around.
    Now that option does not exist in the new-look Airport Utility. And the Airport Utility installation can’t be rolled back and the old utility won’t restore.
    The sparesbundle is still not accessible. Anyone worked out a work-around in the new environment yet?
    I have another Time Machine backup working fine to a trusty old Lacie Drive so erased the one on my Time Capsule to see if that works. I have renamed the Capsule and the Time Capsule Drive.  But to build another full backup will take at least two days and I shall be away from tomorrow and am reluctant to leave the Capsule and computer up and running for a week. And I’ll bet the sparsbundle will still be nowhere to be found.
    How can Apple screw up so badly when they are to become the richest company in the entire world and – soon – will have more cash in the bank than the entire United States? Can’t they afford someone who really can sort this out? Especially when a Firewire connected hard drive – my trusty and simple LaCie – works fine.
    Words, almost, fail me.

  • How can I access old Entourage emails to import them into Mac Mail after upgrading to OS Lion?il

    How can I access old Entourage emails to import them into Mac Mail after upgrading to OS Lion? I don't really want to go back to Snow Leopard in order to access the old Microsoft Applications, but they simply aren't supported in Lion.

    In Mail you can select Import Mailboxes... from the File menu. There is an import from Entourage feature.

  • Flash 9,0,124,0 security error after upgrade

    I get the following error after upgrading my Flash Player
    (after my system prompted me to install it while running the Flash
    editor):
    Internet Explorer has blocked this site from using an ActiveX
    control in an unsafe manner.
    I have uninstalled and reinstalled the player from the
    browser, about 5 times now and it continues to be a problem for IE.
    Works ok in Firefox if I manually download the FF installer. Is
    there a standalone installer for Vista/IE7 or am I forced to use
    the ActiveX installer which seems to have issues?

    Fix: Removed both (!?more than one?!) versions of flash
    player in my Programs and Features dialog, then ran
    uninstall_flash_player.exe, reset IE7 to factory spec, then
    reinstalled Flash from ActiveX. Seems to be working now.

  • TS1277 "iPhoto was unable to connect to Photo Stream" error after upgrading to mountain lion

    Has anyone gotten this error after upgrading to mountain lion on a computer that already had a user setup on it?
    My iphoto was working with photostream and now it will not connect at all.
    I ran fix disk permissions and once it showed up in iphoto, photostream was loading and then it disappeared again.
    help!

    FWIW I fixed mine when I realised I'd probably downloaded iPhoto using an AppleID from the App Store but logged into iCloud with a different AppleID. I deleted iPhoto and it's related files (but not the iPhoto Library) using CleanApp, entered the App Store with my usual AppleID and downloaded iPhoto again. Once the App Store, the downloaded iPhoto and iCloud logins were the same iPhoto Stream worked again.

  • Error after upgrade CRS 4.0.4SR1 to 4.0.5SR2

    Hi,
    I've got some errors after upgrading my CRS 4.0.4SR1 cluster to 4.0.5SR2.
    First my publisher's status stay in "patch" status for near 2 days now. I'm not able to change anything in the configuration, i've got this message "Config Changes are not allowed during 'Patch' operation, which was started by  '_ccbu_build' at 'Thu Apr 08 04:31:04 CEST 2010 '. Please try again after  'Patch' is complete."(ERREUR02.jpg). How can I change this status?
    Then I've got errors in historical DB which is working but not on the publisher only on subscriber. How can I resynchronize this DB?
    Thanks for your help.

    Thanks Tammy for the reply
    We already tried the suggested SAP Note couple of time without any luck.
    Regards,
    SJ

  • Error after upgrading from  sap b1 pl 35 to pl 49

    hello sap experts 
    iam getting the following error after upgrading from  sap b1 pl 35 to pl 49 this error is coming if we have given round off or discount in the below cell
    "Discount deviates from authorised ranges (sales oreder-discount%for document) [message 439-15] pls make it as soon as possible an i will be thankful to those guys .
    regards
    Jenny

    Hello Jenny,
    You may check by supreuser account first to see if you got the same error.  If not, it probably just related to user authorization.  If yes, it must be a bug.
    Thanks,
    Gordon

  • What can I do if I get an internal power error after upgrading to Windows 10?

    QuestionWhat can I do if I get an internal power error after upgrading to Windows 10?
    AnswerSome laptops with AMD graphics that upgraded to Windows 10 are showing blue screens with error messages regarding Internal_Power_Error. If you receive this error, try the procedure in this article.
    First, you'll need to quickly set the boot options to Safe Mode:
    1. Hold the Windows key and press 'R' to open the run box.
    2. Type MSCONFIG, then press ENTER.
    3. Select the BOOT tab.
    4. Under BOOT OPTIONS, check Safe boot, then select Minimal.
    5. Click Apply, then OK.
    6. Click Restart. (If prompted, click Restart anyway.)
    From Safe Mode disable the AMD Display Driver:
    1. Hold the Windows key and press the 'X' key to open a menu in the lower-left.
    2. Click Device Manager.
    3. Expand Display adapters to show the two display adapters.
    4. Double click AMD Radeon R9 M200X Series.
    5. Select the Driver tab.
    6. Click Disable, then click Yes to confirm.
    7. Click Close.
    8. Hold the Windows key and press the 'R' key to open the run box.
    9. Type MSCONFIG, then press ENTER.
    10. Select the BOOT tab.
    11. Uncheck Safe boot.
    12. Click Apply, then OK.
    13. Click Restart. (If prompted, click Restart anyway.)
    From Windows 10 started with the AMD Display Driver disabled:
    1. Hold the Windows key and press the 'X' key to open a menu in the lower-left.
    2. Click Device Manager.
    3. Expand Display adapters to show the two display adapters.
    4. Double click AMD Radeon R9 M200X Series.
    5. Select the Driver tab.
    6. Click Update Driver.
    7. Click Search automatically for updated driver software.
    8. An AMD driver should be found and installed.
    The driver that originally caused this problem is AMD display driver version 15.200.1046.2 dated 7/15/2015.
    The driver installed through this process might have an older date, such as 15.200.1055.0 dated 7/6/2015. That's okay.

    I'm having the same problem.  I got error message 21.  I went to apple store.  they are saying i have a hardware error.  Really, my phone was working before the update.  Asked me for $150 to get another one when I am due to get a new one and wanted to pass this one on to my child. 
    Help please,
    I will be glad to go back to the older software update

  • Imac error after upgrade to 10.8.4

    I received an error after upgrade tp brand new imac.  Error was upgrade was not installed.  Upon reboot the version of SW in About thi Mac is 10.8.4.  Bug?
    iMac i7, 21.5" 16GB memory, fusion drive.
    Thanks for input.  I assume the upgrade took.

    Verify Permissions gave me some errors, I deleted the repeats and the permissions fixed lines:
    Repairing permissions for “Macintosh HD”
    Warning: SUID file “System/Library/PrivateFrameworks/Admin.framework/Versions/A/Resources/readconf ig” has been modified and will not be repaired.
    Warning: SUID file “usr/lib/sa/sadc” has been modified and will not be repaired.
    Warning: SUID file “usr/bin/quota” has been modified and will not be repaired.
    +++ (multiple repairs)
    Permissions repair complete
    I verfied the HD
    Much text (removed)...
    The volume Macintosh HD appears to be OK.
    I also loaded the Apple downloads version of the upgarde and received the following (again):
    The Installation failed
    The insatllation encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    Message was edited by: Steve51K

  • Popup LOV returns not found on this server after upgrading to APEX 3.2

    The Popup Key LOV (Displays description, returns key value) does not work after upgrading to APEX 3.2 from APEX 3.0.
    Don't now if the character set is relevant.
    The database character set on APEX 3.0 was:
    NLS_CHARACTERSET: WE8MSWIN1252
    DAD CHARACTERSET: WINDOWS-1252
    APEX 3.2:
    NLS_CHARACTERSET:     AL32UTF8
    DAD CHARACTERSET:     UTF-8
    When clicking on the popup the message is "The requested URL /pls/apex31mb/wwv_flow_utilities.gen_popup_list was not found on this server.".
    This error applies for both Firefox and IE.

    Can't reproduce the error on apex.oracle.com, the popup works fine.
    The only difference I notice on the environments is the database version (our: 10g, oracle.apex.com: 11g), but I can't see this have any influence.

  • Integration of APEX in OBIEE 11g fails after upgrade to APEX 4.2.1

    I used a document from the german APEX forum to integrate Oracle Business Intelligence 11g (OBIEE) with APEX.
    After login in OBIEE a APEX page will be called without login in APEX.
    The Document is called "APEX in Oracle Business Intelligence (Oracle BI) integrieren"
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/biee-apex/index.html
    In APEX 4.0 this worked great. After login in OBIEE I could call a APEX page without new login.
    But after upgrading to APEX 4.2.1 now the APEX login mask is displayed.
    OBIEE uses this function to create a APEX session and store the APEX session-id and username in the table apex_biee_session:
    -- Function GET_APEX_SESSION_ID
    -- sets up an APEX session for a BIEE user
    FUNCTION get_apex_session_id (p_username IN VARCHAR2,p_days_valid IN NUMBER DEFAULT 1) RETURN VARCHAR2
    IS
    pragma autonomous_transaction;
    l_session_id NUMBER;
    l_valid_to DATE;
    l_count NUMBER;
    l_password VARCHAR2(4000);
    BEGIN
    l_valid_to := SYSDATE + NVL(p_days_valid,1);
    -- Let us delete expired records:
    BEGIN
    DELETE FROM apex_biee_session
    WHERE valid_to < TRUNC(SYSDATE,'DD');
    COMMIT;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    -- get next APEX session id:
    l_session_id := apex_custom_auth.get_next_session_id;
    -- Insert the BIEE user and the APEX session id in table APEX_BIEE_SESSION
    INSERT INTO apex_biee_session (username, sessioN_id, valid_to)
    VALUES (UPPER(p_username),l_session_id,l_valid_to);
    COMMIT;
    -- define an APEX user session:
    apex_custom_auth.define_user_session(
    p_user => UPPER(p_username),
    p_session_id => l_session_id);
    htmldb_application.g_unrecoverable_error := TRUE; -- tell apex engine to quit
    RETURN l_session_id;
    EXCEPTION
    WHEN OTHERS THEN RETURN '-99';
    END get_apex_session_id;
    CREATE TABLE "APEX_BIEE_SESSION"
    (     "USERNAME"     VARCHAR2(60),
         "SESSION_ID"     NUMBER,
         "VALID_TO"     DATE,
         CONSTRAINT "APEX_BIEE_SESSION_PK" PRIMARY KEY ("USERNAME","SESSION_ID")
    In APEX this page sentry function is called:
    -- Function PAGE_SENTRY
    -- used as page sentry function in APEX applications
    FUNCTION page_sentry RETURN BOOLEAN
    IS
    l_current_sid NUMBER;
    l_biee_userid VARCHAR2(255);
    l_cookie owa_cookie.cookie;
    l_c_value VARCHAR2(255) := NULL;
    l_cookie_tom owa_cookie.cookie;
    l_c_value_tom VARCHAR2(255) := NULL;
    l_session_id NUMBER;
    l_biee_auth     VARCHAR2(1) := 'N';
    BEGIN
    BEGIN
    -- If normal APEX user authentication is used, cookie LOGIN_USERNAME_COOKIE will be used
    l_cookie_tom := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    l_c_value_tom := l_cookie_tom.vals(1);
    l_biee_userid := UPPER(l_cookie_tom.vals(1));
    EXCEPTION
    WHEN OTHERS THEN NULL;
    END;
    l_session_id := apex_custom_auth.get_session_id; -- in APEX 4.2.1 this returns NULL
    -- Do we have a record in table APEX_BIEE_SESSION with the current session id
    BEGIN
    SELECT UPPER(username) INTO l_biee_userid
    FROM apex_biee_session
    WHERE session_id = l_session_id AND valid_to > SYSDATE;
    l_biee_auth := 'Y';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN l_biee_userid := 'Failed';
    END;
    IF l_biee_userid = 'Failed' THEN
    IF l_c_value_tom IS NULL THEN
    l_biee_userid := NULL;
    ELSE
    l_biee_userid := UPPER(l_c_value_tom);
    END IF;
    END IF;
    -- If l_biee_userid is NULL we need to call the APEX login page (done by RETURN FALSE)
    IF l_biee_userid IS NULL THEN
    RETURN FALSE;
    END IF;
    IF l_biee_auth = 'N' THEN
    l_current_sid := apex_custom_auth.get_session_id_from_cookie;
    ELSE
    l_current_sid := l_session_id;
    END IF;
    -- This is the built-in part of the session verification
    IF apex_custom_auth.is_session_valid THEN
    wwv_flow.g_instance := l_current_sid;
    IF apex_custom_auth.get_username IS NULL THEN
    apex_custom_auth.define_user_session(
    p_user => UPPER(l_biee_userid),
    p_session_id => l_current_sid);
    RETURN TRUE;
    ELSE
    IF UPPER(l_biee_userid) = UPPER(apex_custom_auth.get_username) THEN
    apex_custom_auth.define_user_session(
    p_user =>UPPER(l_biee_userid),
    p_session_id =>l_current_sid);
    RETURN TRUE;
    ELSE -- username mismatch. Unset the session cookie and redirect back here to take other branch
    apex_custom_auth.logout(
    p_this_app=>v('APP_ID'),
    p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
    wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
    RETURN FALSE;
    END IF;
    END IF;
    ELSE -- application session cookie not valid; we need a new apex session
    IF l_biee_auth <> 'Y' THEN
    l_session_id := apex_custom_auth.get_next_session_id;
    END IF;
    apex_custom_auth.define_user_session(
    p_user => l_biee_userid,
    p_session_id => l_session_id);
    wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
    IF owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' THEN
    wwv_flow_custom_auth.remember_deep_link(
    p_url=>'f?'||wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING')));
    ELSE
    wwv_flow_custom_auth.remember_deep_link(
    p_url=>'f?p='||
    TO_CHAR(wwv_flow.g_flow_id)||':'||
    TO_CHAR(nvl(wwv_flow.g_flow_step_id,0))||':'||
    TO_CHAR(wwv_flow.g_instance));
    END IF;
    apex_custom_auth.post_login( -- register session in htmldb sessions table, set cookie, redirect back
    p_uname => l_biee_userid,
    p_app_page => wwv_flow.g_flow_id||':'||nvl(wwv_flow.g_flow_step_id,0));
    RETURN FALSE;
    END IF;
    END page_sentry;
    The problem seems to be that in line "l_session_id := apex_custom_auth.get_session_id;" the call of apex_custom_auth.get_session_id is returning NULL in APEX 4.2.1.
    In APEX 4.0 the call of apex_custom_auth.get_session_id returned the APEX session id.
    What can I do to get this working again ?
    Kind Regards,
    Markus
    Edited by: asmodius1 on Jan 10, 2013 2:06 PM

    Hi,
    this integration relies on session fixation, that's an insecure practice which is not allowed anymore since 4.1:
    http://en.wikipedia.org/wiki/Session_fixation
    Since the cookie value for the session id is missing, Apex rejects the session id and sets it to null, before calling the sentry function.
    If you absolutely want to use this kind of integration, you will have to parse the value of owa_util.get_cgi_env('QUERY_STRING') in the sentry function to get the session id. To make it a bit more secure, the row in APEX_BIEE_SESSION should only be valid for a very short time (e.g. 1 sec). A person from Oracle Support contacted me about possible improvements to this authentication a few weeks ago. I replied with the following suggestions:
    I would at least add a Y/N flag (e.g. SESSION_JOINED_BY_APEX) to the
    APEX_BIEE_SESSION table. The page sentry should only accept the session
    without an accompanying cookie if the flag is still N. It has to set it
    to Y afterwards. This way, you ensure that the session joining without
    cookie can only be done once. Maybe there should also be an alternative
    way to log in to APEX, e.g. via page 101. Currently, this authentication
    only accepts session IDs that were generated via OBIEE.
    Users could log out of APEX or the APEX session could expire. Therefore,
    the APEX app should have a post logout procedure that deletes the row in
    the OBIEE session table. On the OBIEE side, APEX_SESSION_ID should
    therefore be initialized on each request. The initialization code should
    also check APEX_WORKSPACE_SESSIONS to make sure the session still
    exists.
    Regards,
    Christian

  • Masked HTML tags in substitution strings after upgrade to Apex 2.2

    Hello,<br>
    <br>
    in my application developed with htmldb 2.0 I had the following scenario which worked fine until upgrade to 2.2:<br>
    <br>
    Requirement: a multiline text should be displayed as entered on a html report page.<br>
    My solution:<br>
    - a onload page process of the form <br>
    select replace(description,chr(10),'&lt;br&gt;') into :P1_DESCRIPTION from mytable where id = :P1_ID;<br>
    - and a page template containing <br>
    ...<br>
    <td>&P1_DESCRIPTION.</td><br>
    ...<br>
    <br>
    This worked in HTML DB 2.0.<br>
    <br>
    My problem: After upgrade to Apex 2.2 the report doesn't display the carriage returns anymore. Instead of interpreted BR tags I get masked BR tags printed as text:<br><br>
    <br>this is the first line&lt;br&gt;this is the second line<br><br>
    It's quite obvious that the substitution mechanism changed in Apex 2.2. Any ideas how to change my app ?

    Take a look at this thread:
    Computed Region TItles being Escaped in Apex 2.2
    You may have to change the type of your P1_DESCRIPTION item.

Maybe you are looking for