标题: ORA-12504: TNS:listener was not given the SERVICE_NAME [打印本页] 作者: admin 时间: 2016-8-9 10:12 标题: ORA-12504: TNS:listener was not given the SERVICE_NAME ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA Cause: The listener was notconfigured with a default service and SERVICE_
NAME was missing from the CONNECT_DATA received by the listener. Action: Possible solutionsare:
- Configure DEFAULT_SERVICE parameter in LISTENER.ORA with a valid
service name. Reload the listener parameter file using reload [<listener_name>].
This should be done by the LISTENER administrator.
- If using a service name, Check that the connect descriptor corresponding tothe
service name in TNSNAMES.ORA has a SERVICE_NAME or SID component in
the CONNECT_DATA.