Message Oracle TNS-12162 - TNS: net service name is incorrectly specified

ERRORTNS: net service name is incorrectly specified
CAUSEThe connect descriptor corresponding to the net service name in TNSNAMES.ORA or in the directory server (Oracle Internet Directory) is incorrectly specified.
ACTIONIf using local naming make sure there are no syntax errors in the corresponding connect descriptor in the TNSNAMES.ORA file. If using directory naming check the information provided through the administration used for directory naming.