Databse link creation from 9i to 10g

hii all
i just want to create databse link as below"create databse link linkname connect to remoteuserid identified by remote password using "........"
thats where iam getting confused what should we place if my tnsnames looks like "orcl.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip address)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
well after puting db name as using in statement i am getin error when i execute any table in remote db.
1.tns -nolistener
2.ORA-12545-Connect failed becos target host or object does not exit
above r some of errors i get while iam trying to create databse link
please put on some thoughts on this kindly..
thanks

copy, paste and post here for db link creation and the error returned. you can replace the username/password/host with dummy ones.
Sean

Similar Messages

  • Newbie: How to automate link creation from a map index grid?

    We would like the user to jump to an atlas page from the index page (similar to table of contents in a book). There are more than 135 pages in the map atlas. we would like to automate the link creation.

    It might be possible to do this with a script, but it depends very much how the file was created and what the contents of it are.
    If you wish, you can send me the file to try6767 at gmail dot com and I'll have a look at it.

  • Problem in Databse Link Creation

    I have created two Databases Named 'DBOLMMS' and 'MMS2' on same Server. There is User 'MMSUSER' in both Database and there two diffrent services for both Databases Named 'DABOLMMS' and 'MMS2' respectively. I wish to share some of the tables in 'MMS2' into 'DABOLMMS'. So I tried to Create Database Link using following command is SQL Plus
    CREATE DATABASE LINK MMS2 CONNECT TO MMSUSER IDENTIFIED BY MMSUSER USING 'DABOLMMS2';
    Link is created without error but when I try to access data using this link as following
    SELECT * FROM TAB@MMS2;
    I get following error
    ERROR at line 1:
    ORA-02085: database link MMS2.US.ORACLE.COM connects to MMS2
    Pl. send solution on [email protected]
    Thanks
    Indraneel
    null

    Please check the following:
    1. Create the DBLink name different than the Database name of the second DB.
    2. in init.ora give global_names=false
    Hope this will solve.

  • Automatic PO creation from PR with no master data

    Dear gurus,
    Is it possible to run ME59- Auto PO creation from approved PR with no master data/source assigned/PIR? Assuming user create adhoc PR.
    Is it possible to run this process successfully if i didn't meet on the criteria below? let say no.1 is not checked?
    1.Material Master purchasing view, check automatic PO check box.
    2. Vendor Master purchasing view, check automatic PO check box.
    3. Maintain Source list for Vendor and Material (transaction ME01) and also see validity period.
    4. Maintain Purchase Info Record (transaction ME11), check info record category (must be standard or pipeline or subcontracting)
    5. Create a Purchase Requisition ( transaction ME51N), during creation select check box of Source Determination.
    6. Use transaction ME59 and execute for purchase requisition for vendor, you will be able to create automatic PO.
    Thanks in advance.

    Hi,
    yes all point should be checked
    check following link
    [http://www.sap-img.com/materials/steps-to-create-auto-po.htm]
    Regards
    Kailas Ugale

  • Auto PO creation from PR

    Dear All,
    I have done all process required for Auto PO creation from PR. With TCode Me59 i am able to create a PO also but some field in PO are blank like in header level Additional  tab - Validity Start and Validity End, in Communication tab - Your Reference and Our Reference.
    And while using ME59N, its shows error
    "PO cannot be created
    PO header data still faulty
    Enter Our Reference
    Enter Validity End
    Enter Validity Start
    Enter Your Reference
    Requisition could not be converted"
    How will i fill these field. Any link from info record or source list. These field are necessary in PO.
    Please anybody help me to solve this issue.

    Yes Sir. You have said the right thing. At first i have done the same that make these fields optional. but here as per our business these fields are mandatory for PO. Is there any other way that we forcefully enter data in these fields.
    And one more thing i want to ask, i have created PR through MRP run, in this how could i maintain fixed vendor, valuation type, purch org, info record. These all things are necessary to create auto PO creation. Now what are we doing that we create PR through MRP run and then go to change PR enter all these thing and then run ME59N. After that the same problem some fields are blank in PO.
    Please suggest me any other way to maintain this....

  • Forward me the link for installing Oracle Client 10g on Windows 7 64-bit?

    Hi
    Can anybody send me the link for downloading Oracle Client 10g on Windows 7 64-bit?
    Regards

    Arizuddin wrote:
    Actually i installed TOAD for oracle v9.5 on laptop with Windows 7 ultimate
    it gives 'Cannot find OCI DLL: oci.dll'. It seems TOAD for Oracle is a 32-bit only app, which means that it requires a 32-bit Client.
    You might also want to stay away from installing Toad under "Program files (x86)".
    Consider taking a look at Oracle SQL Developer - a very good alternative to the toad.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/index.html
    For other questions specific to Toad, please see e.g. toadfororacle.com.

  • Problem in DB Link creation of Oracle Wraehouse Builder 3i - Updated question

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository
    asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle )
    as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE
    ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :prashant
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    Cwm Error Message: Failed in the WBAPIFactory.createDBLink()
    Cwm Error: SQL Exception
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils
    Method Name: createDBLink(String, String, String, String)
    Method Name: -1
    Repository Error Message: java.sql.SQLException: ORA-02082: a loopback database link must have a connection qualifier
    ==================
    ==================
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected] or this OTN Network
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Problem in DB Link creation ( Oracle warehouse builder 3i  )

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle ) as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :scott
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    ORA-02085 Database link %s connects to %s
    *Cause:   a database link connected to a database with a different name.
    The connection is rejected.
    *Action:   create a database link with the same name as the database it
    connects to, or set global_names=false.
    Please change it to false by doing :
    first option:
    Log in the database with DBA privilege and use the command:
    alter system set GLOBAL_NAMES = false
    second option:
    Change the GLOBAL_NAMES to false in database system parameter file, init.ora
    ==================
    Options tried:
    ==================
    1. I tried to change GLOBAL_NAMES = false but still not able to create the DB LINK.
    2. As per suggestion of one the friend
    "A file named "Logon.Properties" under the directory $OWB_HOME/wbapp
    in this file please set the property
    OWBSingleUserLockUsage = false"
    I tried the same but it is still not working.
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected]
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Data pump import from 11g to 10g

    I have 2 database: first is 11.2.0.2.0 and second is 10.2.0.1.0
    In 10g i created database link on 11g
    CREATE DATABASE LINK "TEST.LINK"
    CONNECT TO "monservice" IDENTIFIED BY "monservice"
    USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = port))) (CONNECT_DATA = (SID = sid)))';
    And execute this query for test dbLink which work fine:
    select * from v$[email protected];
    After it i try to call open function:
    declare
    h number;
    begin
    h := dbms_datapump.open('IMPORT', 'TABLE', 'TEST.LINK', null, '10.2');
    end;
    and get exception: 39001. 00000 - "invalid argument value"
    if i remove 'TEST.LINK' from the arguments it works fine
    Edited by: 990594 on 26.02.2013 23:41

    Hi Richard Harrison,
    result for import from 11g to 10g:
    impdp user/pass@dburl schemas=SCHEMANAME network_link=TEST_LINK version=10.2
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    ORA-39001: invalid argument value
    ORA-39169: Local version of 10.2.0.1.0 cannot work with remote version of 11.2.0.2.0
    result for export from 11g to 10g:
    expdp user/pass@dburl schemas=SCHEMANAME network_link=TEST_LINK version=10.2
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing option
    ORA-39006: internal error
    ORA-39065: unexpected master process exception in DISPATCH
    ORA-04052: error occurred when looking up remote object SYS.KUPM$MCP@TEST_LINK
    ORA-00604: error occurred at recursive SQL level 3
    ORA-06544: PL/SQL: internal, error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from TEST_LINK
    ORA_39097: Data Pump job encountered unexpected error -4052

  • What next after upgrade from 9i to 10g

    Hi I have successfuly upgraded my test db from 9i to 10g. what next now.
    how do i go about uninstalling 9i binaries???
    khurana

    Khurana wrote:
    Hi Satish
    OS ie OEL 4 and i manually upgraded my db on 9i to 10g.Just get rid of the 9i home (assuming you don't have anything running from that home) and clean up the entries in oratab that refer to the 9i home.
    On a side note, you might want to make a backup before you delete old 9i home.
    Refer this link for more information.
    http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php#UNIX

  • Upgrade from 8i to 10g

    Can a direct upgrade from 8i to 10g is possible?
    OR
    Do we need to upgraded from 8i to 9i , before we upgrade to 10g?
    If we can migrate from 8i to 10g , directly please suggest me the metalink note number.
    Thanks
    Naveen

    Dear Naveenanand,
    I Agree with Jaffy!,
    You can direct upgrade only if the current version is 8.1.7 or up. If this is not your case, you will need Upgrade to an intermediate Oracle Database release before you can upgrade to the new Oracle Database 10g release.
    Here is a example:
    8.0.n -> 8.1.7.4 -> 10.2
    8.1.n -> 8.1.7.4 -> 10.2
    All information you will need, you can found in this link:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#i1007718
    Best Regards,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • POWL creation from Query

    Hi,
    I had created a query using SQ01. Now i want to create the POWL from this query and from the existing queries.
    Is there any document to create it.
    Anurodh

    hi,
    Use the below link. It has the document for POWL creation from Infoset query:
    [Powl from Infoset Qery|http://help.sap.com/bp_ekit604/BBLibrary/Documentation/k52_How_to_Guide_EN_DE.doc]
    Regards,
    MAdhu

  • DB link creation

    Dear
    please explain me the process of database link creation and making entry into tnsnames.ora.
    I have two databases PCDB and IASDB on same server KSPCB.ORG, I want to access the IASDB database from PCDB database.what is the entry that i should make into the tnsnames.ora file before creating the db link.
    I 'll be very thankfull to you if you can write down the process.
    thanks

    hi
    the following script will create a dblink in first database whose name is local and it will be able to connect a database seconddb. you should be able to connect to second db on the first place. Donot forget to set initialization parameter global_names=false before using the dblink.
    create database link LOCAL.WORLD
    connect to SCOTT
    using 'secondDB';
    you will extract data from second db like this.
    select * from scott.emp@secondDB;

  • Syntax to query a MSSQL 2008R2 linked server from Oracle

    Hi,
        I would know if it's possible to query a MSSQL 2008R2 linked server from Oracle. Actually I can query local MSSQL databases from Oracle using dg4odbc without problem but how can I query the linked servers configured on the MSSQL side ?
    From MSSQL, I can query those linked servers using the [linked server name].[catalog].[owner].[table] syntax but using select * from [linked server name].[catalog].[owner].[table]@oracle_dblink_name syntax from the oracle side throw this error:
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    I tried some syntax variations, e.g. putting double quotes around the object name without luck. After some hours to find a solution I'm out of idea...
    So please if someone had a clue on this it would be very helpfull.
    Some info:
    Oracle 10g 10.2.0.5 Enterprise Edition x64
    Oracle Linux 5.9 Enterprise Edition x64
    MSSQL 2008R2 Enterprise x64
    Windows Server 2008R2 Enterprise x64
    Oracle 11gR2 Enterprise x64 for dg4odbc on MSSQL side
    SQL Server Natice Client 10.0 used as ODBC driver

    Hi kgronau,
                    Maybe I'm not clear in my explanations, sorry.
    I want, from Oracle, to query a MSSQL linked server.
    Basically I want to do that, if possible:
    Oracle --> MSSQL --> linked server --> MSSQL
        ^                                                         ^
        |                                                          |
        ---------------->------------------->--------------------
    and maybe have a clue about the syntax to be used.
    Knowing that querying the linked server directly form MSSQL is working and querying from Oracle to local MSSQL db is working too.
    Using the right syntax should lead me to succes, am I right ? Or maybe its something that cannot be done using oracle dblinks ?
    Thanks

  • Syntax for commiet  for sales order creation from VB

    syntax for commit  for sales order creation from VB.
    i have created sales order from vb using "sap bapi control" object, i am getting message too that sales order created of this number
    BUT it will not reflect in particular table or tcode?
    what should i do to commiet that sales order creation from vb while using sap bapi control.
    i have tried sap function call too,
    now how to commiet or is there any other way?
    regards,
    dushyant.

    Hi,
    Check this link, explains step by step.
    http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html
    Thanks,
    Krishna

Maybe you are looking for

  • Java classes in database

    I am working on an Oracle 10.2.0.3 database housed in a sun solaris OS. There are 2 tablespaces DEFAULT_DATA and NONDEFAULT_DATA for users to create objects. User HARPER has a default tablespace of DEFAULT_DATA assigned to him only to which he has a

  • Using an own function in a select how can i set that the function run once?

    Hi Using an own function in a select how can i set that the function run once, not in every row? Please help me Thanks Viktor

  • Java.lang.StackOverflowError

    I'm having an odd problem with a simple application that runs on Tomcat web container. When the application (that uses iBATIS) is starting up and some configuration XML files are reading, the java.lang.StackOverflowErrorexception is thrown after mult

  • Group Messaging

    Verizon, I would really like to know the reasoning behind removing group messaging.  Do you not understand that ALL iPhones are equipped with this capability and that many users take advantage of this?  It really can be annoying when receiving a grou

  • My macbook pro wifi stop working suddenly, and know appears a X on the wifi icon, what may have happened?

    Hello, My macbook pro wifi stop working suddenly, and know appears a X on the wifi icon, what may have happened? Its seems to be the harware.