Failed
Details ORA-12505: TNS: listener does not currently have data about the SID, given in connect descriptor (DBD ERROR: OCIServerAttach)
我的监听器正在运行sqlplus也正在工作,因为我能够以sysdba身份登录,当我检查我的Windows机器上的服务时,服务已启动并正在运行 我的listener.ora就像这样
# listener.ora Network Configuration File: C:\app\soft\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\soft\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\soft\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = C:\app\soft
这个错误的可能原因是什么?如何解决?我试过浏览但是我得到了运气