The error ORA-12514
means that a listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
The possible resolutions for this error areThis answer
] on oracle forums should help you understand the difference between the SID and the SERVICE_NAME.