ORA-00439 error in Forms URGENT.... URGENT.....

Hi,
i have created a new procedure to import a file on the machine to the database BLOB object. the procedure ran succesfully in the SQL prompt. In the Oracle forms builder, I created a new button and on the WHEN_BUTTON_PRESSED PL/SQL logic, i pasted the same procedure. But I got ORA-00439 error while running the form and clicked on the button. Could anyone of you help me out? Is that something to do with any restrictions on Forms?
Below is the code that i used in the PL/SQL logic of WHEN_BUTTON_PRESSED event.
declare
src_file BFILE; -- source file
dst_file BLOB; -- designation file
lgh_file BINARY_INTEGER; -- file length
pdname VARCHAR2(255) := '/appl/pce/d1/eai/informatica/Temp/';
pfname VARCHAR2(255) := 'router.cfg';
file_readonly CONSTANT BINARY_INTEGER := 0;
BEGIN
src_file := bfilename('RNDVPVOUS', pfname);
-- insert a NULL record to lock
INSERT INTO temp1
(name, file_1)
VALUES
(pdname, EMPTY_BLOB())
RETURNING file_1 INTO dst_file;
-- lock record
SELECT file_1
INTO dst_file
FROM temp1
WHERE name = pdname
FOR UPDATE;
-- Open the file
dbms_lob.fileopen(src_file, file_readonly);
-- Determine length
lgh_file := dbms_lob.getlength(src_file);
-- read the file
dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
-- Update the blob field
UPDATE temp1
SET file_1 = dst_file
WHERE name = pdname;
commit;
-- Close file
dbms_lob.fileclose(src_file);
END load_file;
I'm also sending the version details of Forms Builder below.
Forms [32 Bit] Version 6.0.8.18.3 (Production)
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.6.0 - Production
Oracle Toolkit Version 6.0.8.18.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.17.0 Build #863 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.5.32.0 (Production)
Oracle Multimedia Version 6.0.8.18.1 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.1
Oracle CORE Version 4.0.6.0.0 - Production
Please help me out in this regard as I have an urgent release this weekend.
Cheers
Sarma

Thank you very much. This problem is now solved as I have used FORMS_DDL to execute the procedure from database and not from Forms. But could anyone of you tell me if we can have a link in Forms for BLOB object, where if there is a word document in the database BLOB object, by clicking on that link, that document should open in word. Similarly if there is an image file in the BLOB object, then clicking on that link in Forms should open it some Image processing software which that OS has. Is this really possible? Please let me know. If we update the contents of the document opened, they should get reflected in the database BLOB object. Is this really a HERCULIAN task?

