Linked Server in Win 2008 and SQL Server 2005(64 bit)

  • Hi friends,I am trying to create a Linked server to Oracle in a Win 2008 (64bit) server using SQL Server 2005(64 bit).This server is configured to Replication and Clustering too.I installed 64 bit Oracle Client,64 bit ODAC and 32 bit Oracle client.But none of this helped.I dont see the oraoledb.oracle driver in the Linked servers providers list.I am able to connect the Oracle client with the Oracle DB.

    Please advice what could be the reason.

    I even tried using the Microsoft driver for ODBC.But I get the following error

    TITLE: Microsoft SQL Server Management Studio

    ------------------------------

    "The linked server has been created but failed a connection test. Do you want to keep the linked server?"

    ------------------------------

    ADDITIONAL INFORMATION:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

    ------------------------------

    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "SERVER".

    OLE DB provider "MSDASQL" for linked server "SERVER" returned message "[Microsoft][ODBC Driver Manager] Invalid connection string attribute".

    OLE DB provider "MSDASQL" for linked server "SERVER" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". (Microsoft SQL Server, Error: 7303)

  • But none of this helped.I dont see the oraoledb.oracle driver in the Linked servers providers list.I am able to connect the Oracle client with the Oracle DB.

    Please advice what could be the reason.

    run the c:\windows\SysWOW64\odbcad32.exe version, and confirm the oracle driver is present.

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

  • Yes the 32bit shows the drivers.But I am not able to establish the Linked server to Oraacle.

  • Not sure if you configured the TNSnames yet?

    a few guides below:

    http://www.ideaexcursion.com/2009/01/05/connecting-to-oracle-from-sql-server/

    http://support.microsoft.com/kb/280106

    http://www.sqlmag.com/article/sql-server/setting-up-an-oracle-linked-server49687

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

  • Yes Tnsnames is configured that is why I mentioned that I am able to connect using Oracle SQL Plus.Also these references I already saw.I am not getting oraoledb.oracle as one of the Providers.If that happens I think the connection will work.

  • Friends,the issue was resolved.I had to installed the ODAC(Oracle Data Access client) in the Cluster server also.and then the OraOLEDB.Oracle showed up in the Linked servers Provider.

Viewing 6 posts - 1 through 5 (of 5 total)

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