ORA-12504 When Using (HOSTNAME) Method For 11G Client/Database
Last updated on APRIL 12, 2017
Applies to:Oracle Net Services - Version 220.127.116.11.0 to 18.104.22.168 [Release 11.1 to 11.2]
Oracle Net Services - Version 22.214.171.124 to 126.96.36.199 [Release 12.1]
Information in this document applies to any platform.
Checked for relevance on 14-MAY-2010.
The issue documented here has been resolved in an enhancement request since the original writing. Please refer to the notes below.
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.
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