DSN name does not appear in Excel - oracle

My notebook has Windows 8 64 bit, Microsoft office 2010 32 bit and Oracle DB 11gR2 64 bit installed. I have created DSN to access oracle databases via ODBC sources 64 bit. I want to obtain data from oracle database to Microsoft Excel or Access via ODBC (in excel -> Data - From other sources - from Microsoft query). But DSN name that I created earlier do not appear. What can I do?

If the Application that wants to Access an ODBC-Datasource is 32bit, you need to use the 32bit version of the ODBC-Driver.
In your case you use a 32bit Version of Microsoft Office to Access the Datasource, so you need to use the 32bit Version of the ODBC-Driver. Configure your DSN using
C:\Windows\SysWOW64\odbcad32.exe
and they will probably show up in the 32bit Version of Office.

Related

Setting up snowflake odbc on windows arm?

I am trying to use odbc snowflake to pull excel queries in windows arm. The only office (excel) that I can download is 32 bit. When I download the 32 bit snowflake odbc driver odbc 32 manager will not see it. I also noticed that when I open the 32 bit odbc manager it says 64 bit on the top. Naturally I tried downloading the 64 bit snowflake driver I can see it in the odbc manager but it won’t work. Anyone successfully set up odbc in windows arm?
It definitely sounds like you are in the 64-bit Windows driver manager as least from the observations you noted. I don't know ARM at all, but does the OS have a 32-bit Windows driver manager? Here is my location for it by default in Windows 10:
C:\WINDOWS\syswow64\odbcad32.exe

Connect Oracle DB from SSIS using ODBC?

I have been trying to connect to an Oracle Database using SSIS(Visual Studio) using ODBC as the connection manager.
My OS is Windows 7 (64 bit), Visual Studio 2010 (32-bit) and Oracle 11G is 64 bit.
While connecting to Oracle 11G using Visual Studio via ODBC I am greeted with the following error:
'The specified DSN has an architecture mismatch between driver and application'
This is understandable as Visual Studio is 32 bit and the server I am trying connect to is 64 bit.
Possible solutions?
Install both the 32 and 64 bit providers for oracle. This will allow you to configure the connection (in 32 bit) and run the package in 64 bit.
Also, check out attunity: https://www.microsoft.com/en-us/download/details.aspx?id=44582
This is a free oracle source and destination component from Microsoft. You'll find that it uses native oracle interfaces and runs much faster than ODBC.
m

Run-time Error '-2147467259 (80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I am trying to connect to oracle using excel macro. My connection string is as follows:
*"Driver={Microsoft ODBC for Oracle}; CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=edw))); uid=system; pwd=oracle;"*
OS : Windows Server 2008 R2 Enterprise
MS Office Professional Plus 2013
Could you please help me.
Thanks in advance!!!
The driver does not exist, try Driver={Oracle in OraDb11g_home1}
However, ODBC exist for 32 bit and 64 bit. Which ODBC Data Source Administrator did you start (they look the same)?
To launch 64-bit ODBC Administrator use %SystemRoot%\System32\odbcad32.exe
To launch 32-bit ODBC Administrator use %SystemRoot%\SysWOW64\odbcad32.exe
The architecture of ODBC driver must match the architecture of your client, I assume this is MS Office which is most likely the 32 bit version.
ODBC driver for Oracle can be provided by Microsoft (Driver={Microsoft ODBC for Oracle}) or by Oracle (Driver={Oracle in OraDb11g_home1}, driver name varies). 64-bit driver is provided only by Oracle, the Microsoft driver is deprecated.
NB, I never used CONNECTSTRING=..., try Server=... instead.

Microsoft ODBC for Oracle on Windows 2008 R2 x64

I have server under Windows Server 2003 with Oracle 10 32bit. There are several ODBC data sources configured in ODBC Data Source Administrator.
Now I need to move all that system to Windows Server 2008 R2 x64.
I've installed OS, Oracle server 12c x64, Oracle client 12 x64.
Now I need to configure my ODBC data sources, but there is no Microsoft ODBC for Oracle driver.
Where can I find this driver to configure ODBC data source?
(I've tried 32bit tool from SystemWOW64, it has this driver but shows me exception "The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle version 7.3 (or greater) clien costware installation." As far as I could say it looks for 32bit client, but there is no such)
"Microsoft ODBC for Oracle" does not exist for 64 bit. Microsoft provides only a 32-bit version.
You have to download and install the driver from Oracle: ODBC
Developer Center or
64-bit Oracle Data Access Components (ODAC) Downloads
The 32-bit ODBC driver (no matter if from Microsoft or from Oracle) does not work together with an 64-bit Oracle Client, the architectures have to match.

how to create oracle DSN?

I have tried downloading anything remotely resembling the oracle odbc drivers and still i am unable to generate a DSN to oracle.
I do not even see oracle drivers showing up in the odbc creation wizard!
All I see are drivers for SQL server and SQL native client.
how do I create a system DSN for oracle?
You need to use the 32 or 64 bit ODBC Admin client.
A 64-bit version of the Microsoft Windows operating system includes the following versions of the Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):
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.
See:
http://support.microsoft.com/kb/942976

Resources