oracleclient

Trying to connect to Oracle from Spark

旧巷老猫 提交于 2020-02-01 07:24:06
问题 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

Trying to connect to Oracle from Spark

房东的猫 提交于 2020-02-01 07:23:04
问题 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

OracleConnection.ClearAllPools - Operation is not valid due to the current state of the object

断了今生、忘了曾经 提交于 2020-01-14 05:33:10
问题 I have the following code in an ashx file - don't ask why ;-) <%@ WebHandler Language="C#" Class="Site.Pool" %> using System; using System.Data; using System.IO; using System.Web; using System.Web.SessionState; using Core.Database; using Core.ITables; using Online.Server.Busi; using Online.Server.ITables; using XactNet.Busi; namespace Site { public class Pool : IHttpHandler, IRequiresSessionState { public void ProcessRequest(HttpContext context) { try { Oracle.DataAccess.Client

Oracle connections broken in SSIS after uninstalling 32bit version of oracle client

元气小坏坏 提交于 2020-01-04 10:05:09
问题 I get the following error message when I try to test my connections: Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine I originally had 32 bit and 64 bit version of Oracle 12 client installed on my work machine. I uninstalled the 32bit version, because it was causing some conflicts with another application, but now after uninstalling I can no longer use my oracle connections in SSIS. I'm using Visual

Deploy a .Net application with Oracle Client 11

风格不统一 提交于 2020-01-03 00:57:12
问题 I've followed this post and it's not working. Can someone tell me what else to check? Steps I followed: I added dll's from my current install of Oracle (11gR2_x32) to the root of my project. I did not use the basic-lite as the post stated but I assumed that the dll's would be the same, right? oci.dll ociw32.dll Oracle.DataAccess.DLL orannzsbb11.dll oraocci11.dll oraociicus11.dll OraOps11w.dll Selected each dll within my project and set the 'Build Action' to 'Content' and 'Copy to Output

ORA-01002: fetch out of sequence

大兔子大兔子 提交于 2019-12-24 12:39:43
问题 I'm getting the following oracle error when my app is deployed on the server only , and not when running the exact same executable on my local machine: The stack trace points to a simple select statement with a join, that I can successfully execute via TOAD locally and via SQL Plus on the problem server. The top half of the stacktrace is: Oracle.DataAccess.Client.OracleException ORA-01002: fetch out of sequence at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode,

How to compile a Website to use 32-bit Oracle Client on 64-bit Windows

我的未来我决定 提交于 2019-12-23 23:22:13
问题 I have received this error after updating to Windows 7 64-bit and then running an existing .NET Website. [InvalidOperationException: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.] I have only installed the 32-bit Oracle Client installed and I understand that on my 64-bit development machine the application is expecting 64-bit libraries UNLESS explicitly stated. This

Good Oracle database development and management tool on Windows [closed]

匆匆过客 提交于 2019-12-23 13:01:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm looking for an Oracle database management tool like sql server management studio. I've searched the internet and found a lot of tools on the following link: http://www.freedownloadscenter.com/Search/oracle.html. But I don't know which one is better. I need a stable and easy-to-use GUI tool for working on

Effects of changing NLS_LANG setting in the registry for Oracle Client

北城以北 提交于 2019-12-22 09:47:48
问题 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

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

放肆的年华 提交于 2019-12-22 08:17:53
问题 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