oracleclient

Effects of changing NLS_LANG setting in the registry for Oracle Client

倖福魔咒の 提交于 2019-12-05 21:22:46
We are in the process of moving from the .NET Microsoft oracle driver to the ODP.NET driver. One of the problems we have had is this error: ORA-12705: Cannot access NLS data files or invalid environment specified We were able to stop the error by modifying the registry and changing the setting ( see this question ) In our case we changed HKEY_LOCAL_MACHINE - SOFTWARE - ORACLE - NLS_LANG which was set to NA to be the same as HKEY_LOCAL_MACHINE - SOFTWARE - ORACLE - HOME0 - NLS_LANG which was set correctly My question is why would there be different NLS_LANG settings in the registry, and might

Connection to Oracle works through a console application and doesn't work through a web service

为君一笑 提交于 2019-12-05 20:54:16
I can't connect to an Oracle schema through a asmx web service instead of I can through a console application [x86]. The code: var conn = new OracleConnection("Data Source=xe;User ID=mySchema;Password=myPass"); The exception: ORA-12154: TNS:could not resolve the connect identifier specified The environment: Windows 7 x64 - VS 2008. Any idea? kindly ask me for any extra information Thanks in advance. OCI, the Oracle client layer on which ODP (or the native Oracle client layer) is based has a bug that prevents any application located in a folder containing parentheses () from running properly

How to use oracle client 11.2 with php (xampp) on win7 x64

两盒软妹~` 提交于 2019-12-05 15:33:56
I just installed an acutal XAMPP on my win7 (x64) PC to write some PHP scripts to connect to an oracle DB. I also have a normal oracle 11.2.0 client installed (PATH and ORACLE_HOME are set correctly). The client is used for all my other work without any problems. When I try to connect to an oracle DB PHP fails with Fatal error: Call to undefined function oci_connect() in . I remember I had to enable the "oci8-extensions" in my php.ini when I did the same thing some years ago on a x32 winXP PC. But my current xampp does not have these dll in the php/ext folder (only a php_oci8_12c.dll which

running oracle imp / exp in Ubuntu 14.04.3

坚强是说给别人听的谎言 提交于 2019-12-05 10:06:51
After installing the oracle packages oracle-instantclient12.2-basiclite-12.2.0.1.0-1.x86_64.rpm and oracle-instantclient12.2-tools-12.2.0.1.0-1.x86_64.rpm with alien -i I want to run the exp utility, but I got an error root@localhost:/usr/lib/oracle/12.2/client64/bin# ./exp ./exp: error while loading shared libraries: libclntsh.so.12.1: cannot open shared object file: No such file or directory root@localhost:/usr/lib/oracle/12.2/client64/bin# export declare -x DERBY_HOME="/usr/lib/jvm/java-8-oracle/db" declare -x HOME="/root" declare -x J2REDIR="/usr/lib/jvm/java-8-oracle/jre" declare -x

Having two ODP.NET (ODAC) versions in the same server

醉酒当歌 提交于 2019-12-05 09:27:03
Some months ago, a colleague of mine installed ODAC 11.106.21 in a server using XCOPY and then he developed many applications that use this client without problems (in test and production windows servers). Past week, I developed an application under ODAC 11.1.07.20. When I asked him to install these new ODAC version using XCOPY in a different folder and then include my application in the test server, he answered me that I should use ODAC 11.106.21 because he could have troubles with his applications. So I would like to know: 1) If it is really possible to have two different ODAC versions in

Trying to connect to Oracle from Spark

我们两清 提交于 2019-12-04 14:33:16
I am trying to connect to Oracle to Spark and want pull data from some table and SQL queries. But I am not able to connect to Oracle. I have tried different work around options, but no look. I have followed the below steps. Please correct me if I need to make any changes. I am using Windows 7 machine. I using Jupyter notebook to use Pyspark. I have python 2.7 and Spark 2.1.0. I have set a spark Class path in environment variables: SPARK_CLASS_PATH = C:\Oracle\Product\11.2.0\client_1\jdbc\lib\ojdbc6.jar jdbcDF = sqlContext.read.format("jdbc").option("driver", "oracle.jdbc.driver.OracleDriver")

Error System.Data.OracleClient requires Oracle client software version 8.1.7 or greater when installs setup

不羁的心 提交于 2019-12-03 13:47:32
I have made a desktop app Setup that connects with remote Oracle 10g Database. When I install Setup on remote machine and run my application then I get following error: system.data.oracleclient requires oracle client software version 8.1.7 or greater It works well on my Development machine. The error message is pretty self-explanatory: your application needs the Oracle Client installed on the machine it's running on. Your development PC already has it. Make sure your target PC has it, too. Edit: The System.Data.OracleClient namespace is deprecated. Make sure you use the driver native to your

BadImageFormatException while using Oracle Client 64 bit and Visual Studio 2010!

↘锁芯ラ 提交于 2019-12-03 08:38:07
问题 One of our dev team member got an error Attempt to load oracle client libraries threw BadImageFormatException It seems This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed. But it was me who configured the system - Here's the specifications: Windows 7 64-bit Visual Studio 2010 Premium Oracle Client 11g R2 64Bit installed as Runtime Any thoughts? 回答1: I have seen this a couple of times recently when running Visual studio on a 64Bit O/S. A

Oracle SQL Developer - Query results window with grid missing

喜你入骨 提交于 2019-12-03 05:21:58
问题 I've just made the switch from MS sql server to Oracle. The query tool I am using is Oracle SQL Developer. The problem I am having is that I cannot get the query results window to stick around. The query results window being the Grid view for the results. It seems to show up arbitrarily when I open a new "sql worksheet". But not always. Then once I run a query, it disappears the next time I run one. Can anyone point me to a consistent way to leave this results grid active? Thanks so much. 回答1

BadImageFormatException while using Oracle Client 64 bit and Visual Studio 2010!

谁说我不能喝 提交于 2019-12-03 00:09:54
One of our dev team member got an error Attempt to load oracle client libraries threw BadImageFormatException It seems This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed. But it was me who configured the system - Here's the specifications: Windows 7 64-bit Visual Studio 2010 Premium Oracle Client 11g R2 64Bit installed as Runtime Any thoughts? I have seen this a couple of times recently when running Visual studio on a 64Bit O/S. A simple workround is to install the 32bit client on your 64Bit development machine. Regards, Pete I am sorry about