HomeOracleOracle Error ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

Oracle Error ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

Oracle Error Message

ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

Reason for the Error

The listener was not configured with a default service and SERVICE_NAME was missing from the CONNECT_DATA received by the listener.

Solution

Possible solutions are:

– Configure DEFAULT_SERVICE parameter in LISTENER.ORA with a valid service name. Reload the listener parameter file using reload []. This should be done by the LISTENER administrator.

– If using a service name, Check that the connect descriptor corresponding to the service name in TNSNAMES.ORA has a SERVICE_NAME or SID component in the CONNECT_DATA.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...