远程服务器(Redhat Linux AS 4.0 update4)安装有oracle 10G,有个数据库,服务名为exchange
我在自己的本机(windows2003)安装了oracle 10G的client。
在客户端的net manager做了设置,给这个数据库建立一个服务命名。
在客户端访问服务器出现以下情况:
用sql plus worksheet连接这个服务,能连接上。
用sql plus(命令行方式),连接不上,提示:ORA-12154: TNS:could not resolve the connect identifier specified
用tnsping,也能够ping通这个服务。
用.net开发环境中的数据连接工具链接这个服务,连接不上,提示:ORA-12154: TNS:could not resolve the connect identifier specified不知这是什么原因?怎么有的方式能连上,有的方式就连不上?