Region report on apex 4.1 upgrade page get the error ORA-01790

Hi all
We have recently upgraded from 3.1.2 to 4.1. One of the pages in several regions, one being a region of report. It has a simple sql statement:
Select
"RU_TD_ID,"
"RU_TH_ID,"
"LOC"
"DEPT"
'ACCOUNT ',.
"SUB."
"SPRT."
"DETAIL_DESC,"
"SERVICE_PERIOD,"
"DETAIL_AMT,"
"FULL_ACCT_STRING,"
'DATE_ADD ',.
"USER_ADD."
"DATE_UPD,"
'USER_UPD '.
of ' #OWNER # '. " RU_TRANS_DTL ".
where "RU_TH_ID" =: P26_RU_TH_ID

: p26_ru_th_id is entered in a header after process... I can see this field filled in other parts of the page and you can see in the URL to this page... http://sea-ax0038.davita.com:7777 / pls/fintest_apex/f? p = 130:26:6483666979470721:NO:P26_RU_TH_ID:13745

I have active debugging and it comes back with the following:

0.00227 0,18859 region: details of payment 4
review of the salon 0.00358 0,19093 4
0.00086 0,19451 determine the 4 column headers
0.00288 0,19527 enable sorting 4
0.00112 0,19818 analyze the query like: FINAPPS 4
0,19928-0.00121... Execute the statement: select NULL NULL "CHECK$ 01", 'RU_TD_ID': 'P14_RU_TH_ID' 'RU_TH_ID', NULL, 'FULL_ACCT_STRING', NULL, 'DETAIL_AMT', NULL, 'DETAIL_DESC', NULL, 'SERVICE_PERIOD', NULL, 'LOC', NULL, 'DEPT', NULL, 'ACCT', NULL, 'SUB', NULL "SPRT,' NULL 'DATE_ADD', NULL"USER_ADD', NULL, 'DATE_UPD', NULL, 'USER_UPD' of the union select double all ' CHECK$ 01 ","RU_TD_ID" , 'RU_TH_ID', 'FULL_ACCT_STRING', 'DETAIL_AMT', 'DETAIL_DESC', 'SERVICE_PERIOD', "LOC", "DEPT", 'ACCOUNT', "SUB", "SPRT", 'DATE_ADD', "USER_ADD", 'DATE_UPD', 'USER_UPD' of (select NULL "CHECK$ 01", "RU_TD_ID", "RU_TH_ID", "LOC", "DEPT", 'ACCT', "SUB", "SPRT", 'DETAIL_DESC', 'SERVICE_PERIOD', 'DETAIL_AMT', 'FULL_ACCT_STRING', 'DATE_ADD', "USER_ADD", 'DATE_UPD', 'USER_UPD' from (select 'RU_TD_ID' 'RU_TH_ID' ') , "LOC", "DEPT", "ACCOUNT", "SUB", "SPRT', 'DETAIL_DESC', 'SERVICE_PERIOD', 'DETAIL_AMT', 'FULL_ACCT_STRING', 'DATE_ADD', 'USER_ADD', 'DATE_UPD', 'USER_UPD' to 'FINAPPS '. ((' "RU_TRANS_DTL" where "RU_TH_ID" =: P26_RU_TH_ID) APEX$ RPTSRC order by 2 nulls first) 4
0,20053 0.00653 rename mentioned link "P14_RU_TH_ID" to "p$ _quoted_bind_1 ' 4
0,20706 0.00094 report error: ORA-01790: expression must have the same data type as the corresponding expression 4

The only thing that jumps, is where there the line "Rename city bind...". "I have no idea why is the reference 'P14_RU_TH_ID' in the select clause... it is P26 and was called from P11. In fact I do not understand why the whole of the union everything is generated wit the first part all the field of execept P14_RU_TH_ID NULL.

The other two regions on the page fill/processusent without problem.

Any help would be appreciated. We have improved the production 4.1 over the weekend and users missed test this feature and it is 'critical' (of course).

Thank you
Kristina

Published by: Kristina on February 13, 2012 21:01

Hi Kristina,

