luyan
asked on
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
The instance entry in tnsnames.ora is as below. I could connect through
sqlplus /@myprod1
SQL>
MYPROD1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myprodsrv)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = myprod1)
)
)
But user told me he couldn't connect myprod1, and got the following error message.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
The user told me they liked our setting myprod1 with .world in tnsnames.ora. But if I set up SERVICE_NAME=myprod1.world in tnsnames.ora file, it would fail to connect myprod1.
How to fix it?
Thanks!
sqlplus /@myprod1
SQL>
MYPROD1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myprodsrv)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = myprod1)
)
)
But user told me he couldn't connect myprod1, and got the following error message.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
The user told me they liked our setting myprod1 with .world in tnsnames.ora. But if I set up SERVICE_NAME=myprod1.world
How to fix it?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!
Thank you!
Good luck!
Good luck!
ASKER