如题。
oracle 10.1.0.2.0 安装成功后 sqlplus 可以登录。
但是plsql报错 ora-12514aa =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = aa)
    )
  )EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )如果把localhost 改成ip 地址也不行。
这是为什么?

解决方案 »

  1.   

    plsql登录的时候,你选的DB是哪个?
      

  2.   

    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor 
    Check that the SERVICE_NAME parameter 还是说你选择的SERVICE_NAME有可能不对。你本机只装过一次Oracle?
      

  3.   

    是的啊。 只装过一次 
    问题是 周六上午我装的。 后来装了plsql都可以登录。周一以来 就登录不了了。
    但是sqlplus 可以登录。
      

  4.   

    你看你plsql这块怎么配置的:
    点击Tools-->Preference之后的图片:
    http://hi.csdn.net/space-4884479-do-album-picid-965888.html
      

  5.   

    Make sure that the TNSNAMES.ORA file exists and is in the correct directory.
    Make sure that the service name that you are connecting to is included in the TNSNAMES.ORA file and that it is correctly defined.
    Make sure that there are no syntax errors in the TNSNAMES.ORA file. For example, if there are unmatched brackets in the file (ie: open bracket without the corresponding close bracket), the file will be rendered unusable.是不是装了oracle服务端有装了客户端,看一下你的oracle home是否正确