My Oracle Support Banner

EZCONNECT connection attempt fails with ORA-12154 and TNS-03505 with tnsping (Doc ID 2087623.1)

Last updated on NOVEMBER 21, 2019

Applies to:

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

Symptoms

When attempting to connect using an "EZCONNECT" method, formerly HOSTNAME, the connection fails with ORA-12154: TNS:could not resolve the connect identifier specified.
A tnsping using the same method fails with TNS-03505: Failed to resolve name.

The screen shots will look something like this:




Changes

 

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
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.