ORA-02019

Hi
I got a problem with a DLL using Pro*C to connect to Oracle. The Oracle is release 9.2.0.4 on the client and the server. The server is running windows.
The Dll and the application which use the dll is written in C and compiled by Microsoft Visual Studio .Net 2003 as native console projects.
The connect statement below works just fine.
EXEC SQL CONNECT :szUSER IDENTIFIED BY :szPASSWORD AT :DBALIAS USING :szHOST;
After the connect I make a statement like:
EXEC SQL AT :DBALIAS ALTER SESSION SET NLS_DATE_FORMAT = '….
This statement also executes without any problem.
Now later in the program I try to declare a cursor like:
EXEC SQL AT :DBALIAS DECLARE c1 CURSOR FOR SELECT ….
The value of DBALIAS is the same as in the connect and the alter session statements.
However, the DECLARE CURSOR statement fails with an ORA-02019 error:
ORA-02019: connection description for remote database not found.
I run the proc command with these options:
proc ireclen=4096 iname=file code=ansi_c mode=oracle maxopencursors=20
Does anybody have an idea to a solution? Any suggestions will be appreciated.
Best wishes
Ruben

Is the dblink public or private? If private, this error could occur if the link is used by a user other than the one that created the link. If this is the case, re-create it as a PUBLIC link.
Russ

Similar Messages

  • Error in propagation -- ORA-02019

    Hi All,
    i have setup streams replications at db level and it is wroked fine for 1 day after that it has stopped working and when i checked in dba_propatation i am getting error like this
    SQL> select propagation_name, destination_dblink, status, error_date, error_message from dba_propagation;
    PROPAGATION_NAME DESTINATION_DBLINK STATUS ERROR_MESSAGE
    STRMADMIN_PROP SABLINE1 ENABLED ORA-02019: connection description for remote database not found
    AND MY DB LINKS ARE
    SQL>select db_link,owner from dba_db_links;
    DB_LINK OWNER
    SABLINE1 PUBLIC
    SABLINE1 STRMADMIN
    and TNS ENTRIES IS
    [oracle@dataguard2 admin]$ more tnsnames.ora
    sabline=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sabline)
    SABLINE1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = VM-VJ-TEST-002.infotechdev.dev)(PORT =
    1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sabline1)
    can you please guide me what is the reason for getting the above error

    Streams requires the usage of GLOBAL_NAME=TRUE. You must create a tns entry with the db_name + domain name and your dblink name must have the same global name for the target DB.
    Source db_name = SRC.domain.com
    target db_name = TRG.domain.com
    DB link name created by strmadmin and used by strmadmin on SRC:
    create database link TRG.domain.com connect to STRMADMIN identified by STRMADMIN using 'TRG.domain.com'
    And in your tnsnames.ora you must have:
    TRG, TRG.domain.com = ....
    In your setup, obviously the global_name is not used.

  • Who can help me to review the question? -"ORA-02019: connection description

    Log error was found in Alert.log file in a DB in our production. It shows "ORA-02019: connection description for remote database not found". I check it and find the RECO process prompt this error message.
    I did the following steps to check the issue:
    1) connect system
    2) SQL> select local_tran_id,global_tran_id,state,mixed,advice,retry_time,os_user,host,db_user from dba_2pc_pending;
    LOCAL_TRAN_ID GLOBAL_TRAN_ID STATE MIX RETRY_TIM OS_USER HOST DB_USER
    8.2.7545 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 oracle DB1 EPORT
    a.8.2.7545
    7.35.9404 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 administrator SZITOWN\SZITOWN-016 EPORT
    a.7.35.9404
    3.47.10637 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 administrator SZITOWN\SZITOWN-016 EPORT
    a.3.47.10637
    1.0.20850 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 administrator SZITOWN\SZITOWN-016 EPORT
    a.1.0.20850
    1.47.21806 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 Administrator WORKGROUP\SZITOWN-013 EPORT
    a.1.47.21806
    3) SQL> select local_tran_id,in_out,database,dbuser_owner,interface,dbid,sess#,branch from dba_2pc_neighbors;
    LOCAL_TRAN_ID IN_ DATABASE DBUSER_OWN I DBID SESS# BRANCH
    8.2.7545 in EPORT N 1 0000
    7.35.9404 in EPORT N 1 0000
    3.47.10637 in EPORT N 1 0000
    1.0.20850 in EPORT N 1 0000
    1.47.21806 in EPORT N 1 0000
    8.2.7545 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    7.35.9404 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    3.47.10637 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    1.0.20850 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    1.47.21806 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    4) I try to commit them by FORCE.
    SQL> commit force '8.2.7545';
    commit force '8.2.7545'
    ERROR at line 1:
    ORA-02058: no prepared transaction found with ID 8.2.7545
    5) It seems no such entry, so I want to purge it.
    SQL> exec dbms_transaction.purge_lost_db_entry('8.2.7545');
    BEGIN dbms_transaction.purge_lost_db_entry('8.2.7545'); END;
    ERROR at line 1:
    ORA-30019: Illegal rollback Segment operation in Automatic Undo mode
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 65
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 85
    ORA-06512: at line 1
    What should I do at the point?? Although the issue do not get any bad effect to current Production, I really hope eveything would be OK.
    Any help from you would be appreciated!!
    Robin

    Hello,
    you have to fix the basic problem,ORA-02019 means your remote database cannot be reached because of an invalid connect string. So it's also impossible to do a COMMIT FORCE,same reason.
    ORA-30019 is due to a bug, document 274321.1 in metalink describes what to do. Here's an extract:
    If you get the following errors while purging transactions using "dbms_transaction.purge_lost_db_entry"
    SQL> EXECUTE DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('5.23.2386');
    BEGIN DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('5.23.2386'); END;
    ERROR at line 1:
    ORA-30019: Illegal rollback Segment operation in Automatic Undo mode
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 65
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 85
    ORA-06512: at line 1
    Fix:
    ===
    This problem is logged as
    Bug.2191458 (unpublished) UNABLE TO EXEC DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY WITH AUTO UNDO MANAGEMENT and is worked by development.
    Use the following workaround:
    You have to use local_tran_id.....
    Issue commit before alter system set "_smu_debug_mode" = 4;
    Follow the steps,
    SQL>commit;
    SQL> alter session set "_smu_debug_mode" = 4;
    SQL>execute DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('local_tran_id');

  • Error  ORA-02019: while selecting table from oracle10g to SQL Server 2005

    Hi all,
    our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
    1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
    2)copy the existing entry and paste it in listener.ora file and edit it as below
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_ =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= mysqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM=hsodbc)
    $lsnrctl status LISTENERMYSQLSERVERDSN
    It is working fine
    3) configure TNAMES.ora
    mysqlserver =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 100.100.50.5)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = mysqlserver)
    (HS = OK)
    c:>tnsping mysqlserver
    it is workin fine
    4)copy inithsodbc.ora and make it initmysqlserver.ora
    HS_FDS_CONNECT_INFO = mysqlserver
    HS_FDS_TRACE_LEVEL = off
    4)create the database link
    sql>create database link mysqlserver
    connect to "sa" identified by "nsp@123" using 'mysqlserver';
    when i selecting SQL Server object from oracle i got below error
    SQL> select * from NSP_products@mysqlserver;
    select * from NSP_products@mysqlserver
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    pLease help me its very urgent.
    BEST REGARD

    Hi all,
    our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
    1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
    2)copy the existing entry and paste it in listener.ora file and edit it as below
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_ =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= mysqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM=hsodbc)
    $lsnrctl status LISTENERMYSQLSERVERDSN
    It is working fine
    3) configure TNAMES.ora
    mysqlserver =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 100.100.50.5)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = mysqlserver)
    (HS = OK)
    c:>tnsping mysqlserver
    it is workin fine
    4)copy inithsodbc.ora and make it initmysqlserver.ora
    HS_FDS_CONNECT_INFO = mysqlserver
    HS_FDS_TRACE_LEVEL = off
    4)create the database link
    sql>create database link mysqlserver
    connect to "sa" identified by "nsp@123" using 'mysqlserver';
    when i selecting SQL Server object from oracle i got below error
    SQL> select * from NSP_products@mysqlserver;
    select * from NSP_products@mysqlserver
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    pLease help me its very urgent.
    BEST REGARD

  • ORA-02019 while using DBMS_FILE_TRANSFER Package.

    Hi,
    I am trying to transfer the datafiles from 10.2.0.3 database residing on File-system to 11gR2 database residing on ASM. Both the DBs are on Different machines across datacenters.
    I am trying to use Transportable Tablespace to move the data. As a part of it, I am trying to use DBMS_FILE_TRANSFER package to move the 10gR2 files to 11gR2 ASM.
    I am getting the below issue while doing so:
    SQL> exec sys.DBMS_FILE_TRANSFER.GET_FILE('sdir','data01.dbf','tdir','data01.dbf','RECDB');
    BEGIN sys.DBMS_FILE_TRANSFER.GET_FILE('sdir','data01.dbf','tdir','data01.dbf','RECDB'); END;
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    ORA-06512: at "SYS.DBMS_FILE_TRANSFER", line 37
    ORA-06512: at "SYS.DBMS_FILE_TRANSFER", line 132
    ORA-06512: at line 1
    Above SQL was executed from Target Host (11gR2) to GET file from 10gR2. The above directory objects point to correct locations on respective hosts.
    RECDB - it is the DB link which is owned by SYSTEM user and will connect to 10gR2 DB as SYSTEM user.
    Strange thing is when i am querying the source 10gR2 DB from Target DB using Db link, IT is WORKING fine
    SQL> select name from v$database@RECDB ;
    NAME
    POCREC01
    Elapsed: 00:00:00.15
    SQL> select * from dual@RECDB;
    D
    X
    Elapsed: 00:00:00.12
    I also have TNS entry in target tnsnames.ora as:
    POCREC01 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pocserver.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pocrec01)
    SQL> create database link RECDB connect to system identified by <password> using 'POCREC01';
    Database link created.
    SQL> select * from all_db_links;
    OWNER
    DB_LINK
    USERNAME
    HOST
    CREATED
    SYSTEM
    RECDB
    SYSTEM
    POCREC01
    05-JAN-11
    So, I want help on whether above issue is a BUG with Package (checked in Metalink and cannot find anything) OR am I doing something wrong??
    Thanks

    Can you please use "create public database link " to create the db link as a PUBLIC link and retry.

  • Database Link and error ORA-02019

    Oracle 9.2.0.6 on Windows 2003
    Has anybody encountered this before and been able to resolve.
    SQL> connect SchemaA/password@NSN1
    SQL> create database link MyLink1
    2 connect to REMDB identified okm135
    3 using 'STAF'
    4 /
    Database link created.
    SQL> create or replace VIEW rem_mydocs as
    2 (select * from mydocs@MyLink1)
    3 /
    View created.
    SQL> grant select on rem_mydocs to UserA ;
    Grant succeeded
    SQL> Create or replace function fn_rem_mydocs
    2 return Sys_RefCursor
    3 IS
    4 v_rc Sys_RefCursor;
    5 begin
    6  open v_rc for
    7       select * from rem_mydocs ;
    8  return (v_rc);
    9 end;
    10 /
    Function created.
    SQL> grant execute on fn_rem_mydocs to UserA;
    Grant succeeded
    SQL> connect UserA/test975@NSN1
    Connected.
    SQL> create or replace synonym rem_mydocs for SchemaA.rem_mydocs;
    Synonym created.
    SQL> create or replace synonym fn_rem_mydocs for SchemaA.sp_rem_mydocs ;
    Synonym created.
    SQL> select count(*) from rem_mydocs ;
    COUNT(*)
          324
    SQL> var g_ref refcursor
    SQL> begin :g_ref := fn_rem_mydocs; end;
    2 /
    SQL> print g_ref
    ERROR:
    ORA-02019: connection description for remote database not found                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Metalink Note:262881.1
    The information in this article applies to:
    Oracle Server - Enterprise Edition - Version: 8.0.x to 9.2.0.x
    This problem can occur on any platform.
    Errors
    ORA 2019 connection description for
    Symptoms
    Describe on a Synonym which is based on a database link may issue error:
    ORA-2019 connection description for remote database not found
    Select from the synonym works successfully.
    Cause
    Based on the Bug 3071468 this issue happens when the local
    and the remote database have different domain name in the GLOBAL_NAME.
    For example if:
    select * from global_name;
    gives from local database:
    PROD.UK.ORACLE.COM
    and the remote database has:
    TEST.US.ORACLE.COM
    then we have different domains for the global_name.
    This does not reproduce when the domain is the same for both global_names.
    Fix
    This issue is fixed in 10.1.0.2.
    For previous versions we have the following 2 workarounds:
    1. Use View in the place of the synonym. This works.
    2. Alter one of the databases global_name , so that the 2 global_names to have the same domain.
    For example in the above example chenge the TEST database as:
    sql> alter database rename global_name to test.uk.oracle.com;
    Then you would have to drop and recreate the database link.
    References
    Bug 3071468 - Ora-2019 May Occur When Describing An Synonym Using A Database Link
    Regards,
    Reza
    Message was edited by:
    Reza

  • Datasource: ORA-02019: connection description for remote database not found

    Hi,
    I recently made the datasource to point to a new host, and using the EM console tested the connectivity to the datasource to be successful.
    Java code that refers to the DS is also the same as before that was working as only the connection string has been changed, but now trying to access the web-application shows the following error in the logs:
    ==============
    Exception::java.sql.SQLException: ORA-02019: connection description for remote database not found
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
    oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:431)
    oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1029)
    oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1126)
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1274)
    oracle_jdbc_driver_T4CStatement_Proxy.executeQuery()=====================================
    What could be the reason? Is there any other app server datasource related setting that needs to be done or is it some other issue - as I said 'testing the connection from EM console connects successfully'.
    Thanks,
    Rommel.

    The issue is resolved now.
    One of the queries used a db link that was missing on the new database and therefore the error from the java code.
    Since testing for connectivity using DS through EM console does not check for any db link (using the default query it executes) connectivity was successful.
    Thank a lot,
    Rommel.

  • DBA_QUEUE_SCHEDULES - ORA-02019:

    I have a propagation Issue with my Async Hotlog Change Data Capure implementation. (Source 10g Destination 11g)
    I have tracked the problem down to the change source configuration and in the table DBA_QUEUE_SCHEDULES I get the error message
    "ORA-02019: connection description for remote database not found" along with SCHEDULE_DISABLED = 'Y'. I found some on-line documentation that suggested dropping the database link in question and then re-enabling the propagation schedule.
    dbms_aqadm.enable_propagation_schedule('CDC$Q_SECFIN_CHG_SRC',
    'CDC$C_SECFIN_CHG_SRC.LOCAL');
    The schedule re-enables for around 30 seconds and then disables itself again with the same message. Can anyone guide me as to how to rectify this issue?
    Regards

    Hi,
    Versions;
    Source DB - Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    Destination DB - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    Entry from alert log;
    Tue Mar 30 17:09:27 2010
    Propagation Schedule for (SECFIN.CDC$Q_SECFIN_CHG_SRC, CDC$C_SECFIN_CHG_SRC.LOCAL) encountered following error:
    ORA-02019: connection description for remote database not found
    Propagation Schedule for (SECFIN.CDC$Q_SECFIN_CHG_SRC, CDC$C_SECFIN_CHG_SRC.LOCAL) disabled due to 16 consecutive errors.
    The database links seem to be fine. I can query data from source to destination and vice versa using the respective database links. GLOBAL_NAMES is equal to TRUE on both databases. The setup has worked Ok up until a week ago.
    Regards

  • Some versions of a procedure throw ORA-02019

    Sorry for this newbie question but Google wasn't able to find me the answer. I've got a procedure inside a package that looks like this:
    procedure get_session(p_db_server disco_db_server.server_name%type,
    p_disco_server disco_server.server_name%type default null,
    p_username session_record.username%type default null,
    p_full_name session_record.full_name%type default null,
    p_status session_record.status%type default null,
    p_sid session_record.sid%type default null,
    p_ref_cursor out ref_cursor) is
    When I try to call like this, everything works just fine:
    pkg_session.get_session('SERVER_1',null,null,null,null,null,v_ref_cursor);
    But when I try it this way, I get the ORA-02019 error:
    pkg_session.get_session('SERVER_1','DISCO_3',null,null,null,null,v_ref_cursor);
    I can't for the life of my figure out why the second version fails. It's simply replacing one of the default nulls with a real parameter, yet I get the "ORA-02019: connection description for remote database not found" error.
    Any help greatly appreciated. Thanks.
    --- Rex "Oracle newbie"

    Ah, thank you. That wasn't the exact problem but it got me down the right path. The query was spitting values out in all-caps so I had assumed the parameters should be all-caps. When I made that second parameter lower-case it worked. Or at least, it did not throw an exception.
    Still not getting data back but now I think it's a problem in the stored proc, since I'm able to connect and run it.

  • Propogation error - (ora-02019)

    Hi All
    In our AQ setup the subscriber is a queue on a different db(user = aquser)
    I can see all the tables of my subscriber's(aquser) schema in db2
    using the dblink(i.e db link is working fine).
    select * from [email protected]
    But in AQ set up propogation fails. when i queried the dba_queue_schedules table the LAST_ERROR_MSG shows
    the error
    ORA-02019: connection description for remote database not found.
    What could be the cause of this error
    Regards
    Sushant

    Hi All
    In our AQ setup the subscriber is a queue on a different db(user = aquser)
    I can see all the tables of my subscriber's(aquser) schema in db2
    using the dblink(i.e db link is working fine).
    select * from [email protected]
    But in AQ set up propogation fails. when i queried the dba_queue_schedules table the LAST_ERROR_MSG shows
    the error
    ORA-02019: connection description for remote database not found.
    What could be the cause of this error
    Regards
    Sushant

  • Return ORA-02019,ORA-02063 during update view base on DB Link

    I created simple application base on view. When I try to update something I get ORA-02019,ORA-02063. Same update from SqlPlus works as expected.
    Help me, Stanislav.

    Stanislav,
    Good to hear that the patchset fixed your issue.
    For the benefit of others, it is our 1.5.1 patchset that did the trick, and it can be downloaded from Metalink here:
    http://updates.oracle.com/ARULink/PatchDownload/patch_download/p3846548_10103_GENERIC.zip?patch_file=p3846548_10103_GENERIC.zip&aru=6584480&no_header=0&file_id=12163856
    Thanks,
    - Scott -

  • ORA-02019 Error

    The following query works in PL/SQL Developer (When loggen in to the prod db):
    select trim(cont_id) cont_id, trim(desc1) desc1 from smgr.t_cont where cont_id not in (select cont_id from smgr.t_cont@dev) order by cont_id
    However, when run throu ODP.NET I get the Error ORA-02019: connection description for remote database not found. What is the syntax for a query that inclides a table on a remote databse?
    Thanks

    The following query works in PL/SQL Developer (When loggen in to the prod db):
    select trim(cont_id) cont_id, trim(desc1) desc1 from smgr.t_cont where cont_id not in (select cont_id from smgr.t_cont@dev) order by cont_id
    However, when run throu ODP.NET I get the Error ORA-02019: connection description for remote database not found. What is the syntax for a query that inclides a table on a remote databse?
    Thanks

  • ORA-02019: connection description for remote database not found

    Hi all!
    I've created Business Area (and EUL) through Oracle Warehouse Builder (looking at Oracle by Example tutorial Oracle By Example (OBE) - Oracle Warehouse Builder 10g Release 2 - Business Intelligence Modeling link: http://www.oracle.com/technology/obe/10gr2_owb/owb10gr2_gs/owb/lesson7/bi-modeling.htm ). When using Oracle administration edition I can connect and open this business area. I can edit the dimensions and cubes folders in it.
    Then I connect top Discoverer Plus with the same user and EUL. In creating new workbook wizard I can select all of my dimensions and measures, but when I click 'Finish' I get the above error. I looked at SQL and for every table in SQL a DB link to the same database where I work at is used. Can anyone tell me, why?
    I have only one target module in OWB and that is the same database. Only source data comes from another databases and DB links must be used.
    Maybe the DB links are not even the real problem and I did something else wrong. Any help would be appreciated.
    Thanks,
    BB.

    If I paste the SQL into PL/SQL developer I get the same error, but when i remove DB links out of FROM section, the SELECT statement executes. I think (perhaps I'm completely wrong) the problem is that DB links are used even though this isn't the remote database, it is the database I'm working on.
    FROM section looks like this:
    FROM
    OWNER.DIM_TABLE_1@"SERVICE_NAME_FROM_TNSNAMES@OWNER_LOCATION" o100025,
    OWNER.DIM_TABLE_2@"SERVICE_NAME_FROM_TNSNAMES@OWNER_LOCATION" o100023...
    If I try to make a DB link with such name, I get this error:
    ORA-02082:     a loopback database link must have a connection qualifier
    Cause:     attempt to create a database link with the same name as the current database.
    Action:     a loopback database link needs a trailing qualifier, e.g. MYDB.DEV.US.ORACLE.COM@INST1 - the '@INST1' is the qualifier
    As I said, when I remove @"SERVICE_NAME_FROM_TNSNAMES@OWNER_LOCATION" parts from FROM section, SELECT executes without errors.
    I hope I answered your question and you can give me some more instructions about this error.
    Thank you for your replies,
    bye!

  • 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

  • Mapping: ORA-04052 Remote Object not found

    Hi,
    I created a source module with a table reading from an external Oracle database. I can see data so the connection seems to work.
    In the target module a mapping trying to read from this table can´t be deployed with this errors message:
    - ora-06550: package body, line 0, column 0: ORA 04052: Error while trying to find the remote object: <name of the object> ....... ora-02019: connection description for remote-database not found.
    An equal internal mapping, not adressing an external database, works find.
    Any idea?
    Thanks so much.
    Georg

    oh, of course.
    I could not find dblink, saw some source information. What section/s is /are to be checked?
    I find code like
    SELECT
    /*+ NO_MERGE */
    /* OBJSTAMM.INOUTGRP1 */
    "OBJSTAMM"."OBJEKTNUMMER" "OBJEKTNUMMER"
    FROM
    "VMAN30M"."OBJSTAMM"@"PDORA06@QUELLE_VISMAN_LOCATION" "OBJSTAMM"
    Is there a way to find out the correct "from" path?
    Thanks Georg
    Edited by: georgo on 02.05.2011 16:34

Maybe you are looking for

  • Sort sequence functionality in Batch management

    Hi All, I have a doubt in batch management. I am not sure whether it is a basic doubt. But obviously confusing me a lot and I am not able to find appropriate for that. In our company, we have two characteristics assigned to the batch class 023. Shelf

  • SQL and Group by

    Hi all, I have a query SELECT schedule_id ,COLUMN_VALUE,player_team_coach,current_player_team_id FROM stat_totals where SCHEDULE_ID = '20040809NFL--WASHINGTON0' AND COLUMN_ID ='FPLKICK_PR_YARD'; this returns me schedule_id column_value player_team_co

  • JDeveloper Extension

    I'm trying to create an extension in JDeveloper that creates a certain file structure. While the examples provided by Oracle provide a way to create a project, they do not show a way to create folders automatically within this project (which I need t

  • Directory server - administration console, system server console fail

    The server is solaris 10, with the java 1.4, and the Sun One directory server 5.2 was installed from a compressed file System Administration Server System Administration Console Sun Java(TM) System Server Console All were installed, but there's no co

  • External files - how to store

    I have external jpg files, pictures to store against rows in a table. ie : a property address, and a picture of the property as a jpg file. Is it correct to be using BFILE type to store the picture or is there a more efficient way of doing this. Many