in fact, you should see a search box with the value 'Translational research' at the top right. When you click this field, the text will disappear and you can type in your search criteria. Press on [Enter] to run your search.

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • Error in the generator of the ApEx 4 on Edit Page of the article: ORA-06502

    Hello

    We took 4 ApEx (patch 4.0.1.00.03), and have a problem in a single application, where appears the error ORA-06502 character string buffer too small.) This error at bottom of the page this article Page. In addition, point editing the page "settings" section is left blank, so I can't change any settings. It also gives me wrong when creating new items, so I have to copy existing elements and change them from place. This worked until recently, when the mistake is now also displayed in the application itself, and not only in the constructor. This is a page with a tabular presentation and some elements of search filter. After having fill the filter and click on a search button, the error message and tables is not rendered. This happens from time to time, and the 'solution' is to disconnect and return to the application. I'm not 100% sure, but I guess that's the same problem as the error appearing in the report generator. It is certainly not caused by user data.

    So far, I found this:

    While developing the application, we regularly put the generator of the ApEx between French and English. I read that it was a cause of ORA-06502, but that this problem has been resolved in version 4.0.1.00.03. Our problem may still be linked to the multilingual constructor?

    I ask this because we are running other applications in the same environment, ApEx, and they are all very good. So somehow this error in Report Designer is related to this particular application.

    Any ideas?

    Thanks in advance!

    Hello

    (1) no longer this error occurs if you export your application and install it on apex.oracle.com which has 4.0.2?
    (2) do you use point type plug-ins in your application. In 4.0.1 there was a mistake in the generator if too many when installed in this application. Reduce the number of plug-ins type point or better to install 4.0.2.00.07

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • I can't download or add the update of Silverlight that requires upgrading to MSE, because I get the error code: oxoB888FFFF.

    I can't download or add the update of Silverlight that the upgrade to MSE requires, because I get the error code: B888FFFF.

    You might want to report the matter to the MSE forum:
    http://answers.Microsoft.com/en-us/protect/forum?page=1&tab=no

    Or, you might want to publish on Windows Vista IT Pro:

    The Windows Vista Applications Forum:
    http://social.technet.Microsoft.com/forums/en-us/itprovistaapps/threads

    Otherwise, Windows Update forum:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=no

  • Carolina sign, but continue to get the error 'Windows command summary page is not currently available. Please try again later. »

    I want to sign Carolina but now get the error 'Windows command summary page is not currently available. Please try again later. »

    Inder PreetSingh Hi,

    Thank you for writing to Microsoft Communities.

    If you experience this problem with the order summary page and billing issue, please contact a customer support agent to:

    http://www.microsoftstore.com/store/msstore/HTML/pbPage.Help_Site_Contact_Us

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

  • upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found

    upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found

    Try to repair the security permissions for iTunes for Windows and the empty/corrupted after upgrade/crash iTunes library.

    TT2

  • Get the error message "send and receive reported an error (0x800CCC92): your e-mail server rejected your login. '. Check your username and password in your account properties.

    Get the error message "send and receive reported an error (0x800CCC92): your e-mail server rejected your login. '.  Check your username and password in your account properties.
    I'm using Outlook 2002 on the XP Pro operating system.

    It lasts for almost a year, but I managed to work around the issue since it was started using a different outgoing SMTP user name and the password.  (More settings, outgoing server tab, log in using...)  Now it has stopped working.

    There are four machines at this place and all suffer from the same problem.  I use a LinkSys RVS4000 router.  The previous Linksys router has also had the same problem so I replaced, thinking he can correct the problem, he didn't.
    Troubleshooting:
    a. I am able to recreate the account on another machine to a different place and it works.
    b. I can take an account of my machine, create in this place and it will not work.
    c. accounts deleted and created a new, did not
    d. has replaced the router to the place with a new Linksys router
    e. contacted support for ISP, (Time Warner), they accuse the hosting company
    d. contacted support for hosting of the company (HostCentric) they blame the ISP
    c. confirmed username and passwords are correct.
    e. There are 4 machines in this place with different addresses.  All started having this problem/error the same day within hours
    f. may receive emails cannot be sent.

    http://expwinproblems.blogspot.com/2010/11/error-messages-in-Outlook-when-send-or.html

  • I just bought Windows 7 upgrade Windows Vista. I get the error message: operation is not supported on this platform. What should I do to get this latest version in my computer?

    The upgrade from Vista to Windows 7

    I just bought Windows 7 upgrade Windows Vista. I get the error message: operation is not supported on this platform. What should I do to get this latest version in my computer?

    Have you tried to do an upgrade installation or a custom installation?  A custom installation requires you to back up your files and settings with Windows Easy Transfer and then reinstall everything after installing the new.  If an update install does not install work, you need to do a custom.

    In addition, a Windows 7 Anytime Upgrade will not work and you get a message from a platform if you have bought a UA and tried to use it with Vista.  Vista upgrade requires a detail, a copy in the Windows 7 box.

  • Get the error message, this button cannot be used with Windows Anytime Upgrade

    I just perchased a Windows Anytime Upgrade - Windows 7 Home Premium to Ultimate but when I enter the key I was send it tell me that this key can not be used with Windows Anytime Upgrade

    Windows 7 Anytime Upgrade fails:

    If your getting the following: error: Windows Anytime Upgrade failed
    This problem may occur if Windows 7 SP1 was downloaded by Windows Update, but has not yet been installed.
    See: http://support.microsoft.com/kb/2660811

    = Other reasons and possible corrections.

    Windows Anytime Upgrade fails with the error:
    "every time that the upgrade has failed. Go online to solve the problem.
    http://support.Microsoft.com/kb/2658652

    If Anytime Upgrade still does not work:

    Shut down and restart your computer.

    Make sure that the Windows updates have been installed.

    Download the hotfix that contains a tool called CheckSUR, this tool will look at the package and the maintenance of records and difficulty any data corrupted, the tool is listed under kb947821 he can be found at the following link http://support.microsoft.com/?kbid=947821

    If Anytime Upgrade still does not work, turn off the user account control:

    1. go in user accounts in Control Panel

    2 change user account control settings

    3. pull the slider to the level as low as possible

    4. restart the PC

    5. pass by the "Anytime Upgrade" as usual

    Try the following:

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    Who should I contact if I have problems installing and / or activation of my product key card?

    Please contact to the: www.windows7.com/getkeysupport.

    If all above fails them, install Windows 7 Service Pack 1, and then try the Express Upgrade:

    Learn how to install Windows 7 Service Pack 1 (SP1)
    http://Windows.Microsoft.com/en-us/Windows7/learn-how-to-install-Windows-7-Service-Pack-1-SP1

    If your key is not valid and you will need to change the keys, you may need to Open regedit and remove first the ProductKey value in the following registry key:
     
    HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsAnytimeUpgrade

  • The AUDIT command in, oracle apex (version 4.2.5.00.08), error "ORA-00911: invalid character '.

    I am trying to run

    "AUDIT INSERT, UPDATE, DELETE on emp BY ACCESS WHENEVER SUCCESSFUL;"

    in "SQL commands" on oracle-apex (version 4.2.5.00.08).

    I get the error message ' ORA-00911: invalid character '.

    Can someone tell me the solution for this?

    Apex environment we need to set the database AUDIT_TRAIL to TRUE for the control

    "AUDIT INSERT, UPDATE, DELETE on emp BY ACCESS WHENEVER SUCCESSFUL;"  to work.

    By their Summit, to be able to change the setting of database AUDIT_TRAIL we have to log-in as a DBA from the link "SQL workshop--> utilities--> on the database.

  • I just upgraded to 10 Windows and now I can't get into Photoshop Elements.  I get the error 150:30.  Set to zero, as suggests, does not, of course.

    I just upgraded to 10 Windows and now I can't get into Photoshop Elements.  I get the error 150:30.  Set to zero, as suggests, does not, of course.

    Thanks - I thought that this could be the best answer!  I just hope that, in general, PSE 8 works with W-10!

  • I get the error as adobe Illustrator crashes when loading multiple pages PDF. Please help me. Thanks in advance.

    Hello

    I get the error as adobe Illustrator crashes when loading multiple pages PDF.

    Please help me. Thanks in advance.

    Adobe error.PNG

    Illustrator is limited to 100 work plans. Up to 120 pages will never work.

  • I want to reinstall our Adobe Acrobat Pro XI because we started to get the error messages. I followed the original instructions, but when I logged in I couldn't find 'My orders' page that is required to install my order.  Any ideas?

    I want to reinstall our Adobe Acrobat Pro XI because we started to get the error messages. I followed the original instructions, but when I logged in I couldn't find 'My orders' page that is required to install my order.  Any ideas?

    Barbara,

    If you are looking for your serial number, sign in to your account Adobe. On the page for managing accounts that appears, all of your registered products and their serial numbers are listed in the section Plans & products. For more information about the location of the serial numbers, please see find a serial number

    Here is the link to download and install the software:

    Acrobat X, XI

    Guinot

  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

  • APEX 4.1 Login page kills the existing session cookie

    So far the session cookie enabled us to figure out if the user has already had a session and redirect them to the page they wanted using this session (thanks to a method on the page of connection). Just try APEX 4.1 and it seems that this quick hack will not work, because:
    a. the session cookie has been replaced by the time that the login page is loading
    b. the login page gives no clue as to the destination of the user actually wanted (used to be able to verify OWA_UTIL. GET_CGI_ENV('QUERY_STRING') to see what looked like the URL, but now the URL is simply the login page)

    The problem that I am trying to solve is a job of logging system where users get a lot of e-mail notifications. With the standard behavior of the APEX, they will have to identify each time they click on a link in an e-mail. Because it is a rather unusual behavior for another web application, I used, anyone has any ideas about how to get the APEX to stop killing sessions by substituting the cookie whenever it sees a URL he dislikes? Have tried to use the session 0, but still it beats my cookie.

    Hey Capt egg,

    Nice to see that you studied and found a solution. However, I think that things can be a bit improved. It seems that you already used a custom authentication scheme, it is good, because it allowed to use application session hooks join. However, I think that this does not exactly what you expect.

    During the installation of the session, at the beginning of the Summit "request for treatment, he runs about this code:"

    1 write the session id of the query (parameter to URL or POST) in a global variable
    2 load of metadata application authentication (cookie name, Sentry function, function of invalid session, etc.)

    3. If a global session exists, run "Builtin Cookie Sentry":
    3.1 query the table of the session by the value of the cookie.
    3.2 If the session of the query id matches the overall session id, session information matching.
    3.3. in the case, the session information is incomplete, reset the session variable.

    4. If this is not the login page, run application-specific Sentinel:
    4.1 run the result of the Sentinel session function if a function is defined
    4.2 If the Sentinel returned true function, run the validation function if it is set

    5. "create / reuse Session."
    5.1. If the session variable points to a valid session record, the user to read and other variables of the session save
    5.2 in the case, create a new session not authenticated

    6. write a new cookie in HTTP session if a new session was created

    7. If the sentinels (4) returned false, run 'Invalid Session Manipulation':
    7.1 save deep link in the current page
    7.2 run invalid session function if a function is defined
    7.3 redirect to url "Invalid Session" of authentication

    This is only an overview and implementation details may change. However, I think that it can show major problems with the help of the function of invalid session for Assembly of the session:

    -In (4.1), the engine creates a record of the session and the session id
    -In (6), the engine creates a session cookie
    -Invalid session feature modifies the session global variable id back to the old session, but there is still a newly created session
    -The function of session invalid re-inits the htp buffer and thus cancels (6) high. The connection of the session would create a new session for each request, otherwise.

    My suggestion is that you use a sentinel of session instead. Here is an example:

    function session_joining_sentry return boolean is
      l_cookie_session_id number;
      l_user              APEX_WORKSPACE_SESSIONS.USER_NAME%TYPE;
      l_result            boolean;
      procedure dbg(p_str in varchar2)
      is
      begin
        apex_application.debug('session_joining_sentry: '||p_str);
      end dbg;
    begin
      if APEX_CUSTOM_AUTH.GET_SESSION_ID is not null then
        dbg('apex could already determine session by URL session id and cookie value');
        l_result := true;
      else
        dbg('apex could not determine session by URL session id and cookie value');
        l_cookie_session_id := APEX_CUSTOM_AUTH.GET_SESSION_ID_FROM_COOKIE;
    
        if l_cookie_session_id is not null then
          dbg('apex found session via cookie. we try to re-use this as our current session id');
          begin
            select user_name
              into l_user
              from APEX_WORKSPACE_SESSIONS
             where apex_session_id = l_cookie_session_id;
            l_result := true;
          exception when NO_DATA_FOUND then
            dbg('session could not be found in session table - sentry fails');
            l_result := false;
          end;
    
          if l_result then
            dbg('re-using session for user '||l_user);
            APEX_CUSTOM_AUTH.DEFINE_USER_SESSION (
              p_user       => l_user,
              p_session_id => l_cookie_session_id);
          end if;
        else
          dbg('apex could not find the session cookie. sentry fails');
          l_result := false;
        end if;
      end if;
    
      return l_result;
    end session_joining_sentry;
    

    Also, it should be noted that the session join is precarious. If you plan to implement this, please make sure that you understand the dangers of the cross-site request forgery:

    http://en.Wikipedia.org/wiki/cross-site_request_forgery

    Kind regards
    Christian

    Published by: Christian Neumueller on March 2, 2012 04:24

  • Apex listener return blank pages without configuration error!

    -J' created an Apex listener "Version: 1.1.3.243.11.40 ' to '10.0.114.11' in stand-alone mode.
    -J' configured Apex listener via http://10.0.114.11:8585/apex/listenerConfigure and return without error.

    -J' I http://10.0.114.11:8585/apex/listenerStatus, he turned:

    "
    Currently: kills Dec 13 17:06:32 ICT 2011
    Server Uptime: 0 days 01:10:14.101
    Total accesses: 38.0
    Total traffic: 161,34 K
    Total errors: 0
    Total downloads: 0
    Total duration of treatment: 0 days 00:00:09.354
    Delay in milliseconds: Minimum: 20 average: 246 median: Maximum 64: 3062
    Database time in milliseconds: Minimum: average median 14: 61: 50 Maximum: 204
    Active requests: 0
    Connections in the apex of the pool:
    Active principles: available 0: 1
    "

    But when I go on ' http://10.0.114.11:8585 / apex ' or ' apex / http://10.0.114.11:8585 / apex_admin ', I got blank pages.

    The page displays 'Application Express Login' or 'Application Express Administration Services' tab at the top of IE, but nothing else. Anyone have any ideas what might be happening here?

    Thank you very much

    Hello

    you receive an error message to the console output of your listener APEX in standalone Mode?
    Despite this, could you please check if you have set up the directory for static content ("images") properly, that is, is it exists, is it filled with the content of "images" - folder that corresponds to your version of the APEX and is it readable for the user you run your listener APEX with?

    -Udo

Maybe you are looking for

  • My new Yoga 2 13 "has not put into hibernation!

    Hi all I recently bought a Yoga 2 Windows 8.1, 8 GB of RAM, 256 GB SSD and I am almost happy with it. However, there are some irritating flaws that I can't fix. One of them is the absence of mode of hibernation, which I use on a daily basis, to avoid

  • Account of Hotmail, when I connect to the page will not download?

    Once I connect to the page will not download?

  • Photosmart 5510 Scan to PDF

    I just bought a photosmart 5510 and installed on a Mac OS 10.7 It is to replace an old but reliable scanner HP scanjet 2400 which I was using connected to a windows machine. on the scanjet I could scan multiple pages to a PDF, but I don't know how to

  • Debugging on a live device

    Hi all I tried to connect the jde to my Blackberry to debug an exception I get in the device, but the "Debug-attach to the-> Pocket option" will not appear pin of the device even if the device is connected through the usb cable and is detected by the

  • BlackBerry Q10 cut and paste problem

    I don't see how to paste test into an email or a message that I cut to an e-mail or a text? There is then no option to paste in the new email or text...