Recently after installing the Oracle Developer Suite, you cannot log on to the system and enter an account login error: Ora-12154:tns: Unable to resolve the specified connection flag.
Viewed from the Internet generally because the configuration file does not have the corresponding instance name, then I entered c:/tnsping myoracle (my ora instance name) to see if the Tnsnames.ora and Sqlnet.ora are configured correctly, the results of an error, prompt: TNS-03505: The name description configuration file could not be resolved incorrectly.
Then I'll look at%oracle_home%/db_1/network/admin/tnsnames. ORA file that contains the name of the instance I need to log in to. I was trying to tnsping the command and found that the parameter file it was looking for Sqlnet.ora not the Sqlnet.ora under Oracle that I installed by default, but Oracle Developer The Sqlnet.ora file under the network folder under the Suite directory copies the configuration contents of the Tnsnames.ora in the installation directory to the past, OK.
MyOracle =
(DESCRIPTION =
(address = (PROTOCOL = TCP) (HOST = 127.0.0.1) (PORT = 1521))
(Connect_data =
(SERVER = dedicated)
(service_name = myoracle)
)
)
As to why it was modified to use the parameter file in that directory, no research has been processed. Note the process first