can anyone tell me how to set up a linked server to Oracle?
i have tried but keep getting Error 7399: MSDAORA reported an error. OLE DB error trace. INitialize returned 0x80004005
1) Have you installed the oracle client on the server?
2) Have you rebooted the server afterwards?
3) Can you connect to the linked server by using the Oracle Tools on the server? (tnsping, ...) (not using sql server)
Current linked server settings (out of my head, will correct it tomorrow)
*note tables in ORACLE are in UPPERCASE*
*selecting from oracle through sql : linkedservername..SCHEMA.TABLENAM*
Linked server name myOracle
Provider name= Microsoft OLEDB for Oracle
Product name= Oracle
Datasource = myOracleServer.world
This article discusses how to setup an Oracle Linked server
If you send me a private message with your email address and I'll send you a step by step guide on how we did it with some code samples.....
3) yes i can tnsping my Oracle DB.
btw, this is a cluster. i have installed the Oracle client onto one of my two host nodes for my SQL instance.
i still get the same error.
for step 3, have you also tried sqlplus to connect to the database from your cluster?
I have no experience for clusters but it could be required that both hosts have to have the oracle client installed.
a document of microsoft for troubleshooting linked oracle servers
I feel you had missed out some steps in between ,follow these steps to configure linked server sucessfully 1) Product name : Oracle2) Datasource : SID of Oracle database 3) Provider string is not mandatory For security
!)Be made using this security context
Remotelogin : Username of Oracle database With password : Password
By these configuration linked server will work file .
Vinod (DBA)HTC Global Services