Question : Create linked server from MS Sql to oracle server

I am trying to create a linked servers to several oracle servers.  we are setting up a new sql server with 2008.  I installed he new Oracle 11g Client with Admin tools, copied over my existing tsnames.ora file and changed my sqlnet.ora file to reflect data and made sure the correct directories.  However when I connect I am still getting an error message. On my 2005 server I connect with the MS ODBC for Oracle Connector but I do not have this on the 2008 version just Oracle Provider for OLE DB, is there a difference.  Here is the error I get with connection.

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 create an instance of OLE DB provider "OraOLEDB.Oracle" for linked server "RCASDBOR". (Microsoft SQL Server, Error: 7302)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1600&EvtSrc=MSSQLServer&EvtID=7302&LinkId=20476

Answer : Create linked server from MS Sql to oracle server

All,
This was resolved by a simple restart of the computer, even though after installing Oracle provider it does not require a restart, this is all it took on my server to recognize everything.
Random Solutions  
 
programming4us programming4us