ORA-12514 with DBLink use when connecting using tnsnames and the listener

(Doc ID 2340617.1)

Last updated on DECEMBER 18, 2017

Applies to:

Oracle Net Services - Version 10.2.0.1 and later
Information in this document applies to any platform.

Symptoms

When using a DBLink, you may find you are getting an ORA-12514 error:

SQL> select count * from dual@roytest.oracle.com;
select count * from dual@roytest.oracle.com
*
ERROR at line 1:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

This is occurring despite checking the SERVICE_NAME in the origin's tnsnames.ora file, matches the Service in the Target's listener services summary.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms