Oracle Error ORA-12169: TNS:Net service name given as connect identifier is too long

Oracle Error Message

ORA-12169: TNS:Net service name given as connect identifier is too long

Reason for the Error

The net service name you are attempting to resolve is too long.

Solution

The maximum length of a net service name is 255 bytes; this limit has been exceeded. Use a smaller net service name. If this is not possible, contact Worldwide Customer Support.