Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Connecting to Oracle 11g Expand / Collapse
Author
Message
Posted Monday, January 10, 2011 12:55 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Sunday, October 19, 2014 2:53 AM
Points: 3,133, Visits: 3,402
I am trying to connect to an Oracle 11g 64 bit database running on a Linux operating system from SQL2008 R2 running on Windows 2008 R2. Using the Oracle ODBC configuration tools, I can configure my ODBC connection and verify that my connection succeeds (using the Oracle ODBC utility). I am using the Oracle 64 bit driver and have tried the 32 bit version but this does not connect correctly.
When ever I try to connect to the Oracle database or do anything to it within SSIS (or any other part of SQL server) I get the following error :- “Test Connection failed because of an error in initializing provider. Error [IM014][Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the driver and application.”
Does anyone have any ideas on how I can get this connection working correctly?


-------------------------------
Posting Data Etiquette - Jeff Moden
Smart way to ask a question

There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
I would never join a club that would allow me as a member - Groucho Marx
Post #1045137
Posted Monday, January 10, 2011 1:05 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, August 28, 2014 2:39 AM
Points: 1,880, Visits: 2,846
You are trying to connect from 32bit to 64bit drivers or 64bit to 32 bit.
Make sure the DSN you create is present in both the 64 bit and 32bit ODBC's.
Add the DSN to 32bit ODBC using c:\Windows\SysWOW64\odbcad32.exe.


----------------------------------------------
Msg 8134, Level 16, State 1, Line 1
Divide by zero error encountered.
Post #1045140
Posted Monday, January 10, 2011 5:29 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Sunday, October 19, 2014 2:53 AM
Points: 3,133, Visits: 3,402
Thanks for that - it has added a bit of confusion for me though - I haven't got the 32 bit drivers installed let alone configured although the ODBC connection does exist in 32 and 64 ODBC as suggested

I am trying to connect 64 bit to 64 bit on the assumption that I'm running 64 bit database (SQL) on 64 bit O/S connecting to 64 bit database (Oracle) on 64 bit O/S (Linux) - so surely I need to consider 64 configuration?

Please excuse me for maybe looking at this over simplistically - only worked with Microsoft products before.


-------------------------------
Posting Data Etiquette - Jeff Moden
Smart way to ask a question

There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
I would never join a club that would allow me as a member - Groucho Marx
Post #1045225
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse