Problem Connecting Developer 6.0 to 10G Database [message #448119] |
Fri, 19 March 2010 10:45 |
playitsafe
Messages: 19 Registered: January 2009 Location: NJ
|
Junior Member |
|
|
Can currently connect to a 9.2.0.1 database using Oracle Developer 6.0 with the following connect string:
C:\orant\BIN\ifrun60.EXE GMS ops$cannonc/cannonc@GMS3B.TEST.COM[/email]
I don't believe it is using the TNSNAMES.ora entry for this, because when I take it out of there it still connects.
I create a 10.1.0.5 database and copyied the tables,etc to there. But I'm having problem connecting, getting "ORA-12154:TNS Could not resolve service name". Tried the following:
C:\orant\BIN\ifrun60.EXE GMS ops$cannonc/cannonc@NJZTEST[/email]
C:\orant\BIN\ifrun60.EXE GMS ops$cannonc/cannonc@NJZTEST.TEST.COM[/email]
I did add the entry for the 10G database to TNSNAMES.ora:
NJZTEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = njzainettest.test.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = njztest)
)
)
I new to this, but my guess is the other entry had the full path name..and this SERVICE_NAME does not. But then again I don't believe it looks at the TNSNAMES file. This NJZTEST is the 2nd instance on the NJZAINETTEST machine.
Any thoughts on what I'm missing here?
Thanks
[Updated on: Fri, 19 March 2010 10:46] Report message to a moderator
|
|
|
|
Re: Problem Connecting Developer 6.0 to 10G Database [message #448124 is a reply to message #448122] |
Fri, 19 March 2010 11:36 |
playitsafe
Messages: 19 Registered: January 2009 Location: NJ
|
Junior Member |
|
|
Thanks Mike, I have been through the notes on the error but here is my problem.
I know i'm not using the TNSNames.ora, because I have removed the entry for the 9.2.0.1
That leaves the LDAP and EZCONNECT, none of which exist in the SQLNET.org (I did add them to no avail), so how is this working?
I'm guessing is it using some direct connection from the parameter string, I would have this problem with 9I or 10G database. Not sure what to format for the string, something like njzainettest.test.com:njztest?
I'm sure this is a simple connection problem I have been able to connect using SQLPlus Worksheet in 9I, with the following parameters, that must be using the TNSNames.org file is my guess?
ops$cannonc
cannonc
NJZTEST
|
|
|
|
|
|
|