Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!

前几天遇到的问题:

在局域网的机子上面安装好了服务端,在自己电脑上面安装客户端,安装之后再监听程序那里也测试成功,用plsql连接的时候跳出标题的错误,找了半天,原来之前安装过9i的客户端,到环境变量中,删掉其他关于oracle的路径,我的环境变量是:

D:\oracle\product\10.2.0\client_2\bin;D:\oracle\product\10.2.0\client_1;C:\oracle\ora90\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Win7系统封装资料\[3]优化及设置\Windows7优化大师 V1.66 绿色版;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;E:\Learning\CodeSmith5.01破解版\codesmith\;D:\Accessory Software\SVN\bin 

只要将红色的部分删掉就可以了。

posted @ 2011-04-24 15:08  James-ping  阅读(2712)  评论(0编辑  收藏  举报