Not able to connect to the DB.
Error Messages encountered:
Failed to resolve name
TNS:could not resolve the connect identifier specified
The possible solutions can be
a. If the error message is like Check if TNSPING is
working from the command shell. For this you need to run “tnsping DB_identifier”. The DB_identifier is a string for which the
Oracle client will search in the “tnsnames.ora” file. For example
(SERVICE_NAME = TESTDB.WORLD) ) )
the DB_identifier is “TESTDB”. This can be any string. The service name here is TESTDB.WORLD,
this is DB specific here and has to be same everywhere.
no response is observed from the above tnsping command then you need to check
if the DB_identifier that you are using is present in the tnsnames.ora file.