在命令行下运行 “tnsping 你的服务名称”
响应是正常的吗?

解决方案 »

  1.   

    ORA-12520: TNS:listener could not find available handler for requested type of server
    Cause: None of the known and available service handlers for requested type of server (dedicated or shared) are appropriate for the client connection.
    Action: Run &quo;lsnrctl services&quo; to ensure that the instance(s) have registered with the listener and that the appropriate handlers are accepting connections.
      

  2.   

    我估计你没有指定数据库的SIDCMD 进入DOS 导出exp user/password@数据ID owner=方案名 file=c:\a.dmp log=c:\a.log
    文件就在C:下
    在你的数据库导入先建一用户userimp user/password@数据ID file=c:\a.dmp log=c:\a.log full=y
      

  3.   

    检查这个文件tnsnames.ora中是否包含你数据库的SID
    like:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 20.39.69.20)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = HAPL4)
        )
      )
      

  4.   

    要连接的时候加上你的数据库连接名
    比如
    用户/密码◎oral