ERR-1002 Unable to find item ID for item "FLOW_SESSION"

Hi Guys,
I installed on the weekend HTMLDB on our new development server and installed version 1.5.1.0.12 (Oracle 10.1.0.3)
I imported our workspaces and applications.
However we are getting the err-1002 in the following scenario.
- logon to htmldb as a developer.
- run application
- Login page is show (as this is a secure application)
- Login with a test user account. We have setup our own aurhentication scheme, with our own user account table.
- Click login button and we get Error ERR-1002 Unable to find item ID for item "FLOW_SESSION" in application "113".
The only way to get around it is to setup a user account in our own user account table with the same name as your developer account or create a developer account in HTMLDB for the "test user account". I have set myself as a user in the "application account table".
But wait there is more. The "work a round" gets me in. Now I select the logout button and get the login page again.
I then try to login as the test user and get in ok.
Any idea what is happening here??

Follow up debugger output
==========================
0.91: Processing point: AFTER_SUBMIT
0.91: ...PLSQL (AFTER_SUBMIT) begin owa_util.mime_header('text/html', FALSE); owa_cookie.send( name=>'LOGIN_USERNAME_COOKIE', value=>lower(:P101_USERNAME)); exception when others then null; end; Content-type: text/html; charset=WINDOWS-1252 Set-Cookie: LOGIN_USERNAME_COOKIE=dynamic;
0.91: ...PLSQL (AFTER_SUBMIT) wwv_flow_custom_auth_std.login( P_UNAME => :P101_USERNAME, P_PASSWORD => :P101_PASSWORD, P_SESSION_ID => :FLOW_SESSION, P_FLOW_PAGE => :APP_ID||':1' ); Content-type: text/html; charset=WINDOWS-1252 Set-Cookie: WWV_CUSTOM-F_100_113=64513E8344E8C3CE; path=/; Location: f?p=113:1:18133698647045384719
0.92: Show ERROR page...
0.92: Processing point: AFTER_ERROR_HEADER
     Error      ERR-1002 Unable to find item ID for item "FLOW_SESSION" in application "113".
OK      
0.92: Processing point: BEFORE_ERROR_FOOTER
Unexpected error, unable to find item name at application or page level.
0.92: ...Determine if user RAY with SGID 100 can develop application 113 in workspace 100

Similar Messages

  • ERR-1002 Unable to find item ID for item "FB_FLOP4150_" in application 4000

    I transferred my APEX Application from 11gRel1 on 10gRel2:
    I exported my APEX Application from 11g (APEX 3.1.1.00.09) XDB:
    Home -> Application Builder -> Application 101 -> Export Application
    File Format - UNIX
    File Character Set: Unicode UTF-8
    I imported new APEX Application to 10gRel2 (APEX 3.1.1.00.09) Apache:
    Home -> Application Builder -> Import Application
    File Character Set: Unicode UTF-8
    auto assign ID for Application (new ID - 101)
    after opening the page to 10gRel2 get:
    ERR-1002 Unable to find item ID for item "FB_FLOP4150_GOTO_PAGE" in application 4000
    Help please!

    DAD config - NLS LANG.....

  • ERR-1002 Unable to find item ID for item "FLOW_SESSION" in application

    Hi,
    I installed the Tracking Issue application.
    It was working fine until I ugraded HTMLDB (latest patch).
    If I access it with another browser without going into htmldb development tool , it works fine.
    If I clic the RUN in HTMLDB development tool and login with a valid htmldb user I now get :
    ERR-1002 Unable to find item ID for item "FLOW_SESSION" in application "11964
    thanks
    Francis.

    Thanks Scott,
    It works .
    I find it is sometimes difficult to search in the OTN forum.
    Is there a trick to be able to search on multiple words ?
    Also, the results shows the same page occurence multiple times. It would be nice if it could only show it once .
    (This forum should be done in HTMLDB ;) )
    Thanks again.
    Francis.

  • ERR-1002:unable to find item id for item page_id in  applicattion 103

    Hi all,
    I am a newbie to htmldb with ajax.
    My problem is this..
    when my javscript calls an on demand process like
    ------ var get = new htmldb_Get(null,document.getElementById('pFlowId').value,'APPLICATION_PROCESS=pull_contents',0);
    -------var id_value = get_check_box_value(document.wwv_flow.f01);
    -------get.add('page_id',id_value);
    --------var greturn =get.get(null);
    process-PULL_CONTENTS
    declare
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    for rec in(select blob_content as "contents" from obe.file_subjects where id =12)
    loop
    htp.prn(rec.contents);
    end loop;
    end;
    i get an error in the return text like
    ERR-1002:unable to find item id FOR ITEM "PAGE_ID" IN application 103
    what can be the problem?

    Hello,
    Your going to have to reproduce it on htmldb.oracle.com, it will be much easier to help you out.
    The htmldb_Get() 'is included' on every page by default unless you've done something like comment out the header section of your page template. Look at your page source you should see something like
    &lt;script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
    &lt;script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
    in the header section.
    Make sure you page template has the #HEAD# substituion tag.
    Carl

  • ERR-1002 Unable to find item ID for item "SESSION"

    Hi All,
    We have recently ugpraded from Aoex 3.1 to 3.2 and have now noticed on occasions that i get the following error when logging in...
    Unexpected error, unable to find item name at application or page level.
    ERR-1002 Unable to find item ID for item "SESSION" in application "2500".
    Return to application.I have been making changes to the application but have not changed anything to do with the SESSION item, i thought that was built into APEX so am not sure why it cannot find it.
    The error mainly happens if i clear the internet cache and try logging in again on a new session, i click Return to Application and try logging in again but get the error. If i login as a different user it logs in.
    Has this happened to anyone else?
    Thanks
    Graham

    Scott,
    Sorry, typing error, i meant 3.0 to 3.1.
    when a user clicks login the following happens...
    A Validation runs to determine if the username and pasword is right and if the user has parts to be accepted when logging in....
    DECLARE
      V_User_Check     VARCHAR2(800);
    BEGIN
        V_User_Check := M_USERS_VALIDATE_LOGIN(
           :P101_USERNAME, :P101_PASSWORD, :SESSION, :P101_BENCH, :P101_BENCH_ID);
        IF V_User_Check = 'PASSWORD_CHANGE' THEN
          :P101_PASSWORD_CHANGE := 'YES';
          RETURN 'You password must be changed for security purposes.  ' ||
                 'Please enter and retype a new password, then confirm the ' ||
                 'change by entering your existing password.';
        ELSIF V_User_Check = 'INVALID_USERNAME' THEN
          RETURN 'The username has not been recognised, please re-enter.';
        ELSIF V_User_Check = 'INVALID_PASSWORD' THEN
          RETURN 'The password entered is invalid, please re-enter.';
        ELSIF V_User_Check = 'ACCEPT_PARTS' THEN
          :P101_PARTS_TO_ACCEPT := 'YES';
          RETURN 'There are parts at this bench that need to be accepted/rejected for you to use, please check the quantities carefully.';
        ELSIF V_User_Check = 'OK' THEN
          RETURN '';
        ELSE
          RETURN V_User_Check;
        END IF;
    END;The following function is called from the Authentication Scheme (return authenticate_m_user;)
    CREATE OR REPLACE FUNCTION authenticate_m_user(p_username IN VARCHAR2, p_password IN VARCHAR2)RETURN BOOLEAN IS
      CURSOR m_cur( username_p VARCHAR,password_p VARCHAR) IS
        SELECT COUNT(*) user_count FROM m_users
        WHERE UPPER(username) = username_p
        AND PASSWORD = password_p AND in_use = 'Y';
      result_v                BOOLEAN := FALSE;
      V_Admin                 VARCHAR2(1) :=  'N';
    BEGIN
      FOR m_rec IN m_cur(p_username, dbms_obfuscation_toolkit.md5( input_string => p_password))
      LOOP
        IF m_rec.user_count = 1 THEN
          result_v    := TRUE;
        END IF;
      END LOOP;
      IF result_v = TRUE THEN
          UPDATE m_users
            SET logged_in = 'Y', last_login_date = sysdate
            WHERE upper(username) = upper(p_username);
          COMMIT;
      END IF;
      RETURN result_v;
    END authenticate_m_user;Also when i encounter the error if i keep clicking Login it keeps throwing the error, but if i turn on debug and then click login again it logs in ok.
    Hope this helps.
    Graham.

  • ERR-1002 Unable to find item ID for item

    I just started playing around with Apex 4.0.2 and I had a question which might be quite basic, so please bear with me.
    I created a report and a calendar which displays the same data (from a table) in different format. I want to create a link from the calendar to the report based on the data that is being displayed in the calendar to show more details about the calendar item. In the calendar page, I created a link under Column link and did the following:
    SET these items: P2_START_DATE
    With these values: 10-Dec-2010
    When I click on the link from the Calendar page, it gives me the following error:
    Error ERR-1002 Unable to find item ID for item "P2_START_DATE" in application "100"
    The Report attribute START_DATE does exist in the Page 2.
    How do I accomplish this ? Any help will be greatly appreciated.
    Thanks and Happy Holidays !

    Hi agopalan,
    Actually the use of "Px_" is just a convention - but a very good convention to follow. You could name that item P7_START_DATE, MY_START_DATE or any other valid name and ApEx will still know it belongs to page 2 - but please don't do that!
    You mention you have a report attribute START_DATE - do you mean a report column? If so, you can't set the START_DATE report column to a value - it isn't an item.
    If you want the report to show details based on the calendar link clicked:
    1) Create a hidden item called P2_START_DATE.
    2) Include :P2_START_DATE in the WHERE clause of your report's SQL in whatever way you need to limit the report rows.
    3) Keep your calendar link defined as-is.
    That should do it.
    Good luck with ApEx and Happy Holidays to you as well!
    John

  • ERR-1002 Unable to find item ID for item "F145_QUERY" in application "4000"

    Hi all,
    First I will give you an overview:
    APEX version: 3.2.1.00.10
    DB Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
    Now the problem description:
    I have a report region of type: Function body returning sql_query.
    After the sql_query is written into a variable, I would like to fill an application_item or page_item. The problem is, it is returning the error:
    ERR-1002 Unable to find item ID for item "F145_QUERY" in application "4000"
    After that I tried to create a stored function (return varchar2, because a sql_query is generated) which has got the same structure. Also I am trying to fill the session state of the application item.
    Then I am just having the following code in my report region:
    declare
    q varchar2(30000);
    begin
    q := function_name;
    return q;
    end;
    Funciton example:
    create function simple_example return varchar2 is
    q varchar2(30000);
    begin
    q := 'select sysdate from dual';
    apex_util.set_session_state('F145_QUERY', q);
    return q;
    end;
    But even then I am getting the error.
    Is it a bug? And how can I solve the problem?
    Any help is highly appreciated. Thanks in advance,
    Denise

    Hi Scott,
    most of the time the obvious solution is the best, I agree.
    But I have checked that one, before I posted the thread ;-)
    And yes, the error message really says Application 4000. That is, why I am so confused, cause I know that that is the APEX itself.
    The actual code is written within the report region. As I said, I tried 2 versions.
    The second version is explained above and the first version was the code within the report region:
    declare
    q varchar2(30000);
    begin
    q := 'select sysdate from dual';
    :F145_QUERY := q;
    return q;
    end;
    The report region is a normal report with source_type = Function_returning_sql_query.
    That is all I know, and now I hoping to find someone who has got an explanation or a even a solution for this. :-)
    Thanks,
    Best regards,
    Denise

  • Error: ERR-1002 Unable to find item ID for item "APP_SESSION"

    Hello all,
    I created an application for faculty in HTMLDB 1.6.
    To get to the application faculty members log into a different website, and then follow a link to my application. The link re-directs them to a public page which pulls their unique ID from a cookie stored by the first website. After their ID is found they are automatically logged in, or if the ID is not present they are redirected to the main login page.
    A few faculty members have tested the automatic login with success. One member, though, followed the same steps, but when he clicked on the link and was re-directed to the application he recieved an error "error: ERR-1002 Unable to find item ID for item 'APP_SESSION'."
    As for the code, the code first retrieves the cookie and gets the ID from it. The variable term_id is then set to the correct term value. This term value depends on what term was selected from the previous application. The term value may or may not be null (they are not required to select a term prior to being re-directed). If it is null, the faculty member is brought to a term selection page. If it is not null, the faculty member skips this step and moves on to the next page. These steps are known to work properly.
    This plsql code follows directly after, which should login the user and either redirect him/her to the term select page if the term value is null, or the main page if there is a term value present:
    IF term_id IS NOT NULL THEN
    wwv_flow_custom_auth_std.login(
    P_UNAME => faculty_id,
    P_PASSWORD => faculty_password,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':MAIN_PAGE:'||:APP_SESSION||'::::TERM_ID:'||term_id
    ELSE
    wwv_flow_custom_auth_std.login(
    P_UNAME => faculty_id,
    P_PASSWORD => faculty_password,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':TERM_SELECT_PAGE:'||:APP_SESSION
    END IF;
    owa_util.redirect_url('f?p=FACULTY_APP:LOGIN:&SESSION_ID.');
    The last part redirects them to the login page if all else fails
    Any idea why one faculty member would receive the message "error: ERR-1002 Unable to find item ID for item 'APP_SESSION'" while others would not?
    *NOTE: All variable and alias names here are not the actual names within the application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ah, i see. I thought you only had to use v('APP_SESSION') in the login function while assigned the value of P_SESSION_ID, but I was wrong.
    Thanks a lot Scott! It works perfectly now.
    Tim

  • Error ERR-1002 Unable to find item ID for item "ID" in application

    Hi everyone,
    I'm new to APEX and I've come across this error for the first time. I have a page with a classic report in it, and I want to create a link from one of the columns in the report (ID column) to another page with a classic report in it. So when I click on, say, ID 118, I want to be sent to the other page and to only see the information for ID 118.
    After creating the column link I receive the error message when I run the application:
    Error      ERR-1002 Unable to find item ID for item "ID" in application
    I've tried creating a link from one report to another before and it worked fine.
    Thank you!
    P.S. I'm using APEX 3.2

    So, on page 1 I have some columns from a table (ID, name etc) and I want to link the values in the ID column to a report on page 2, so that the columns in page 2 (order no, type etc) show only the information for the ID I clicked on in page 1. I went to Page Definition -> Regions -> Report link -> click on the "edit" icon on the left of column "ID" and in the Column Link section I have the following:
    Link text: #ID#
    Link Attributes: title="Click to see deal information."
    Target: Page in this application
    Page: 2
    Clear Cache: CIR,2
    Item 1:
         Name: ID
         Value: #ID#
    I have no item called ID on page 2.
    Thank you!
    Adina

  • Error ERR-1002 Unable to find item ID for item "" in application "11501"

    Hi All,
    I am new to Apex, still a beginner. Please need your help on this.
    We recently upgraded to Apex 4.1 from Apex 3.0. The database version is 10.2.0.4.
    I am getting this below error.
    Error ERR-1002 Unable to find item ID for item "" in application "11501".
    Unexpected error, unable to find item name at application or page level.
    This error specifically occurs when two sessions are opened from the same browser, and the same page is accessesed. This was not occuring before in 3.0.
    Thanks,
    Sarvesh

    Hi,
    i have the exact same problem and situation. (but i dont use Oracle Apps, only APEX).
    Migrated from APEX 2.2 to APEX 4.1
    Application is (unfortunately) used and opened in Internet Explorer with more than one session/tabs by users.
    In APEX2.2 this was working, in APEX4.1 i get the following error:
    Error ERR-1002 Unable to find item ID for item "" in application "111".
    Unexpected error, unable to find item name at application or page level.
    Technical Info (only visible for developers):
    is_internal_error: true
    apex_error_code: WWV_FLOW.FIND_ITEM_ID_ERR
    component.type: APEX_APPLICATION_AUTH
    component.id: 29961616743801399
    component.name: CUSTOM_LDAP
    error_backtrace:
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1893e7410 676 package body APEX_040100.WWV_FLOW_ERROR
    0x1893e7410 1008 package body APEX_040100.WWV_FLOW_ERROR
    0x147cb1b58 742 package body APEX_040100.WWV_FLOW
    0x147cb1b58 4729 package body APEX_040100.WWV_FLOW
    0x147cb1b58 7094 package body APEX_040100.WWV_FLOW
    0x18a3e9208 247 procedure APEX_040100.F
    0x18ab6c258 31 anonymous block
    So i thought this is an issue with the authentication scheme (that was migrated, too). I dropped it and recreated it, but same problem.
    When i look to the URL after the re-login, it is:
    https://<server>/f?p=111:3:1139701000375375::::,4753713078141275:
    The strange thing is the part of ",4753713078141275:"
    What is APEX doing here?
    => i figured out that this is a Page Item ID. I have the hidden item P3_REPORT_TYPE which interal ID is 4753713078141275.
    I use the hidden item to conditionally display some regions on the page.
    Or is the problem before the comma, the "NULL" value ",47..." ?
    Can anyone help me or explain what is the problem here to get a solution?
    Thanks and regards,
    Matthias
    Edited by: matze on 24.05.2012 10:05
    Edited by: matze on 24.05.2012 10:30

  • Error ERR-1002 Unable to find item ID for item "" in application

    Hello.
    I have same problem like at guy from last message of this thread Error ERR-1002 Unable to find item ID for item "" in application "11501".
    I have apex 4.2.1.00.08
    Occasionally address box contains comma (f?p=102:LOGIN_DESKTOP:::::,). This bug do not have a logic, just occured.
    Could somebody help me?

    This select
    select * from apex_workspace_activity_log t
    where t.error_message like '%ERR-1002%'
    returns about 40 rows. 1-3 for every day. Mb somebody know about this bug ?

  • BUG? "ERR-1002 Unable to find item ID..." on branch on upgrading 3.0 to 4.0

    I'm testing the waters prior to upgrading a customer application from APEX 3.0.0.00.20 to 4.0.2.00.07.
    The application has been exported from the APEX 3.0 environment on a 4.0 instance on a different server. Both databases are 10.2.0.4.0 EE.
    A on navigating&mdash;via a standard tab&mdash;to a page containing only conditional On Load: Before Header branches, the branches are failing with
    Unexpected error, unable to find item name at application or page level.
    Error: ERR-1002 Unable to find item ID for item "p810_status" in application "121". This is caused by the branch action having Set these items item names specified in lower case:
    p810_status,p810_read_onlyThe error is resolved by changing these item names to UPPER CASE.
    This is not a disaster. Using APEX views I can see that there are only a handful of branches specifying item names in lower case so it won't require major effort to fix this app when it's upgraded for real.
    However, (a) I am aware that there are other places in this app where item names are specified in lower case; and (b) I tend to type most of my development stuff in lower case, so I'd like clarification on this issue.
    <li>Is this a known issue? (Can't find any earlier mention of this on OTN, MOS or web)
    <li>Is this expected behaviour in APEX 4.x or a bug?
    <li>If a bug is it fixed in 4.1?
    <li>Is there a change in APEX 4.0 requiring branch item (and other?) references to be uppercase? If so, where is this documented?
    I notice that it works OK when the same item values are specified in the URL using lowercase item names.
    Bumped by: fac586 on 08-Mar-2012 15:51
    I noticed that APEX 4.0.2 has converted all branches to use the [now] late, lamented "Set value before branching" option. Is this significant? Obviously this won't occur if upgrading to 4.1.
    Edited by: fac586 on 12-Mar-2012 15:14

    Hi Lukx,
    Thank you for reporting this. You have hit upon an issue with this page, for which I have filed Oracle bug #11840642. To get around this in the meantime, you can see page specific changes by going to:
    1) The 'Page Definition' page for the page you want to see recent edits.
    2) Go to 'Utilities > History'. This will show you recent actions for components on the current page.
    Hope that helps and thanks again for catching this.
    Regards,
    Anthony.

  • ERR-1002 Unable to find item ID

    Hi. can any one help me to resolve this issue
    ERR-1002 Unable to find item ID for item "P801_LISTP801_NG_PO_NUMBER" in application "1000300".
    Unexpected error, unable to find item name at application or page level.

    Hi,
    That does not look like an Oracle error message (They usually start with ORA-)
    http://docs.oracle.com/cd/B19306_01/server.102/b14219/toc.htm
    Perhaps someone coded that inside some application?
    Anyway, if you believe it to be an Oracle exception should write just a little about the situation causing this, along with a stack trace.
    Regards
    Peter

  • ERR-1002 Unable to find item ID on app 4000

    Hi,
    I wish have my last changes made on a page
    under
    Utilities>change history>Recently Edited Pages
    i get this error
    Unexpected error, unable to find item name at application or page level.
    ERR-1002 Unable to find item ID for item "P358_PAGE_ID" in application "4000".
    Return to application.
    Any Help?
    Thanks in advance
    lukx
    so win xp
    rdbms 10.2.0.4
    Application Express 4.0.2.00.07

    Hi Lukx,
    Thank you for reporting this. You have hit upon an issue with this page, for which I have filed Oracle bug #11840642. To get around this in the meantime, you can see page specific changes by going to:
    1) The 'Page Definition' page for the page you want to see recent edits.
    2) Go to 'Utilities > History'. This will show you recent actions for components on the current page.
    Hope that helps and thanks again for catching this.
    Regards,
    Anthony.

  • Need help ErrorERR-1002 Unable to find item ID for item "P12_PROUDCT_ID" i

    please help me i am getting this error and idont know how to solve it
    Error     ERR-1002 Unable to find item ID for item "P12_MOR_IS_VIRGIN"
    Error connecting to the VIRGIN TABLE ' Check MOR is look like shit?
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    for x in
    (select seq_id, c001 from apex_collections
    where collection_name = 'ORDER' and c001 = :P12_PRODUCT_ID)
    loop
    apex_collection.delete_member(p_collection_name => 'ORDER', p_seq => x.seq_id);
    htp.p('removed an item');
    end loop;
    +++++++++++++++++++++++++++++++++++++++++++++++++++++
    if anyone has a clue how do i solve it plz email me or just write it here
    [email protected]
    tnx alot David.
    Edited by: user11017573 on Oct 1, 2012 3:03 AM

    Error ERR-1002 Unable to find item ID for item "P12_PROUDCT_ID" in application "61553".Is the item name P12_PROUDCT_ID or P12_PRODUCT_ID? Perhaps you misspelled the item name in the item itself?

Maybe you are looking for