Oracle Solution for Error ora-12227

Solution for Oracle Error ORA-12227

ORA-12227: TNS:syntax error

What triggered the Error:

The supplied connect descriptor contains illegal syntax.

What should we do to fix it:

Check the syntax of the connect descriptor in TNSNAMES.ORA.