Connecting to Oracle 11g

  • Stuart Davies

    SSCoach

    Points: 18813

    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 [/url]Smart way to ask a questionThere 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

    One Orange Chip

    Points: 27652

    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.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • Stuart Davies

    SSCoach

    Points: 18813

    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 [/url]Smart way to ask a questionThere 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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply