BLOB causing FRM-40505

Any clue why a blob field in a datablock would cause an FRM-40505 (query failed).
This only happens only after I upload to the server (Forms Servlet and 9iDB). Works fine in the developer (client/server mode).
HELP!

Hi everyone,
I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
Regards,
Priya

Similar Messages

  • Frm- 40505 Unable to query (table does not exist)

    Hey,
    I have a form which has two blocks that are master and detail blocks. On the form, there are 3 fields that allow the query. If there is record found in the master then it works fine. If nothing found, it shows "query causes no records" which is also fine. But afterwards, no matter what I type in to query, it always show frm-40505. Oracle error, unable to perform query. I click "display error", it shows:
    SELECT ROWID,LOC,INV_NUMBER,RECNO,FACTOR,C_DESC,ADJ_TYPE,CODE,AMT FROM OE_INVOICE_ADJ
    WHERE (LOC=:1) and (INV_NUMBER=:2) order by recno
    frm - 09402:Table or view does not exist.
    Here oe_invoice_adj is the detail table and it does exist. If I stop the form and run it again then it's fine. It only happens after "query causes no records".
    Any ideas? thanks a lot in advance.

    Jay, Have you created public synonym for the tables so that the users don't have to refer the tables with the schema scott.xtable...
    and have the users been given the SELECT privilege to those tables....
    mb
    I actually created the tables and views for my application by logging in as scott/tiger.Now the users I have created with due privileges are just able to log in but unable to perform any query or DML.The error message is FRM 40505'UNABLE TO PERFORM QUERY' which says table or view does not exist.How do I fix this problem?
    Please get me a solution
    Thanks
    Jay

  • Help: Confusing FRM-40505 error

    I am working a FROM based on stored procedures. This error occur on actual test DB login. However, if I login from my own DB space, the error does not occur.
    Notice: I put exactly same SPEC and BODY of stored procedures in my DB space as well as in test DB.
    Any clues?
    Thank you in advance.
    Jimmy

    From the Forms-Help:
    FRM-40505: ORACLE error: unable to perform query.
    Cause:     Processing error encountered. The table associated with the current block of the form might not exist, or your username might not have authority to perform the specified action on the table.
    Action:     Pressing [Display Error] provides more information, if it is available. You can also try to update or delete this record later. If necessary, contact your DBA.
    Level:     >25
    Type:     Error
    Try to issue the Forms-Builtin DISPLAY_ERROR to display the wrong statement. It could be missing grants or synonyms on your test DB.
    Peter

  • Frm-40505:ORACLE error: unable to perform query in oracle forms 10g

    Hi,
    I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
    Please let me know what do i need to do to correct this problem.
    Regards,
    Priya

    Hi everyone,
    I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
    To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
    The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
    We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
    Regards,
    Priya

  • Help: FRM-40505 for a FORM based on stored procedures

    Hi,
    I am working on a FORM based on stored procedures. When it performs a query, it actually returns record, but still comes with the message FRM-40505: ORACLE error: unable to perform query. Any recommendations on the possible coding area to check?
    Thank you in advance.
    Jimmy

    Jimmy,
    To base a block on a stored procedure is not a simple task because it depends on the .....
    .... stored procedure !
    If you do not provide much information (like the famous stored procedure), we could not do anything for you.
    As much information you provide, as much chance we have to understand the problem.
    Francois

  • Annoying FRM-40505 error

    I'm getting this annoying FRM-40505 error. I have a PB with a WBP trigger setting the default "where" to this:
    BEGIN
    go_block('REFNO_00000_CR');
    set_block_property('refno_00000_cr', default_where,':refno_00000_cr.i_cage = "0MUW4" and :refno_00000_cr.i_refno = "0020AB"');
    execute_query(no_commit);
    The shift_F1 doesn't display anything. I've used this process in other forms before with no problem. I've compared all properties(form, data block, data item) with forms that worked and all properties are the same. Our DBA said I have permissions to access this table. I've even been able to access this table using a cursor. HELP!!

    You don't need the colons in front of the refno..... bits and you don't need the refno_000000_cr as this is the block name.
    Try:
    set_block_property('refno_00000_cr', default_where,'i_cage = "0MUW4" and i_refno = "0020AB"');
    rgds
    Tony.

  • FRM-40505  Oracle Error: Unable to perform query(URGENT)

    Hi I developed a form with a control_block and table_block(based on table)
    in same Canvas.
    Based on values on control_block and pressing Find button detail block will be queried.
    Control_block ->
    textitem name "payment_type" char type
    text item name "class_code " char type
    push button "find"
    base table: --> payment_terms(termid,payment_type,class_code,other colums)
    table_block is based on above table
    Now I have written when-button-pressed trigger on find button..
    declare
    l_search varchar2(100);     
    BEGIN
    l_search := 'payment_type='|| :control_block .payment_type||' AND class_code='||:control_block .class_code ;
    SET_BLOCK_PROPERTY('table_block',DEFAULT_WHERE,l_search);
    go_block('table_block');
    EXECUTE_QUERY;
    EXCEPTION
         when others then
         null;
    END;
    I am getting
    FRM-40505 Oracle Error: Unable to perform query
    please help..

    You don't need to build the default_where at run time. Just hard-code the WHERE Clause property as:
        column_x = :PARAMETER.X
    But, if for some compelling reason, you MUST do it at run time this should work:
        Set_block_property('MYBLOCK',Default_where,
            'COLUMN_X=:PARAMETER.X');
    Note that there are NO quotes except for first and last. If you get some sort of error when you query, you should actually see :Parameter.X replaced with :1 when you do Help, Display Error.

  • Urgent : About FRM-40505 Error

    hai,
    i got this error at execute_query statement while running a query with record group in fomrs.
    the error should be unable to execute query with error no frm-40505.
    i verified query itself works in back-end.
    i also got record count also based on record group on the query.
    what i will do...
    waiting.....
    madhava
    e-mail: [email protected]

    If you press Shift+F1 you will see an error.

  • WebUtil upgrade causes FRM-90926 on all forms

    Since upgrading from the Beta to the Production release of WebUtil I am no longer able to run forms from iDS Builder.
    I get the "FRM-90926: Duplicate parameter on command line." error and believe its caused by the difference between the webutiljini.htm provided with the Beta release and the latest version.
    If I replace the new webutiljini.htm with the old one then no errors occur. Is this an acceptable workround or will I be missing out on any new features from the production release?

    Tim,
    its acceptable because the webutiljini file is nothing more than a basejini file with the webutil reference added. The Forms Servlet uses this file to create the Forms Applet HTML file.
    However, if you compare the two webutiljini files, maybe you see where the difference is that causes this error. If its a duplicate command then I assume that in the newer webutiljini a parameter shows twice.
    Frank

  • Blob causes java.lang.outofmemory

    Hi Guys,
    Not sure whether this has to do with lazy initializing or not,
    but here's the situation.
    I have got a files table and files_content is a blob holding the file as binary object,
    when ever I fetch the set, and try to display it by name, the blob object is loaded also,
    since some files contain more than 8 MB it causes a java.lang.out of memory exception.
    How do I prevent the blob attribute from loading in memory? I just want to load it when the file is clicked and it is time to send the file to the user, either inline or as dowload.....
    Hope I make sense.
    All the best,
    4eyes.

    Increasing heap memory size may not solve all kinds of OutOfMemory errors. There may be leaks in your Java code or third-party code or there may be native leaks (translated and reported as OutOfMemoryError). You may want to try Java SE 6 (http://mustang.dev.java.net). Java SE 6 prints descriptive message with OutOfMemoryError and attempts to print stack trace with OOM (http://blogs.sun.com/roller/page/alanb?entry=outofmemoryerror_looks_a_bit_better)

  • Global Temp table with BLOB causing session crash

    Hi,
    i have a table as follows:
    create global temporary table spg_file_import (
    name varchar2 (128) constraint sfi_nam_ck not null,
    mime_type varchar2 (128),
    doc_size number,
    dad_charset varchar2 (128),
    last_updated date,
    content_type varchar2 (128),
    content long raw,
    blob_content blob
    on commit delete rows
    this is my 9ias 'document' table thats used to receive uploaded files which i modified to be global temporary.
    what i want to do is:
    a)upload a text file (xml)
    b) convert that file to clob
    c) store that file in new permanent table as clob
    d) commit (hence delete temp table rows as they are no longer necessary)
    to test it i have:
    CREATE OR REPLACE procedure daz_html
    as
    begin
    htp.p(' <FORM enctype="multipart/form-data" action="daz_fu" method="POST">');
    htp.p(' <p>');
    htp.p(' File to upload: <INPUT type="file" name="p_file_in"><br>');
    htp.p(' <p><INPUT type="submit">');
    htp.p(' </form>');
    htp.p('</body>');
    htp.p('</html>');
    end;
    CREATE OR REPLACE procedure daz_fu (
    p_file_in varchar2
    as
    -- BLOB Stream locator
    v_raw blob;
    v_clob clob;
    v_blob_length number;
    v_length number;
    v_buffer varchar2(32767);
    v_pos number := 1;
    begin
    -- Get xml document from transient 9iAs data store.
    select blob_content
    into v_raw
    from spg_file_import
    where name = p_file_in;
    -- create temp LOB
    dbms_lob.createtemporary(v_clob, false);
    -- get BLOB length
    v_blob_length := dbms_lob.getlength(v_raw);
    loop
    -- get length to read. this is set as a max length of 32767
    v_length := least((v_blob_length - (v_pos-1)),32767);
    -- assign BLOB to a varchar2 buffer in preparation to convert to CLOB
    v_buffer := utl_raw.cast_to_varchar2(dbms_lob.substr(v_raw, v_length, v_pos));
    -- now write out to the CLOB
    dbms_lob.writeappend(v_clob, v_length, v_buffer);
    -- increment our position.
    v_pos := v_pos + v_length;
    -- exit when we are done.
    exit when v_pos >= v_blob_length;
    end loop;
    commit;
    htp.p('commit done!');
    end;
    now if i upload a small text file (about 5kb) it works with no problem.
    however if I upload a large text file (say about 1Mb) it crashes oracle with:
    Fri, 26 Jul 2002 11:49:24 GMT
    ORA-03113: end-of-file on communication channel
    DAD name: spgd1
    PROCEDURE : daz_fu
    USER : spg
    URL : http://www.bracknell.bt.co.uk/pls/spgd1/daz_fu
    PARAMETERS :
    ============
    p_file_in:
    F22210/Document.txt
    this produces a large trc file.. the trace file indicates the crash occured on the commit; line
    Current RBA:[0x4eb0.117.10]
    *** 2002-07-26 12:35:11.857
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kcblibr_user_found], [4294967295], [2], [12583564], [65], [], [], []
    Current SQL statement for this session:
    declare
    rc__ number;
    begin
    owa.init_cgi_env(:n__,:nm__,:v__);
    htp.HTBUF_LEN := 255;
    null;
    daz_fu(p_ref_in=>:p_ref_in,p_type_in=>:p_type_in,p_file_in=>:p_file_in);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    commit;
    else
    rc__ := 0; null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    :rc__ := rc__;
    end;
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    812b1998 42 procedure SPG.DAZ_FU
    819dff90 7 anonymous block
    ----- Call Stack Trace -----
    If i reaplce the temporary table with a non-temp table of the same structure i get no problems what-so-ever. Am I doing something that I shouldnt be with global temporary tables?
    Thanks.

    This is on Oracle 8.1.7.2

  • FRM-40505 ORACLE error: unable to perform query

    I have a block based on a table but when I issue an execute_query in "WHEN_NEW_BLOCK_INSTANCE" I get the above error.
    I know can access this table because immediately after this I select some fields from the table into variables and display them. However when I try and assign them to the fields in the block I get "FRM:41051 You cannot create records here."
    Can you please help.

    If I set "Insert Allowed" and Update Allowed" to yes I can assign values I've selected form the table to the fields but the execute_query still fails.
    By the way, I have a where clause in the property block to limit the number of rows brought back to 1

  • Form 10g with image cause FRM-40105, after FRM-92101.

    I have a form with image.
    I open another form in new window.
    When return to first form, clicking in image, causes this error.
    If click in another field, the error is not shown.
    does solution exist?
    tks.
    Martonio.
    Edited by: martonio on 15/10/2009 14:33

    Hi!
    Is there any when-mouse-click or when-new-item-instance on your image-item?
    Regards

  • Why does double-click when trace on causes FRM-92101

    Hi:
    We have approximately 10 users for which we turned trace on. For some reason, when this user community double-clicks on a forms open space (i.e. on a non-item's canvas pixel), the sessions crashes and gives the following error:
    FRM-92101: There was a failure in the Forms Server....
    When you click the Details button you see the Java stack associated as follows:
    Java Exception:
    oracle.forms.net.ConnectionException: Forms session <115> aborted: unable to communicate with runtime process.
    at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
    at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
    at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
    at oracle.forms.net.HTTPNStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    Can somebody shine some light on this?
    Is it the forms code?
    Is it the back end?
    Is it a connection to a website where we are trying to get something from?
    Thanks,
    Thomas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    OK - I found the culprit. It seems that the Answers.com '''1-Click Answers''' utility had changed its behavior. In its Options on the Activation tab is an option to activate it when using double-click in a browser. I don't remember turning it on, but it ''was'' on. When I turned that option off, the problem went away. Apparently it is not compatible with FF8, since double-click was apparently intercepted, but 1-Click Answers was not activated - the double-click simply became a no-op.
    Now that I've turned off that option, double-click in FF8 is back to the way it's supposed to work for quickly selecting a whole word or sentence.
    If anyone else encounters this problem, I hope this information will help to resolve it.

  • Errors  FRM-40505 and ORA-03114 after cancel a query in a form

    I have a Form (i'm working with 10g, i.e., Web) with property "interaction mode=non-blocking", and after execute the query, it pops-up the cancel query window, but when cancelled, the connection with the database is dropped.
    Someone knows why it happens?
    Thx.
    DFL
    Mensaje editado por:
    user455562

    That could possibly be bug 1942743
    The fix is to set the parameter pushjoin_predicate=false in the init.ora of your database.

Maybe you are looking for

  • MBP won't boot - "GRUB_" - tried installing ubuntu on an external drive

    so i tried installing ubuntu netbook remix onto an external drive, and upon restarting my MBP won't boot to my internal HDD, once it displayed "GRUB_" with a blinking cursor, but is otherwise unresponsive. now i just get the folder with the ? on it.

  • Saving changes in App...

    I have an app with a several JPanels. On each JPanel are several smaller JPanels that can be dragged around. Each time I start the app the draggable JPanels are located at the position they were coded in at (with the 'setBounds' method). Each time th

  • Datasource connection with jboss, need help

    Hi friends, I am doing data source connection through Jboss (jboss-4.0.2) with mysql database. I am using java(j2sdk1.4.2_04). I have made all changes given in this link -- http://community.jboss.org/wiki/SetUpAMysqlDatasource After making changes I

  • My HP printer on the wireless network and I can not get it to print using my iPad

    Any ideas on how to get my wireless printer to print using my iPad?

  • Internal Tables - Keeping the contents

    Hi, I've got a BSP which uses htmlb tabstrip. The first tab displayed the contents of an internal table loaded from complex select with joins. The second tab displays the contents of the itab and allows selection, which in the event provides input fo