tns

How to install ODP.NET 2.111 and ODP.NET 4.112 in the same machine side-by-side while both point to the same database server

瘦欲@ 提交于 2019-11-28 06:51:43
问题 The question is how to install ODP.NET 2.111 and ODP.NET 4.112 in the same machine side-by-side while both point to the same database server using tnsnames.ora I need to support a legacy system based on Oracle 11.1.0. The system is using ODP.NET 2.111 to connect to oracle. There are two clients installed at: C:\oracle\product\11.1.0\client_1 C:\oracle\product\11.1.0\client_2 The tnsnames.ora for both is something like this: xxxx1_SERVICE= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =

Oracle TNS names not showing when adding new connection to SQL Developer

孤街醉人 提交于 2019-11-28 02:46:46
I'm trying to connect to an oracle database with SQL Developer. I've installed the .Net oracle drivers and placed the tnsnames.ora file at C:\Oracle\product\11.1.0\client_1\Network\Admin I'm using the following format in tnsnames.ora: dev = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.XXX.XXX)(PORT = XXXX)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = idpdev2) ) ) In SQL Developer, when I try to create a new connection, no TNS-names show up as options. Is there something I'm missing? JaseAnderson SQL Developer will look in the following location in this order for a

Oracle ORA-12154 error on local IIS, but not with Visual Studio Development Server

我只是一个虾纸丫 提交于 2019-11-28 02:11:03
问题 I've got an ASP.NET application that can connect to Oracle when it's started by Visual Studio Development Server, but when I deploy it to my local IIS, it does not connect, showing the "ORA-12154: TNS:could not resolve the connect identifier specified" error. My connection string was: Data Source=ABC; User Id=USER; Password=PASSWORD; Tt's using TNS. My tnsnames.ora is located at C:\oracle\instantclient_10_2\network\admin, and my ORACLE_HOME system variable is pointing to C:\oracle

Oracle TNS names not showing when adding new connection to SQL Developer

偶尔善良 提交于 2019-11-27 04:58:11
问题 I'm trying to connect to an oracle database with SQL Developer. I've installed the .Net oracle drivers and placed the tnsnames.ora file at C:\Oracle\product\11.1.0\client_1\Network\Admin I'm using the following format in tnsnames.ora: dev = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.XXX.XXX)(PORT = XXXX)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = idpdev2) ) ) In SQL Developer, when I try to create a new connection, no TNS-names show up as options. Is there something