Ora-04052 error

I am using oracle 11g on windows vista and sql server 2008.Can any on e solve this issue?
Warning
VLD-1005: Column precision of AGGREGATOR.OUTGRP1.SALES_QUANTITY is greater than the target column precision.
Warning
VLD-1004: Column length of AGGREGATOR.OUTGRP1.STORE_CITY is longer than the target column length.
ORA-04052: error occurred when looking up remote object dbo.REGIONS@WASEEMPKI@WSM_LOCATION1
ORA-00604: error occurred at recursive SQL level 1
ORA-01017: invalid username/password; logon denied
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'waseem'.
ORA-02063: preceding 2 lines from WASEEMPKI@WSM_LOCATION1
STAGE_MAP
Create
Error
ORA-01775: looping chain of synonyms
STAGE_MAP
Create
Error
ORA-01775: looping chain of synonyms
Edited by: 965105 on Oct 12, 2012 10:32 PM

Did you resolve this?
I other folk hitting this where the synonym was pointing to invalid objects....
http://stackoverflow.com/questions/247090/how-to-debug-ora-01775-looping-chain-of-synonyms
Cheers
David

Similar Messages

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

  • ORA-04052: error occurred when looking up remote obj in mapping execution

    Hi,
    While executing an OWB mapping, I am getting the following error:
    ============
    Starting Execution UII_D_MAP_SPC_INSTALLATION_SIT
    Starting Task UII_D_MAP_SPC_INSTALLATION_SIT
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02019: connection description for remote database not found
    ORA-02063: preceding 3 lines from BIP2S@BIPDRACONN
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 73
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 1672
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 2353
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 6838
    ORA-06512: at line 1
    Completing Task UII_D_MAP_SPC_INSTALLATION_SIT
    Completing Execution UII_D_MAP_SPC_INSTALLATION_SIT
    ============
    Actually, here UII_ODS_OWNER itself is the target schema and <<UIIVS.DEVENV1.BT.CO.UK>> is the database in which this schema exists. And the mapping "UII_D_MAP_SPC_INSTALLATION_SIT" is being executed in the same target schema UII_ODS_OWNER.
    I am not sure why this above error is coming because such a dblink 'UIIVS.DEVENV1.BT.CO.UK' does not exist in the OWB generated package code. And the 2nd dblink 'BIP2S@BIPDRACONN' does not exist in the code, intead it exists as "BIP2S.DEVENV1.BT.CO.UK@BIPDRACONN" in the package code which is correct (as per OWB configuration & database).
    Same error also comes when I try to execute the same mapping from the OWB DEPLOYMENT MANAGER.
    Thanks & Regards,
    lenin

    Good morning Lenin,
    Have you checked the implementation of the connectors and are your locations well registered?
    Has a similar setup ever worked well?
    Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
    Regards, Patrick

  • Why am I getting an ORA-04052 error when I try to compile a Procedure?

    Hi,
    The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
    CREATE OR REPLACE PROCEDURE APPS.Find_String (
    pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
    IS
    cursor cur_get_dependancy
    is
    SELECT distinct owner, name, type
      FROM [email protected]        -- prod.world
    WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
    order by name;
    v_owner  varchar2(40);
    v_name   varchar2(50);
    v_type   varchar2(40);
        BEGIN
           dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
           dbms_output.put_line(' ');
           dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
           dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
            FOR i IN cur_get_dependancy
            LOOP
                v_owner := RPAD(i.owner, 30, ' ');
                v_name  := RPAD(i.name, 45, ' ');
                v_type  := RPAD(i.type, 30, ' ');
                dbms_output.put_line(v_owner ||v_name|| v_type);
            END LOOP;
    END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
    What's even stranger is that I took the SELECT statement
    SELECT distinct owner, name, type
      FROM [email protected]        -- prod.world
    WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
    order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02068: following severe error from PINP
    ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?

    OK Justin,
    Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
    By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
    SQL> conn apps/apps1@dev1
    Connected.
    SQL> SELECT distinct owner, name, type
      2    FROM [email protected]
      3   WHERE lower(referenced_name) = lower('ALL_USERS')
      4     AND referenced_type <> 'SYNONYM'
      5     AND owner <> 'SYS'
      6   order by name;
    OWNER                          NAME                           TYPE
    PUBLIC                         ALL_USERS                      SYNONYM
    XDB                            DBMS_XDBUTIL_INT               PACKAGE BODY
    XDB                            DBMS_XDBZ0                     PACKAGE BODY
    SYSTEM                         MVIEW_EVALUATIONS              VIEW
    SYSTEM                         MVIEW_EXCEPTIONS               VIEW
    SYSTEM                         MVIEW_FILTER                   VIEW
    SYSTEM                         MVIEW_LOG                      VIEW
    SYSTEM                         MVIEW_RECOMMENDATIONS          VIEW
    SYSTEM                         MVIEW_WORKLOAD                 VIEW
    ORASSO                         WWCTX_API                      PACKAGE BODY
    PORTAL                         WWCTX_API                      PACKAGE BODY
    ORASSO                         WWEXP_UTL                      PACKAGE BODY
    PORTAL                         WWEXP_UTL                      PACKAGE BODY
    PORTAL                         WWPOB_API_PAGE                 PACKAGE BODY
    PORTAL                         WWPOF                          PACKAGE BODY
    ORASSO                         WWPRO_PROVIDER_VALIDATION      PACKAGE BODY
    PORTAL                         WWPRO_PROVIDER_VALIDATION      PACKAGE BODY
    PORTAL                         WWSBR_EDIT_ATTRIBUTE           PACKAGE BODY
    PORTAL                         WWSBR_FOLDER_PORTLET           PACKAGE BODY
    PORTAL                         WWSBR_USER_PAGES_PORTLET       PACKAGE BODY
    ORASSO                         WWUTL_API_PARSE                PACKAGE BODY
    OWNER                          NAME                           TYPE
    PORTAL                         WWUTL_API_PARSE                PACKAGE BODY
    PORTAL                         WWUTL_EXPORT_IMPORT_LOV        PACKAGE BODY
    ORASSO                         WWUTL_LOV                      PACKAGE BODY
    PORTAL                         WWUTL_LOV                      PACKAGE BODY
    PORTAL                         WWV_CONTEXT                    PACKAGE BODY
    PORTAL                         WWV_CONTEXT_UTIL               PACKAGE BODY
    PORTAL                         WWV_DDL                        PACKAGE BODY
    PORTAL                         WWV_GENERATE_UTL               PACKAGE BODY
    PORTAL                         WWV_GLOBAL                     PACKAGE
    PORTAL                         WWV_MONITOR_DATABASE           PACKAGE BODY
    PORTAL                         WWV_PARSE_AS_SPECIFIC_USER     PACKAGE BODY
    PORTAL                         WWV_PARSE_AS_USER              PACKAGE BODY
    PORTAL                         WWV_SYS_DML                    PACKAGE BODY
    PORTAL                         WWV_SYS_RENDER_HIERARCHY       PACKAGE BODY
    PORTAL                         WWV_THINGSAVE                  PACKAGE BODY
    PORTAL                         WWV_UTIL                       PACKAGE BODY
    PORTAL                         WWV_UTLVALID                   PACKAGE BODY
    38 rows selected.
    SQL>Let me know what you think.
    Thanks again.

  • ORA-04052: Error occurs when execute the block

    I'm trying to run one block and his query definition uses an active public database link. When I ran the script to block I get the following message:
    ERROR in line 1:
    ORA-04052: error occurred when looking up remote object
    SQ_DSV.temp_tipo_contr@SQ_DSV tc
    ORA-00604: error occurred at recursive SQL level 1
    But when I execute his definition query all is ok, the query works fine.
    I mean, I'm using the following sentence to block:
    declare
    Cursor Tipo_Contr is
    Select tc.rec_id, tc.tipo_contr from SQ_DSV.temp_tipo_contr@SQ_DSV tc;
    begin
    For Reg_Tipo_Contr in Tipo_Contr Loop
    Begin
    Update recursos Set tpcontr_id = Reg_Tipo_Contr.tipo_contr
    where rec_id = Reg_Tipo_Contr.rec_id;
    exception when others then
    dbms_output.put_line(Reg_Tipo_Contr.rec_id || ' Not find');
    end;
    end loop;
    -- Commit;
    end;
    I checked for the GLOBAL_NAMES parameter and it is set to FALSE. Please help me, How can I fix this problem ?
    I'm using Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production running over Win XP for run block.
    Thanks you, Paulo.

    ORA-04052 error occurred when looking up remote object stringstringstringstringstring
    Cause: An error has occurred when trying to look up a remote object.
    Action: Fix the error. Make sure the remote database system has run KGLR.SQL to create necessary views used for querying/looking up objects stored in the database.
    Regards
    Marcio Paiva

  • How to catch PL/SQL: ORA-04052 error?

    I need to execute a procedure that select remote objects but the remote db is a RAC DB and I only have access to one of the nodes, the remote RAC have load balancing enabled and the remote DBA can’t create a DB Service for my connection, so, I have to re-run the execution of my procedure until it connects successful to the remote DB through a db link, but I can’t catch the error ORA-12541: TNS:no listener.
    Someone knows how to catch the error??
    set serveroutput on
    declare
    function F_DATE return sysdate
    is
    ld_return date;
    begin
    begin
    select sysdate into ld_return from dual@dbl_bnvalores;
    exception
    when others then
    ld_return := f_date;
    end;
    return ld_return;
    end F_DATE;
    begin
    dbms_output.put_line('Remote sysdate: '||f_date);
    end;
    Error at line 2
    ORA-06550: line 2, column 26:
    PLS-00562: a function must return a type.
    ORA-06550: line 7, column 42:
    PL/SQL: ORA-04052: error occurred when looking up remote object BNSAFI.DUAL@DBL_BNVALORES
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12541: TNS:no listener
    ORA-06550: line 7, column 7:
    PL/SQL: SQL Statement ignored

    I could confirm that you would never branch to the exception in case of no listener!
    So another possibility that comes to mind is to enclose the remote select in an execute immediate and only execute it if you could establish a connection via UTL_TCP:
    Something along those lines:
    michaels>  DECLARE
       conn               UTL_TCP.connection;
       l_date             DATE;
       no_listner_excep   EXCEPTION;
       PRAGMA EXCEPTION_INIT (no_listner_excep, -29260);
    BEGIN
       conn := UTL_TCP.open_connection ('fleet', 1569);
       EXECUTE IMMEDIATE 'select sysdate from dual@fleet_new'
                    INTO l_date;
       UTL_TCP.close_connection (conn);
       DBMS_OUTPUT.put_line (l_date);
    EXCEPTION
       WHEN no_listner_excep
       THEN
          DBMS_OUTPUT.put_line (SQLERRM (SQLCODE));
    END;
    ORA-29260: network error: TNS:no listener
    PL/SQL procedure successfully completed.

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@..

    Hello,
    I'm trying to import data van 10XE version to new 11XE version over db_link.
    When using the method I run into following error:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<<db_link_name>>
    This seems to be a bug in 10.2.0.1 fixed in later 10.2 versions, according to the database general forum. "upgrade to newer version"
    But how do i fix this bug in 10XE? Or is the only way around to use the 'old-fashioned' way of exporting data from 10XE to a file, transfer the file and import it in 11XE?
    Best regards,
    Jan.

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT

    Hello everyone,
    When I tried to create a materialized view with refresh fast mode, I encountered following error message.
    The MV log has been created on my_table like this:
    create materialized view log on my_table
    tablespace data3
    with rowid, sequence
    including new values;
    The database link has been created like this:
    CREATE PUBLIC DATABASE LINK my_db
    CONNECT TO myname
    IDENTIFIED BY mypassword
    USING 'my_db';
    Could anybody please let me know why I can not create MV with refresh fast? What I did wrong?
    Thanks in advance!!!
    MYDB>select count(*) from my_table@my_db;
    COUNT(*)
    5
    Elapsed: 00:00:00.01
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 refresh fast with rowid
    5 as
    6 select * from my_table@my_db
    select * from my_table@my_db
    ERROR at line 6:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT@my_db
    ORA-00604: error occurred at recursive SQL level 2
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from my_db
    Elapsed: 00:00:00.29
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 as
    5 select * from my_table@my_db;
    Materialized view created.
    Elapsed: 00:00:00.20

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • ORA-04052: error occurred when looking up remote object

    Hi, Basically I want to setup Replication between two servers, 'ZEN2K7' & 'DB' (Advanced master-to-master replication, Sync).
    This is what i had done so far.(Both server having ver 10.1.0.2.0)
    At Server 'ZEN2K7'
    CONNECT system/manager@ZEN2K7
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK DB USING 'DB';
    CONNECT repadmin/repadmin@ZEN2K7
    CREATE DATABASE LINK DB CONNECT TO repadmin IDENTIFIED BY repadmin;
    At Server 'DB'
    CONNECT system/manager@DB
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK ZEN2K7 USING 'ZEN2K7';
    CONNECT repadmin/repadmin@DB
    CREATE DATABASE LINK ZEN2K7 CONNECT TO repadmin IDENTIFIED BY repadmin;
    After this, Create master replication group on ZEN2K7
    CONNECT repadmin/repadmin@ZEN2K7
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => '"REPTEST"',
    qualifier => '',
    group_comment => '');
    END;
    Then at 'ZEN2K7', when i executing
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname => '"REPTEST"',
    master => 'DB',
    use_existing_objects => TRUE ,
    copy_rows => TRUE ,
    propagation_mode =>'SYNCHRONOUS');
    END;
    I got following error
    ORA-04052: error occurred when looking up remote object REPADMIN.SYS@DB
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4262
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2
    I had already execute the 'catrpc.sql' on both server.
    I had already check the connection at 'ZEN2K7' side, means I can connect to 'DB' within SQL* Plus at 'ZEN2K7' side.
    What else need to do???
    Thanks.
    Gurpreet S. Gill

    ORA-12154: TNS:could not resolve the connect identifier specified
    This means that you server is unable to resolve DB alias.
    Check you SQL*Net settings.
    On ZEN2K7 try tnsping db. If tnsping return error that add db alias to tnsnames.ora if you use tnsnames as one of resolving mechanism (check sqlnet.ora for NAMES.DIRECTORY_PATH)

  • ORA-04052: error occurred when looking up remote object REPADMIN.SYS@CEL2.W

    Hi,
    on 10gR2 , on WIN 2003 server :
    C:\>sqlplus repadmin/***@CEL2.WORLD
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jun 22 09:54:18 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsAnd then :
    CONNECT repadmin/******@CEL1.WORLD
    BEGIN
       DBMS_REPCAT.ADD_MASTER_DATABASE (
          gname => 'REPG',
          master => 'CEL2.WORLD',
          use_existing_objects => TRUE,
          copy_rows => FALSE,
          propagation_mode => 'ASYNCHRONOUS');
    END;
    BEGIN
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4271
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2Thank for help.

    Thank you. I think it is a problem with dB_LINK.
    SQL> select db_link from dba_db_links;
    DB_LINK
    CEL2.WORLD
    CEL2.WORLD
    SQL> select count(*) from [email protected];
    select count(*) from [email protected]
    ERROR at line 1:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    SQL> select count(*) from SCOTT.EMP@CEL2;
    select count(*) from SCOTT.EMP@CEL2
    ERROR at line 1:
    ORA-02019: connection description for remote database not foundI can not see how to correct it ?
    Thanks.

  • ORA-04052: error occurred when looking up remote object STRMADMIN.DBMS_AQAD

    ORA-04052: error occurred when looking up remote object STRMADMIN.DBMS_AQADM@PROD
    ORA-00604: error occurred at recursive SQL level 4
    ORA-12170: TNS:Connect timeout occurred
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 1087
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 7616
    ORA-06512: at "SYS.DBMS_AQADM", line 631
    ORA-06512: at line 1
    my capture and apply proccess are enable.but the propagation gives the above error
    how could i sole this?

    Compliant to global_name ? Please browse a bit this forum, global name issue arise every 2 days.
    STRMADMIN.DBMS_AQADM@PROD

  • Import data - errors: IMP-00017, IMP-00003, ORA-04052, ORA-00604, ORA-12154

    When I try to import data from dmp file to my database I found errors whitch repeat all time..
    First console show me:
    IMP-00017: following statement failed with ORACLE error 4052
    then show all procedure in which there are errors. After procedure I've got:
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve service name
    IMP-00017: following statement failed with ORACLE error 4043:
    "ALTER PROCEDURE "CHECK_TIMESTAMP" COMPILE TIMESTAMP '2006-09-18:14:45:"
    "05'"
    IMP-00003: ORACLE error 4043 encountered
    ORA-04043: object CHECK_TIMESTAMP does not exist
    and after that the same errors for another procedures :( What can I do??

    ORA-04052: error occurred when looking up remote
    object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve service name
    and after that the same errors for another procedures
    :( What can I do??Fix the tnsnames.ora i.e. name resolution problem (lookup the description for ora-12154).

  • Ora 04052 and 06552 error in a procedure

    Hi
    i created a procedure
    CREATE OR REPLACE PROCEDURE sp_SyncStart
    AS
    BEGIN
    DELETE FROM adPerSyncLog where "date" between (trunc(sysdate-10) and (trunc(sysdate)-1);
    INSERT INTO care_admin.coventry_adPerSyncLog
    SELECT * FROM yyuniv.adPerSyncLog@UNIVERSE;
    end /
    i get the following errors
    ora -04052:error occured when looking up remote object string@string,,...
    ora 06552:pl/sql:compilation unit analysis terminated.
    help required in this.............

    My problem is closly related to this which i found in one of the forum
    This is my procedure
    CREATE OR REPLACE PROCEDURE sp_SyncStart
    AS
    BEGIN
    INSERT INTO care_admin.coventry_adPerSyncLog
    SELECT * FROM yyuniv.adPerSyncLog@UNIVERSE;
    DELETE FROM yyuniv.adPerSyncLog@UNIVERSE;
    END;
    but I get lovely errors
    PL/SQL: ORA-04052: error occurred when looking up remote object
    YYUNIV.ADPERSYNCLOG@UNIVERSE
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-320: the declaration of the type of this
    expression is incomplete or malformed
    I tried running the insert statement directly via SQL Plus and it worked correctly. Not sure why it works interactively but not contained in a procedure.

  • How to handle the error ORA-04052

    We have two Oracle database servers Primary and Secondary, and a DBLINK from Primary to Secondary.
    We have a table EmployeeDetails in both the database.
    we have written a query to retreive data from both the database using DBLINK without any problem.
    When the SECONDARY database was shutdown,
    we get exception in the query.
    ORA-04052: error occurred when looking up remote object SYSTEM.EmployeeDetails@REMOTEDB
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor.

    What kind of query is this? How is the "erroring" statement called?
    ORA-04052: error occurred when looking up remote
    object SYSTEM.EmployeeDetails@REMOTEDB While designing, do not use the system schema - use a separate schema for your app's objects !

  • PL/SQL :ORA-04052 with Database link

    i have created a database link in my producation database as following
    CREATE PUBLIC DATABASE LINK <NAME>
    CONNECT TO <USER>
    IDENTIFIED BY <P/W>
    USING <CONNECT STRING OF TARGET DATABASE
    oracle version 9.0.2.8
    OS : Windows 2003 EE R2 SP2
    Using oracle failsafe 3.3.4 with windows cluster
    Problem Description :
    whenever i run my pl/sql procecdure to pull the data from the target database i get the following error
    ERROR at line 3
    ORA-06550:line 3 column 2
    PL/SQL : ORA-04052: error occured when looking up remote object _<SCHEMA>.<TABLE>@<DATABASE LINKE NAME>_
    ORA-00604 : ERROR occured at recursive SQL level 1
    ORA-03106 : fatal tow-task communication protocol error
    ORA-02063: preceding line from <DATABASE LINK NAME>
    I have tested the same way in the test environment the same oracle version as well the OS but without oracle failsafe and windows cluster
    the script goes smoothly with out any errors.
    i have google and checked the OTN for all available solutions but still nothing its not getting throw
    i will be very thankful for your replys and solutions
    any farther clarification i am ready
    thanks in advance

    Hi,
    This forum is for issues connecting to non-Oracle databases. As the problem is using PL/SQL to connect to another Oracle database then it would be better to post a thread in the PL/SQL forum -
    PL/SQL
    If you are trying to connect to a non-Oracle database then please give us the details of which non-Oracle database and the software you are trying to use to connect.
    Regards,
    Mike

Maybe you are looking for