ORA-12504 When Using (HOSTNAME) Method For 11G Client/Database
(Doc ID 556996.1)
Last updated on MARCH 31, 2022
Applies to:
Oracle Net Services - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]Information in this document applies to any platform.
The issue documented here has been resolved in an enhancement request since the original writing. Please refer to the notes below.
Symptoms
Connecting from an 11.1.0.x client using the HOSTNAME adapter fails with the error:
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
However, the same client connection works fine using the LDAP, TNSNAMES, or EZCONNECT methods.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |