ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

修改\oracle\product\11.1.0\db_1\network\admin\listener.ora文件
加上
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = 你的数据库名称)
      (ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
    )
  )
然后重启lisener服务,就ok了

你可能感兴趣的:(ORA-12514: TNS:listener does not currently know of service requested in connect descriptor)