ora-12154

plsql不能连接oracle的原因

与世无争的帅哥 提交于 2020-03-01 04:00:18
ora-12154原因及解决方法 网上的解决一大片,不外如下: 1.本机的环境变量oracle_home没有设置 2.因为安装过多版本oracle 的原因,plsql中首载入的实例版本不对,解决方法:在登录时,点击取消,工具、首选项,oraclehome选择对应目录及版本。 但是都不是我的菜,最后在把书翻开,看到这么个玩意,才搞定。 Oracle的Net Service在解析连接的时候存在一个Bug,无法解析路径中包括的圆括号。 所以plsql在安装时不要选择带圆括号的。 来源: oschina 链接: https://my.oschina.net/u/99045/blog/49622

Ora 12154 error

白昼怎懂夜的黑 提交于 2019-12-30 23:00:14
问题 I recently deploy one web application in one of my development servers. I'm using oracle, asp.net and c#. When I run the application in the server everything works fine, but when I try to run the application outside of the server (using my pc, for example) i get this error: ORA-12154: TNS:could not resolve the connect identifier specified If i run the application in my pc with visual studio it works fine. Oracle is installed in Server "A" and the application is in server "B". Server "A" is in

Ora 12154 error

给你一囗甜甜゛ 提交于 2019-12-30 23:00:03
问题 I recently deploy one web application in one of my development servers. I'm using oracle, asp.net and c#. When I run the application in the server everything works fine, but when I try to run the application outside of the server (using my pc, for example) i get this error: ORA-12154: TNS:could not resolve the connect identifier specified If i run the application in my pc with visual studio it works fine. Oracle is installed in Server "A" and the application is in server "B". Server "A" is in

Oracle (0x80004005)ORA-12154: TNS:could not resolve the connect identifier

本秂侑毒 提交于 2019-12-19 06:28:11
问题 I'm trying to connect to an oracle db from an ASP classic application, however I keep running into the ORA-12154 error. TNSNAMES.ORA is configured properly DBSOURCE.A.B.com = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = C.D.B.com)(PORT = 1231)) ) (CONNECT_DATA = (SERVICE_NAME = DBSOURCE) ) ) I can TNSPING C:\Documents and Settings\USERID.A>tnsping DBSOURCE TNS Ping Utility for 32-bit Windows: Version 10.2.0.4.0 - Production on 09-MAR-2 011 09:12:31 Copyright (c) 1997,

ora-12154 could not resolve… with oracle instant client

♀尐吖头ヾ 提交于 2019-12-11 09:19:49
问题 Here are the details: I installed the oracle instant client 11.2.0.2.0 from the OTN download page on a windows 7 64 bit vm (vmware). I am trying to to connect to a remote oracle database, and I can successfully connect with one program using TNS, but not with SQL*Plus and other applications. Trying to connect with SQL*Plus, using schema@servicename, password, etc, gives the above error. To connect via SQL Developer, normally I would use the basic connection info and not rely on tnsnames, but

ODP.NET Managed tnsnames.ora IFILE references

柔情痞子 提交于 2019-12-11 07:18:52
问题 Does Managed ODP.NET x64 12.1.0.2 tnsname.ora support using IFILE?? I cannot get it to work. For example, with the normal "thick client" unmanaged Oracle client that I have had installed for years, I used to have my tnsnames.ora file with one line in it: IFILE=C:\OracleDataSources\tnsnames.MAIN And then the C:\OracleDataSources\tnsnames.MAIN file contains IFILE references to config files that contain the actual data source definitions for each of the other Oracle instances within our

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

孤者浪人 提交于 2019-12-07 16:20:54
问题 The issue started when i installed the server version with already existing client version of Oracle 10g. Background : The Oracle client version 10g was installed (at c:/oracle) to connect to a database residing in other country. So we can just connect to it and have limited access to it. Path => c:/oracle/ora_client/network/admin/listener.ora So to work as admin I installed 10g server at the same location c:/oracle on windows. I can now work as server. Path => c:/oracle/product/db_1/network

Linking Oracle with SQL Server

时光毁灭记忆、已成空白 提交于 2019-12-05 21:46:03
问题 I'm trying to link SQL Server 2005 to an Oracle 10g database. I've installed the Oracle client on the SQL server and validated that I can connect to the Oracle database using both tnsping and sqlplus. When I try to run a query in SQL Server I get the following: OLE DB provider "OraOLEDB.Oracle" for linked server "ORA_CSSA2APD" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of

Linking Oracle with SQL Server

落爺英雄遲暮 提交于 2019-12-04 03:56:10
I'm trying to link SQL Server 2005 to an Oracle 10g database. I've installed the Oracle client on the SQL server and validated that I can connect to the Oracle database using both tnsping and sqlplus. When I try to run a query in SQL Server I get the following: OLE DB provider "OraOLEDB.Oracle" for linked server "ORA_CSSA2APD" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "ORA_CSSA2APD". Any ideas? I've tried both of the

Oracle (0x80004005)ORA-12154: TNS:could not resolve the connect identifier

梦想的初衷 提交于 2019-12-01 03:42:31
I'm trying to connect to an oracle db from an ASP classic application, however I keep running into the ORA-12154 error. TNSNAMES.ORA is configured properly DBSOURCE.A.B.com = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = C.D.B.com)(PORT = 1231)) ) (CONNECT_DATA = (SERVICE_NAME = DBSOURCE) ) ) I can TNSPING C:\Documents and Settings\USERID.A>tnsping DBSOURCE TNS Ping Utility for 32-bit Windows: Version 10.2.0.4.0 - Production on 09-MAR-2 011 09:12:31 Copyright (c) 1997, 2007, Oracle. All rights reserved. Used parameter files: C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN