How to add Oracle ODBC 64 bit to 32bit Oracle client - excel

Having a question on Oracle. Computer has Oracle 11.2 32bit Client installed(win is 64bit) However, downloaded Office x64 and want to connect to OracleDB.
I have tried to download from Oracle page Oracle Instant Client Basic, inserted into it x64 ODBC Instant Client, made a path in environments to it and launched CMD installation, and got message that it was successfully installed. However, when i launch ODBC Administrator, and try to add System DSN of OraClient , i do not see possible options for 64bit ODBC connection.
Where can be the problem? Oracle client is installed in C:\oracle\product\11.2.0\client_1 and x64 ODBC connection with Instant Client i have put in C:\oracle\instantclient_11_2

Windows has two versions of odbcad32.exe:
The 32-bit version of the odbcad32.exe is located in the %systemdrive%\Windows\SysWoW64.
The 64-bit version of the odbcad32.exe is located in the %systemdrive%\Windows\System32.
To add a 64-bit DSN, you need to start odbcad32.exe from %systemdrive%\Windows\System32.

Related

Can't connect Excel to Oracle although I already installed the drivers. (Using Excel's PowerQuery)

I have been trying for a while now, to connect Excel to Oracle through PowerPivot, but unfortunately to no success.
I am currently getting this error: An error happened while reading data from the provider. '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 so far done the following:
1. Installed Oracle Client x64
I installed Oracle Client x64 from https://www.oracle.com/database/technologies/112010-win64soft.html. I used file win64_11gR2_client.zip. In the installation proccess I went for the option InstantClient
2. Installed Oracle's ODBC Instant Client x64
I went to https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html and downloaded both instantclient-basic-windows.x64-19.6.0.0.0dbru.zip and instantclient-odbc-windows.x64-19.6.0.0.0dbru.zip. I 'installed' them by unziping them in the same folder, and running odbc_install.
Then, I added the directory to my path environment variables and then created a new one called TNS_ADMIN and added the same directory.
3. Installed Oracle's ODBC Instant Client x32
Finally I did the same for the x32 files, but I did not add that directory to my environment variables.
I validated the correct installation by finding the drivers here:
x64 Drivers:
x32 Drivers:
Help in Troubleshooting
It is frustrating that besides the error message I can't find any way to troubleshoot this issue. Any ideas on what could it be? Any ideas on how to troubleshoot?
Thanks!
With 32 bit Oracle Instant client
Option 1 with ODBC drivers
Option 2 without ODBC drivers and ODAC client
Option 1: After installing 32 bit odbc drivers try to add only 32 bit instant client to path or if you add both clients to system path make sure 32 bit client is above 64 bit client
If the order is set correctly in system path you can verify from command prompt with where command
C:\WINDOWS\system32>where sqlplus
D:\instantclient_19_6_x86\sqlplus.exe
D:\instantclient_19_6_x64\sqlplus.exe
or with command path
C:\WINDOWS\system32>path
PATH=D:\instantclient_19_6_x86;D:\instantclient_19_6_x64;xxxxx
If set correctly You can connect via odbc File--->From Other Sources --> From ODBC
Option 2: Enables you to connect to database via ODAC Client without ODBC driversFile--->From Database --> From Oracle Database
Download ODAC 32 bit from Oracle ODP.NET_Managed_ODAC122cR1.zip.
Unzip the folder and from elevated command prompt install
D:\ODP.NET_Managed_ODAC122cR1>install_odpm.bat D:\instantclient_19_6_x86 x86 true
Here I set target directory to 32 bit instant client i.e D:\instantclient_19_6_x86
Edit: Add tns name entry in tnsnames.ora and tns_admin system variable
i,e TNS_ADMIN= D:\instantclient_19_6_x86\network\admin

running node.js API

I'm currently trying to run node.js API on my system with Oracle client 11g 64-bit installed and node version 6.9.2 64-bit but it throws the below error:
Error: NJS-045: cannot load the oracledb add-on binary for Node.js
6.9.2 (win32, x64) Node.js require() error was: DPI-1047: 64-bit Oracle Client library cannot be loaded:
"E:\app\Administrator\product\11.2.0\client_1\BIN\oci.dll is not the
correct architecture". See https://oracle.github.io/odpi/doc/
installation.html#windows for help
It also prompts to check the availability of 64-bit Oracle client libraries in the PATH environment variable, which I have already validated.
Node-oracledb installation instructions:
https://oracle.github.io/node-oracledb/INSTALL.html You must have
64-bit Oracle client libraries in your PATH environment variable. If
you do not have Oracle Database on this computer, then install the
Instant Client Basic or Basic Light package from
http://www.oracle.com/technetwork/topics/winx64soft-089540.html A
Microsoft Visual Studio Redistributable suitable for your Oracle
client library version must be available.
Also Microsoft Visual C++ Redistribitable 64bit 2012,2013,2015 are also installed.
Need help troubleshooting this problem as I do not know where is the link missing.
Do you have Oracle DB installed in your system?
Is Oracle client libraries installed in your system and added in your PATH environment variable?
Is Microsoft Visual Studio installed in your system?
Please check above dependencies then try again.

Cannot add the ODBC Oracle Driver

I am trying to add the ODBC driver for Oracle so that i can make an excel query. I have Win7 64bit and Office2010 64bit.
I have already tried to install:
Oracle - Oraclient12Home1
Oracle - OraDB11ghome1
codeproject.com/Questions/239773/how-to-configure-microsoft-odbc-for-oracle-in-win
stackoverflow.com/questions/11873160/connect-to-an-oracle-db-using-odbc
It just won't add.
Both:
The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.
Have the below drivers only.
![ODBC Data Source Administrator][1]
http://i.stack.imgur.com/ERYMM.png

Installing Oracle 11g on Ubuntu Linux server

I have downloaded linux oracle 11g on windows and want to copy it to ubuntu linux server and install oracle on linux server.
I am using Winscp and putty.
OS i am using is windows 7,but copying from windows to linux takes long and session expires.
Is there any way to avoid what i am doing and install oracle 11g on linux server directly.
I am new to this so please help..
Check FileZilla. You can use it over cross platform and resume your uploads.

I cannot see turtoisesvn on windows server after installing it

I just installed tortoisesvn on windows server 2008 but it is not showing any menus for tortoise when i right click any folder. can anyone help?
You probably have a 64-bit Windows and installed the 32-Bit version of Tortoise.
Install the 64-Bit version as well. Both versions can be installed parallelly. It even makes sense to do so: 64-Bit Explorer needs 64-Bit Tortoise, but other 32-Bit apps may need 32-Bit Tortoise.

Resources