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

Oracle Error Message

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

Reason for the Error

No CONNECT_DATA was passed to the listener.

Solution

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