Oracle Solution for Error ora-00042

ORA-00042: Unknown Service name string

What triggered the Error:

An attempt was made to use an invalid application service.

What should we do to fix it:

Use a valid service name from SERVICE$ or add a new service using the DBMS_SERVICE package.