ORA-12154: TNS:could not resolve the connect identifier specified

场景:

.Net程序无法连接到数据库

现象:

2015/8/26 11:02:03 ORA-12154: TNS:could not resolve the connect identifier specified

方案:

设置系统环境变量。

在用户变量里添加:

变量名:TNS_ADMIN

变量值:D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN

时间: 2024-08-02 19:07:39

ORA-12154: TNS:could not resolve the connect identifier specified的相关文章

在linux上使用impdp命令时提示ORA-12154: TNS:could not resolve the connect identifier specified的问题

今天在一台linux服务器上用impdp命令导入dmp文件时出现了错误: ORA-12154: TNS:could not resolve the connect identifier specified 我使用的语句是: impdp new_eadsy_admin/new_eadsy_admin@jclw directory=dump1 dumpfile=NEW_EADSY_ADMIN01.DMP logfile=NEW_EADSY_ADMIN_exp_01.log schemas=NEW_E

Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决! 我同事遇到的问题。 username/

Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决! 我同事遇到的问题. username/password 登录没问题. username/[email protected] 报错.提示如标题. 我建议他看看是不是电脑上有多个sqlplus.exe. 检查的结果:有两个. 后来他在path路径的文件夹改成服务端,就好了.

PL/SQL developer连接oracle出现“ORA-12154:TNS:could not resolve the connect identifier specified”问题的解决

转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/50728536 使用PL/SQL developer工具连接oracle,登陆的时候报错: ORA-12154:TNS:could not resolve the connect identifier specified 如图: 可是使用命令行登陆却没有问题.应该是PL/SQL developer工具有的地方配置的不正确.试了一下,须要在PL/SQL developer界面中,点

"ORA-12154: TNS:could not resolve the connect identifier specified"的解决办法

添加环境变量解决: 变量名:TNS_ADMIN 变量值:D:\Ocl\product\11.2.0\dbhome_1\NETWORK\ADMIN tnsnames.ora所在的路径

关于ora-12154:TNS:could not resolve the connect identifier specified

一:前言 刚刚出来实习,在公司配的电脑里面装的oracle和PL SQL时一次性就搞定,但是在自己的电脑上装了就出现这个问题,刚刚在网上看了下,所以自己就写份记载吧! 二: 在打开PLSQL Developer时,输入用户名,密码之后登录就出现如题弹框,装了客户端了. 解决办法 一:如下图,在Database的数据库前加上“localhost”,即是“localhost/orcl”,其实你也可以用你自己本地的IP,也可以用‘127.0.0.1’ 二:这种是在网上找的,我自己试验了下,但是不行,我

ORA-12154 TNScould not resolve the connect identifier specified

今天我登录PL/SQL连接ORACLE 11G R2报错如下:ORA-12154 TNScould not resolve the connect identifier specified. 我的解决办法是:1.打开"我的电脑"--"属性"--"高级系统设置"--"环境变量"--"系统变量"--PATH--"编辑"--删除"C:\app\linxi\product\11.2.0

Oracle11g ora 12154 无法解析指定的连接标识符

编辑listener.ora加上: SID_LIST_LISTENER = (SID_DESC = (GLOBAL_DBNAME = ORCL) (ORACLE_HOME = D:\Oracle\product\11.2.0\dbhome_1) (SID_NAME = ORCL) ) ) Oracle11g ora 12154 无法解析指定的连接标识符

Win7x64中使用PowerDesigner连接Oralce数据库报“[Oracle][ODBC][Ora]ORA-12154:TNS:无法解析指定的连接标识符”错误解决方法

错误描述 操作系统是Win7 x64,Oracle服务端是Oracle11g x64,客户端是Oracle10gR2 x86. 使用PL-SQL Developer连接正常 使用系统ODBC连接正常.这里要注意的是,64位系统默认启动的是64位ODBC数据源管理器,默认指向的是服务端连接,所以需要为Oracle服务端也配置TNS Service Name,否则同样会连接报错.PowerDesigner默认启动的是32位的ODBC数据源管理器,程序路径为“%SystemRoot%\SysWOW64

oracle用cmd货plsql登录oracle实例提示“ORA :12170”TNS:连接超时

1,cmd ------ ping ip地址:查看网络问题,能否ping通ip地址 2,cmd ------ tnsping ip地址(或服务器的实例名SID)“ ①如果出现"TNS-12535:操作超时" 提示,可能是服务器端防火墙没有关闭,关闭防火墙即可: ②如果出现下图显示,则证明没有问题: ” 3,cmd ------ netstat - na 查看1521端口是否关闭 ①如果显示关闭,则需要在防火墙设置中将1521端口设为例外: ②如果出现下图显示,则证明没有问题: 4,cm