Oracle Solution for Error ora-12502

Solution for Oracle Error ORA-12502

ORA-12502: TNS:listener received no CONNECT_DATA from client

What triggered the Error:

No CONNECT_DATA was passed to the listener.

What should we do to fix it:

Check that the service name resolved from TNSNAMES.ORA has the CONNECT_DATA component of the connect descriptor.