Similar Messages

  • ORA-00439 error while Creating Roles

    Hi All,
    I am using Oracle 10.2.0.3. When I am trying to create role for ex: :"create role rolename identied globally" I am getting ORA-00439 Error. When I search in v$option view, almost all the values are disabled. Can anybody pls. let me know how to enable the features in v$option or the solution for the above error code.
    Appreciate your earlier response.
    Bhanu.

    I don't have much exposure to the feature,
    you can check Oracle document Configuring Enterprise User Security for Password Authentication
    Are you sure you want to use this feature? or you could just create the role identified externally instead of globally.

  • ORA-00439 error when deploying a simple dimension

    Hello,
    I am using Oracle Warehouse Builder 11g SE to try to implement a simple data warehouse.
    I have created the dimensions and cube using ROLAP, defined simple mappings and added process flow and was now trying to deploy the objects.
    When i try to deploy a dimension using the Control Centre it fails with the error message:
    LOCATION_DIM Create Error ORA-00439: feature not enabled: Materialized view rewrite
    I have been looking at the ddl script created for the dimension and can see nothing which indicates that materialized view or query rewrite should be used.
    The sql script is shown here:
    WHENEVER SQLERROR EXIT FAILURE;
    CREATE OR REPLACE VIEW "RDW".LOCATION_DIM_v AS
    SELECT *
    FROM RDW.LOCATION_DIM
    WHERE DIMENSION_KEY >= 0
    CREATE DIMENSION LOCATION_DIM
    LEVEL "CITY" IS "RDW"."LOCATION_DIM"."CITY_ID"
    LEVEL "STORE" IS "RDW"."LOCATION_DIM"."STORE_ID"
    HIERARCHY "STANDARD" (
    "STORE" CHILD OF
    "CITY"
    ATTRIBUTE "CITY" DETERMINES ( "RDW"."LOCATION_DIM"."CITY_CITYID", "RDW"."LOCATION_DIM"."CITY_CITYNAME" )
    ATTRIBUTE "STORE" DETERMINES ( "RDW"."LOCATION_DIM"."STOREID", "RDW"."LOCATION_DIM"."STORE_CITYID", "RDW"."LOCATION_DIM"."STORENAME", "RDW"."LOCATION_DIM"."STORE_CITYNAME" )
    am I missing something here?
    Edited by: owb_user on Feb 9, 2010 9:03 AM

    Hi,
    it seems like DB init parameter "query_rewrite_enabled" is set to its default: FALSE. Check out this article on the same on how to avoid this error:
    Note.1019100.102     ORA-00439 When Trying To Create Materialized View With Enable Query Rewrite
    Regards

  • Hi plz help me out Ora-2097,ora-00439 error

    hi plz help me out .i'm getting this error in alert log file
    ora-2097 :parameter cannot be modified because specified valued is invalid
    ora-00439: feature not enabled: database resource manager

    Do you know what parameter may have changed?
    The error indicates something about the database resource manager so that may be a clue.
    If you have a backup of the init.ora file now would be the time to pull it out.
    If you really get stuck comment out all parameters except what you think you really need and then add them in one by one until you find the culprit.

  • Ora-00439 error

    Hello,
    after something happened to the Data_Warehouse.dfj template i managed to get a copy from a colleagues system. This time when i go to create a database using the General Purpose template in DBCA, at around the 45% of Database creation time bar i receive the following error;
    ora:-00439: feature not enabled: Managed Stand By
    Any advice would be appreciated. Could it be that the two Oracle systems are not compatible even though they are both 9i running on windows
    Thanks in advance

    I looked in the v$Options and the Managed Standby is set to false. What does the managed standby do exactly? Can i simply specify this option to true?
    I was not aware there was a General Purpose template file by default. I thought there was only Transaction Processing and Data Warehousing templates. When i obtained a copy of the templates folder from my colleague there is no General Purpose template. There is at least no General_Purpose.dfj file that i can see but there is a General_Purpose.dbc file!!!!
    When i attempted to create the database i took a copy of the HTML file of all the parameters at the last step and the archive_dest parameter was simply stating to have the file saved in a folder location i specified. Although the file name was given as %t_%s.dbf. I am unsure about this file name. Is it incorrect??
    Thanks for your assistance. I am new to Oracle DBA work.

  • Ora - 00600 error plz help urgent

    hello all sir plz. help would should i do.
    by mistake i made changes in spfile file.... after that i got this error
    any solution ?
    plz. help sir
    SQL> create pfile from spfile;
    create pfile from spfile
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [733], [538970164], [pga heap], [],
    help sir
    waiting for reply

    first of all
    thanx for my reply
    sir i have bkp through rman but when i am connect to rman it give me error
    2. i have no pfile<sid>.ora file
    3. i try to start my database through pfile text file i got error..
    plz. reply sir what should i do.....
    how can i connect rman....
    C:\>set oracle_sid=db01
    C:\>rman target sys/oracle@db01
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    C:\>
    again thanx.
    i have full database bkp through rman.

  • Getting "ORA-12703" error in forms 10.1.2.3.0 and database 11.1.0.6.0

    Hello All,
    I am using forms 10g (10.1.2.3.0) version with database 11g (11.1.0.6.0).
    I did some modification in a package. That package is getting called in the forms. After doing modification (just add one if condition) in the package procedure (Not added parameter) I connected to the application and calling the form. I am getting the error message "ORA-12703". After that if I am just compile all the forms, one form is working fine. But in some other form it is not working properly. Still I am getting the error message "ORA-12703". I just put some debug message in the package and form, I compiled both form and package. At this time both are working fine. But if I am putting some debug message in the package only then it is not working. Getting the same error message.
    Does it a forms or database issue or I need to do some thing? Any suggestion welcome.
    Thanks
    SUN

    ORA-12703 this character set conversion is not supported
    Cause: An attempt was made to use the CONVERT function to convert between two character sets, and the requested conversion is not possible due to unavailability of one or both character sets.
    Action: Use character sets available on the system in the CONVERT function.
    What character set do you have on the database and what charset on the client side? Maybe SQL*Net issues the convert function when you use different charsets for both?

  • Ora 6502 error in forms

    hi all,
    in created a insert form ,where in i have over ridden the 'when-button pressed' trigger.
    when the button is pressed all the data from the form is entered into the database.
    I am succeding in transferring the data into the database but ...' get an error message
    unhandled exception ora 6502'.....
    I have provided the max size to the database column account and cust_no column.
    below is my code in the 'when button-pressed trigger'
    insert into customer
    CUSTNO ,
    ACCNO --,
    --CUST_ADD1 ,    
    --CUST_ADD2  ,   
    --CUST_POSTCODE 
    values
    :CUSTNO ,
    :ACCNO -- ,
    --:CUST_ADD1 ,
    --:CUST_ADD2 ,
    --:CUST_POSTCODE
    commit_form;
    exit_form('NO_VALIDATE');
    also my customer table is like below
    SQL> desc customer;
    Name Null? Type
    CUSTNO NUMBER(38)
    ACCNO NUMBER(38)
    CUST_ADD1 VARCHAR2(200)
    CUST_ADD2 VARCHAR2(200)
    CUST_POSTCODE VARCHAR2(50)
    please let me know ...
    rgds
    s

    ORA-6502: PL/SQL: numeric or value error
    there are many problems, which raise this error
    string vs date vs number - problem. Check your datatypes
    strings which are too long - check the size of the inserted data and the length of the columns
    what did you find ?

  • ORA-01460 and ORA-02063 errors in form built on a view

    We have built an apex form on a view against a remote database (via dblink).
    Running the page brings back data as desired.
    However, clicking on the "edit icon" to make updates results in:
    ORA-01460: unimplemented or unreasonable conversion requested ORA-02063: preceding line from my_dblink
    I have searched and cannot seem to locate a fix. Can anyone provide a solution or further steps to troubleshoot?
    Thanks in advance.

    Right now you will be able to base a portal form only on updatable views. Non updatable views are not supported.
    As a work around you can use QBE reports to query the data, without having the delete and update links.
    Regards,
    Sunil.
    null

  • ORA 03114 error

    ORA 03114 error 
    weblogic
    Forms 11g
    db 11g
    winserver 2008 64 bit

    I am sorry I didn't explain my problem Clearly
    My system   developed with  oracle forms 10g  & oracle database 10g    
    Using oracle application  server 10g with win server 2003 32 bit
    And It was works properly
    Now I upgrade my system  to oracle database 11g and weblogic  11g 
    with win server2008 64 bit
    and I tested it it is work no problems but som times when i run my application
    if give me this error
    frm-40735 unhandled exception ora-03114 
    and  ask for the username and password for database  when I give it is give the same error
    if  I  close my  Browser  and wait sometimes and try agine it is work
    why this error happen  ………………………….??????
    If anyone can help I would be grateful to him .
    Thanks

  • ORA-00439 while creating function based indexes.

    Hi everybody
    I'm working on Oracle 8.1.7 database, and try to create a function based index on a table.
    Unfortunately I get the ORA-00439 error, that recommends me not to use this feature :-(
    What should I do to activate this feature ?
    Thanx

    Try.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bi
    PL/SQL Release 10.1.0.2.0 - Production
    CORE    10.1.0.2.0      Production
    TNS for Solaris: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production

  • Urgent - ORA-00439: feature not enabled: Partitioning - Windows

    i have downloaded the 11gr2 and installed in my xp laptop. Strange, i can't see the partition feature enabled. Any clue how to enable the feature in windows? In google search, i can find the solution for unix and linux but not windows
    CREATE TABLE T_CUSTOMER
    ERROR at line 1:
    ORA-00439: feature not enabled: Partitioning
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> select * from v$option where parameter='Partitioning';
    PARAMETER
    VALUE
    Partitioning
    FALSE

    As suggested already, you need to install the Partitioning option from the OUI. Please run OUI from your oracle home (locate it from Start>All Programs) . It will load a product listing file, in the end , a listing of features would be shown to you which would show Partitioning as a new install . Do the installatation and you should be fine.
    Aman....

  • Urgent, ORA-12801: error signaled in parallel query server P000

    Hi Guys,
    I am using Oracle 9i Enterprise Edition Release 9.2.0.1.0 with Windows 2000 Server.
    I have just upgrade my database from 8i to 9i. I am facing this problem in a lot of queries in my application after upgrade. I tried to searched out but unable to find the reason yet.
    Is there any parameter which i should /should not use? Or need to change any parameter.
    Oracle Error Occured: ORA-12801: error signaled in parallel query server P000
    Thanks in advance.
    Brgs,
    Hassan

    Well, the error stack should be displayed along with the 12801 error.
    If not, look the comment for the error I posted above: use event 10397 to display the actual error.ALTER SESSION SET EVENTS '10397 trace name context forever, level 1'; and if the error raises, then you'll get the source message, not the PQ message.
    See note 21281.1 on Metalink.
    Regards,
    Yoann.

  • ORA -00439 partition enable error with %s

    Hi
    I form following table partition query and faceing ORA-00439 "feature not enable %s" error at time of query execution
    Please help me to resolve this
    CREATE TABLE EMP2 (
    EMPNO NUMBER(4),
    ENAME VARCHAR2(10),
    JOB VARCHAR2(9),
    MGR NUMBER(4),
    HIREDATE DATE,
    SAL NUMBER(7,2),
    COMM NUMBER(7,2),
    DEPTNO NUMBER(2)
    PARTITION BY RANGE (hiredate)
    (PARTITION EMP_1981 VALUES LESS THAN (TO_DATE('01/01/1982', 'DD/MM/YYYY')),
    PARTITION EMP_1982 VALUES LESS THAN (MAXVALUE));
    Thanks in advance
    Regards
    Phani
    Edited by: Phani on Oct 19, 2010 1:36 AM

    Hi
    Thanks for reply
    I am using Oracle 10g Express edition (XE)
    I have executed following select query and I got value has "FALSE"
    select * from v$option where parameter = 'Partitioning';
    Regards
    Phani

  • Ora -20001 error coming while updating from a tabular form

    Hi
    I have a tabular form , which updates a table in the database.
    Whenever I update the record first time I getting an error as
    Error in MRU internal routine ORA-20001.Error in MRU:row=1,
    ORA-1403 no_data_found, update abc.sale_forcast_temp set "PK_ID"=:b1,"W27"=:b2
    Error unable to update process
    But when I press Ok return to the form and then again try to update , records gets successfully updated
    Regards
    Shashi

    Kamal,
    This will be the pseudocode.
    Procedure A()
    select * from EMP bulk collect into records_array; --Of type RECORD_ARRAY
    batch_count = (records_array.length) / batch_size;
    --batch_size is say 5000 rows and batch_count is the number of batches  
    for i in 1..(batch_count+1)
    B( records_array);
    C();
    commit;
    Procedure B(records_array in RECORD_ARRAY )
    INSERT /*+PARALLEL(EMP_DUMMY, 2) */
    INTO TABLE EMP_DUMMY
    SELECT * from TABLE(CAST(records_array as RECORD_ARRAY) ;
    Procedure C()
    Other operations which include reads on the EMP_DUMMY table;
    This is the top view of how it looks like. Actually the Select statement for the insert statement is very complex and I do a join on the records that are being passed in by casting it into a table. This query is taking about 40 minutes for 10,000 rows in the records_array. I need to parellelise this query because each row of the records_array yields a different row for the EMP_DUMMY table.
    I hope that I made it clear for you.
    Can you also tell me if procedure C in which I shall be doing a read on the EMP_DUMMY table, has any affect of the parallel insert
    Thanks for your help.

Maybe you are looking for