Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Connecting to Oracle 11g


Connecting to Oracle 11g

Author
Message
Stuart Davies
Stuart Davies
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4491 Visits: 4549
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
Henrico Bekker
Henrico Bekker
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2029 Visits: 3255
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.
Stuart Davies
Stuart Davies
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4491 Visits: 4549
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search