The database link contains invalid connection information

I am working on owb10.1, oracle db 10g release 2
As i try to create a new module through the New Module Wizard, everything is fine until setting the connection information step. Since this is the first time to create a module, I pick the option "Oracle Data Dictionary" and also create a new database link successfully. After choosing the new database link, when i click the next button, an error occurs
*"API4006: The database link contains invalid connection information.*
*API2414: Cannot determine version information for the specified database link.*
*Check the database link and try again."*
I could create and test the new database link successfully. but here why I can't choose this db link to do the next step?
Any thoughts?
please help me out.
Thanks

database link name works well now. i changed the global_name parameter.
after that i try to create a new db link, but still can't go to the next step and the same error occurs.
The details of the database link:
Database Link:    Test
Owner:     GINO_OWNER
User Name:     SCOTT
Connect String:  127.0.0.1:1521:orcl
Schema:      SCOTT
any thought?
Edited by: gino2009 on Nov 20, 2009 6:31 AM

Similar Messages

  • Please!!! The database link contains invalid connection information

    Hi,
    I recently set up OWB 9.04 on a 9.0.1 database,window2000. I am getting an error when I try to create a database module.it throws the following error:
    API4006:The database link contains invalid connection information.API2414: Cannot determine version information to the specified database link. Check the database link and try again.
    I tried manully using sql/plus to create dbLink,same problem.
    thanks ,I need your help!

    Hello,Mark
    I tried the query at local database.It seems ok,as following:(connect as owb user and dba_granted user indivisually)
    SQL> select SID,USER# from v$session;
    SID USER#
    1 0
    2 0
    3 0
    4 0
    5 0
    6 0
    7 72
    8 72
    9 72
    11 67
    10 rows selected.
    SQL> desc v$version;
    Name Null? Type
    BANNER VARCHAR2(64)
    SQL> select * from v$version@FM2;
    BANNER
    Personal Oracle9i Release 9.0.1.1.1 - Production
    PL/SQL Release 9.0.1.1.1 - Production
    CORE 9.0.1.1.1 Production
    TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
    NLSRTL Version 9.0.1.1.1 - Production
    it still can't forward to next step!
    please give me further help!

  • The Database Link is not active

    try to be more clear, i'm in lack of ideas in this problem.
    I am following guide Oracle Database 2 Day + Data Replication and Integration Guide.
    I defined global_names parameter of remote database as true.In the step of "creation database link" i am getting error.(oracle enterprise manager 11g-->schema-->database links-->create)
    When i query on remote database(select * from global_name), I got orcl.
    So,In "Name" and "Net service name" field i specified orcl.Check radio button "Fixed user." and Username and password of remote database, and i got message "Database Link STRMADMIN.ORCL has been created successfully."
    But when i clicked on database link Name i got error, saying that
    "The Database Link is not active.ORA-02084: database name is missing a component "
    (Both dbs are oracle 11g.)
    Please reply.

    I think I am confused, "what should be Name and Net Service Name" while creating database link in context of "Database Replication." when global_names parameter is true in both database. I read somewhere "If the value of the GLOBAL_NAMES initialization parameter is TRUE, then the database link must have the same name as the database to which it connects." so what should database link name " should it be remote database name? db_domain?( or outtput of select * from global_name).......
    my tnsnames.ora on source db is
    ORCL.a.ernet.in =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = a.b.c.d)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL.a.ernet.in)
    when i connect user of remote database(a.b.c.d) from sqlpuls then it is connected.
    command which i give : sqlplus remoteUser/[email protected]

  • Creating the materialized view using the database link

    Hi Guys,
    I am using the Oracle 11g release version.
    Following is my question,
    I had created the Database link to get the data from remote DB table.
    Using that DB link, i can access the required table using SELECT statment.
    When i tried to create the materialized using that DB link.
    I am getting the error SQL Error: ORA-00942: table or view does not exist.
    Can anyone please find the root cause and provide the solution for this?
    TIA,
    Dhivakar.

    Hi Dhivakar,
    try like this
    CREATE DATABASE LINK test
    CONNECT TO scott IDENTIFIED BY tiger
    USING 'orcl';
                         Pls make sure the table name.which ur using to create the materialized view.Thanks
    Venkadesh

  • Photoshop v7.0 I get the error "missing or invalid personalization information"  This used to run, I'm now on Windows 7 64 bit.  Anyone have any ideas please?  Thanks.

    I get the error "missing or invalid personalization information"  This used to run, I'm now on Windows 7 64 bit.  Anyone have any ideas please?  Thanks.

    Hi,
    If my memory serves me right (it’s some while since I changed and I have not used Photoshop for some years…) I was running it on XP.  I upgraded to Win 7 on  a new machine but ported across files, programmes etc.  I cannot recall if Photoshop ever ran on Win 7.
    I have tried to reinstall but the CD is warped and despite applying pressure to it neither of my drives likes it.  I have Photoshop 7 on my third hard drive, a portable drive, which came from the XP machine.
    Sorry, long-winded but I hope it helps.

  • ORA-04054 : using variable substitution for the database link name

    Hi,
    I need to use variable substitution for the database link name.
    Here is my command :
    declare
    GET VARCHAR2(50);
    begin
    select OIA_GET_DESIGNATION into GET from INFODRI.OMA_IN_ARTICLES;
    for rec in (select * from [email protected]_GET_DESIGNATION)
    LOOP
    dbms_output.put_line('TEN_CODE vaut : '||rec.ten_code);
    END LOOP;
    exception
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERREUR ORACLE DETECTEE : '||rec.OIR_CUR);
    DBMS_OUTPUT.PUT_LINE('Message Erreur : '||SUBSTR(SQLERRM,1,245));
    :crd := -1;
    end;
    When I run this programm, I receive the error :
    ORA-04054: database link REC.OIA_GET_DESIGNATION does not exist
    When I replace :
    for rec in (select * from [email protected]_GET_DESIGNATION)
    by :
    for rec in (execute immediate 'select * from tensions@'||rec.OIA_GET_DESIGNATION)
    I receive the error :
    PLS-00103 : Encountered the symbol "IMMEDIATE" while parsing.
    What can I do to resolv my problem ?
    Regards,
    Rachel

    What is the name of the DB Link and the name of the object you are selecting
    from?
    I find it easier to create a view on the remote object then use that in selects.
    e.g,
    Link Name = MyLink
    Object_name = Addr_Loc
    create or replace VIEW Rem_Addr_Loc AS
    select * from addr_loc@mylink;
    In the code I then use the view
    begin
      for C_Rec in (select * from Rem_Addr_loc)
      loop
         dbms_output.put_line('Rec: '|| C_Rec.Col1);
      end loop;
    end;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Hi where is the database link previously under windows menu?

    Hi where is the database link previously under windows menu

    Removed feature: Server Behavior, Bindings and Components Panels and Database feature
    There is a single extension to restore these features. Extension is available at:* Vista/Windows 7: C:\Program Files (x86)\Adobe\Adobe Dreamweaver CC\Configuration\DisabledFeatures* Mac OS X: /Applications/Adobe Dreamweaver CC/Configuration/DisabledFeatures
    As seen on http://blogs.adobe.com/dreamweaver/2013/06/a-look-at-the-modernized-dreamweaver-cc.html
    Video instructions on how to install these back available here: http://www.youtube.com/watch?v=cB2vmNfcq7A

  • The Outlook links do not connect to Firefox even after setting the customize option in Default Programs. Please help.

    The''' Outlook links do not connect to Firefox '''even after setting the customize option in Default Programs. Please help.

    Message to Toad-Hall
    Thank you, for that. To be sure, I tried your suggestion, and selected "System Proxy" as the choice, for Thunderbird and Firefox. Rebooted, and looked at the outcome.. NO Joy.. :-(
    I believe that I shall send the output of the Error Log in my next post. Perhaps someone can point me in the right direction after looking at the Error.log.
    Thank you...Toad Hall. If you think of something else to try, I am ALL ears.. I shall keep trying..

  • Database link and remote connection issues..

    We have a sql script... Large script that we would rather not post here. The script connects through a dblink to a remote site at the beginning and gets thousands of records. We then process these records locally which takes around 40 minutes. The link is unused for that time. Then the same script attempts to connect again through the dblink and set a confiirmation flag. But this final confirmation step routinely fails. The script used to work fine when the confirmation was at the beginning of the script.
    My understanding is that when you go out through a dblink it creates a session on the remote computer. The session stays active until the local proc ends or the session times out. Successive calls through the dblink from the same proc will reuse the same remote session? Is this true?
    So, Is the inactivity period possibly causing this dblink connectivity issue? We put some test sql select statements in the script here and there selecting from dual at the remote site to test the link inbetween major proc calls. Sometimes even these fail. What do I have to do to keep this link active? Is this even my issue?
    Like I said this script worked fine when the confirmation piece was at the beginning right before we start downloading files and basically no inactivity period... Now we download files and confirm at the end with a 40min to 2 hour inactivity between.
    The remote site as well as the network claim that they are not dropping us... The only piece of information I can provide is that on our side SQLNET.EXPIRE_TIME = 10 and on there side SQLNET.EXPIRE_TIME = 0. I've read that others solved this issue by manipulating this value.
    Here are some of the errror message we get in our script...
    ORA-03114: not connected to ORACLE
    ERROR at line 1:
    ORA-02068: following severe error from DMVAIS
    ORA-03135: connection lost contact
    Edited by: Mark Reichman on Nov 25, 2008 12:47 PM
    Edited by: Mark Reichman on Nov 25, 2008 12:57 PM

    What version of Oracle?
    What are the values of the following database parameters?
    open_links                       max # open links per session
    open_links_per_instance    # open links per instanceAny chance you are exhausting one or both these parameter values?
    Have you ran a check on the network connection between the two machines?
    HTH -- Mark D Powell --

  • Where (drive, folder, file name) are the database files that store catalog information such as tags and changed dates in Elements 13?

    I want to backup just the datebae file that holds catalog data.  I can't find it in Elements 13 but could in Elements 10.  Is it hidden in a secret file with a secret name?  Why?

    The catalog is a folder containing the main database (catalog.pse13db), the thumbnails cache (thumb.5.cache) and other files and subfolders. To save a catalog, you save the whole catalog with its subfolders. Note that if you don't save the thumbnail cache (which is the biggest item in the catalog), it will be rebuilt automatically.
    In all versions of Elements, Win or Mac, you find its location from the menu: Help/System information.
    By default it's in a hidden folder in Windows.
    Why? I don't know, but you can tell the Windows Explorer to show hidden files. That's up to you; I always do that.
    Should the catalog always be in the default location? Not at all. You can move it elsewhere. For instance you can hold your image library and your catalog to an external drive. Then, the catalog manager shows it as beeing in 'custom location'.
    The following is not in your question, but I assume you are asking that for backup purposes. If you have an external backup system, you should include the catalog folder. That is not enough if you want to restore to another computer or drive because the original is dead. The catalog stores the picture files location with reference to the path, but also to the internal serial number of the drive. Changing drive means that all files will be shown 'missing' or 'disconnected', and you'll have to run a 'reconnect' procedure. You don't need the reconnection if you use the internal backup/restore process in the Organizer.
    Use Backup, Restore to move catalog | Organizer | Elements 6 or later
    If you are not in the situation of a crash, but you simply want to update (includinge updating PSE version), the integrated system is ideal.
    Other backup systems have their advantages. I do use Windows SyncToy after each significant editing session, and the Organizer backup at regular intervals.

  • Dynamically setting the database link

    I am creating a stored procedure that calls another stored procedure in another Oracle database. Its basically like this:
    storedProc1@TestLink
    And what I want to do is assign the "TestLink" to a variable, and concatenate that variable to the first line of the call to the stored proc, so it would be something like this:
    storedProc1@||LinkVariable
    I need to do this so the user can set if he wants to run this in a test or production environment. Can I do this??

    > Personally, I don't see anything more clunky or unreadable about an
    IF-THEN-ELSE construct than a CASE statement.
    Could be symptom of the fist languages we learned. Coming from a Pascal background, formal, modularised, and structured code were the very fundamentals drummed into us. Cannot recall ever seeing an ELSEIF until I started using other programming languages.
    > To me, it's sort of like the distinction between the Java programmers that
    want the open curly brace '{' on the same line as the keyword that starts the
    block or on a line all to itself.
    That is not a Java thing, but comes from the old C days of programming on 80x25 consoles on mainframes. Having a curly on a new line all by itself, increased the number of lines of code, and decreased readability as you could only see 25 lines of code at a time. Thus it made sense not to waste a whole line just for the curly alone.
    In the early days of Linux kernel hacking, it was one of the standards for kernel hackers too. No X available at that time on Linux.
    > ..<snipped> which has been IF-THEN-ELSE at the majority of clients I've
    been to...
    Ditto. I also see it being used more often than the CASE statement. And I think that it cannot be argued that with properly indented/formatted code, a case statement is much easier readable and maintainable than an ELSEIF.
    So it begs the question in my mind as to why ELSEIF is so commonly used these days.
    It seems to me that a lot of code written today lacks that "basics" of what I saw in much of the code of previous decades. But then I also think that properly code itself has its own inherent beauty... maybe many of the developers of today think different and do not care for those aspects of coding.

  • Database link with the alias and full description in the connect string

    Hi,
    i have created database link with alias in tnsentry and full description
    and suppose i have removed the tnsnames.ora file what will be the impact on the database link that is whether database link will work or not i am sure db link created with alias won't work and how about db link created with full description and which one you prefer
    Thanks

    # Parameter file initora for Database prd
    ### Global database name is db_name.db_domain
    global_names = TRUE
    db_name = prd
    db_domain = world
    # TNSNAMES.ORA for prd ###############################
    prd.world = (DESCRIPTION = (ADDRESS = (COMMUNITY = tcp.world)
    (PROTOCOL = TCP) (Host = 100.10.100.1) (Port = 1521))
    (CONNECT_DATA = (SID = prd) (GLOBAL_NAME = prd.world)
    (SERVER = DEDICATED)))
    Our database link points from the local database test to the remote database prd. Therefore we need the global database name for prd. Ask the remote database administrator for these information or connect to prd and execute the following query on prd:
    SQL> select GLOBAL_NAME from GLOBAL_NAME;
    GLOBAL_NAME
    prd.WORLD
    CREATE DATABASE LINK prd
    CONNECT TO system IDENTIFIED BY system_passwd
    USING 'prd';--- alias
    so the connection description will be ---select ename from [email protected]
    useful link
    http://www.akadia.com/services/ora_dblinks.html

  • Creation of Database link and access the same plus Snapshot creation

    i want talk between two oracle server. i decided to go for snapshot creation with periodical refresh. For which i am having two oracle server's with different ip address located inside our office setup.
    I have created a database link between two servers.
    first server name global
    userid scott
    password tiger
    second server name asil
    userid scott
    password tiger
    both the user have been given dba rights.
    in both the server the services and listners are all started. i gave the following command to create database link.
    from asil server
    create public database link global connect by scott identified by tiger using 'global'
    the command was successful and the link was created. Now i tried to access a table of the scott user of the global server.
    select * from emp@global;
    now it is giving error. I want to know how the link can be created and how it can be accessed. i refered the 8i online documentation and done the things based on that. i expect valuble solution from all possible persons
    null

    A reason for this problem could be that your database is configured that a database link has to have exactly the same name like the global name of the database instance it should connect to.
    Can you please provide the oracle error code / message ? With this information there might be more hints I can give you.

  • ORA-01017: invalid username/password; logon denied - Database Link

    Hi Guys,
    Could you help me, I have a problem connecting to another database using the database link:
    *1. I added in tnsnanes.ora of "client" database DEV2*
    DEV =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SID = DEVDB)+
    +)+
    +)+
    *2. I tested my connection using tnsping*
    oracle@dev> tnsping dev
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 10-JUL-2010 14:35:35
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    +/opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora+
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    oracle@dev>
    *3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry*
    SQL> conn devuser/pwd001@dev
    Connected.
    *4. I then create a database link.*
    SQL> Create Database Link dev_Link
    +2 Connect to devuser+
    +3 identified by pwd001+
    +4 using 'DEV';+
    Database link created.
    SQL>
    *5. When I try to connect to the database using the database link I get an error, but I am very sure the username ans password are ok.*
    SQL> select * from global_name@dev_link;
    select * from global_name@dev_link
    *+
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from DEV_LINK
    SQL>
    What could be wrong......??

    4. I then create a database link.
    SQL> Create Database Link dev_Link
    2 Connect to devuser
    3 identified by pwd001
    4 using 'DEV';create DATABASE LINK USING <connect-string>
    your sid is DEVDB so create dblink using oracle_sid
    If you specify only the database name, then Oracle Database implicitly appends the database domain to the connect string to create a complete service name. Therefore, if the database domain of the remote database is different from that of the current database, then you must specify the complete service name.
    Edited by: rajeysh on Jul 10, 2010 7:28 PM

  • Closing the database connection after report in a server application

    I searched these forums and the internet for a definitive answer on asking the Crystal SDK for java to close the jdbc connection after it has generated a report.  We have been using the Crystal Report SDK to generate reports within our JEE application, built upon the Spring framework, for the past two years.  It works well, especially if you prepare views in the database for your reports.
    From what I can tell once you have used ReportClientDocument to create your report you all the close() method to release resources associated with report generation, but this does not close the jdbc database connection.
    Further research states that if you are using the CrystalReportViewer you can call the dispose method to close the database connection.  We are not using JSP nor this class, so that does us little good.
    Finally I found a post that one could call ((AdvancedReportDocument)reportClientDocument.getReportSource()).dispose().  This doesn't drop the connection either.
    Each report actually opens 3 connections according to SQL Server.  Each report will reuse the connections it has open, so for 50 reports, theoretically, we could have up to 150 connections.  We explained to our client those connections  remain inactive, however this is unacceptable to our client as they would like to minimize the number of connections left open to their database.
    If anyone can post any further information on this issue, it is much appreciated.

    Yes, another team member found the issue.  Quite embarrassing really I didn't see it.  I was looking for the answer within Crystal's libraries.  It had nothing to do with Crystal.
    The developer who wrote the helper code for using Crystal first opened a connection to the datasource for the live production database and read that connection information for the report. Next he set that connection information in the report template's PropertyBag, then ran the report. The developer however forgot to close the connection he used to look up the connection info, leaving a memory leak and using up all the connections.
    I'm glad you inquired.  I forgot to post the resolution here.

Maybe you are looking for