I'm trying to link SQL server 7 and oracle with no success, all I get is that mistique error: 7399 'OLE DB Provider 'MSDAORA' Reported an error' without any explanations (when tried to query the linked server the error was a bit more specific: "OLE DB provider 'MSDAORA' reported an error. [OLE/DB provider returned message: An Oracle Error occured, but message could not be determined]"
. I searched through all msdn but haven't found anything useful. Please help!
The problem is that SQL Server sets up a linked one, however I cannot connect to it (I also tried to link two sql servers and that works fine), for example:
sp_addlinkedserver
@server = 'Linky',
@srvproduct = 'Oracle',
@provider = 'MSDAORA',
@datasrc = 'SERVER*'
SERVER* is the SQL*NET alias.
Then as explained in the MSDN I create valid login using sp_addsrvlogin (also tried all this from console, but to no avail)
And VOILA nothing works
(
I'm desperate, please someone tell me what i'm doing wrong.
P.S "tnsping SERVER*" from command line works fine.
Marcha
The problem is that SQL Server sets up a linked one, however I cannot connect to it (I also tried to link two sql servers and that works fine), for example:
sp_addlinkedserver
@server = 'Linky',
@srvproduct = 'Oracle',
@provider = 'MSDAORA',
@datasrc = 'SERVER*'
SERVER* is the SQL*NET alias.
Then as explained in the MSDN I create valid login using sp_addsrvlogin (also tried all this from console, but to no avail)
And VOILA nothing works
I'm desperate, please someone tell me what i'm doing wrong.
P.S "tnsping SERVER*" from command line works fine.
Marcha