While trying to open a database connection the following error occurred:
The following error occurred while connecting to "connection name"
ORA-12154 - TNS:could not resolve service name
RESOLUTION 1
The sqlnet.ora parameter NAMES.DIRECTORY_PATH was set to ONAMES.
Set the parameter to:
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES)
or
NAMES.DIRECTORY_PATH= (TNSNAMES)
RESOLUTION 2
Run Oracle User Wizard on a connection or manual script on the server
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center