Error LinkServer SQLServer To Oracle

13/05/2008 - 16:44 por Omar | Informe spam
Hi,

I have setup a linked server that crashes.

It connects to an Oracle 9i Database on an application client for Oracle
(Toad). My tnsnames.ora file is correct does periodically work

I am not sure what triggers it but it crashes and gives the following error:

Error 7399: OLE DB provider 'MSDAORA' reported an error. The provider did
not give any information about the error.
OLE DB error trace [OLE/DB Provider 'MSDAORA' IDBInitialize::Initialize
returned 0x80004005: The provider did not give any information about the
error.].

Can anyone help with this please ?

Which is the correct configuration in terms of drivers to use and vendor.
Are there any registry settings that need changing?

I'm trying to connect to Oracle 10g database for Linux

My configuration script:

sp_addlinkedserver @server='DESA',
@srvproduct = 'Oracle',
@provider = 'MSDAORA',
@datasrc = 'ORALDES1'

sp_addlinkedsrvlogin @rmtsrvname='DESA',
@useself='false',
@locallogin='channel-estandar',
@rmtuser='cif_exp',
@rmtpassword='cif_exp'


Thanks you,
Omar

Preguntas similare

Leer las respuestas

#1 Gux (MVP)
13/05/2008 - 16:51 | Informe spam
Es dificil saber donde está el problema debido a que el driver no le brinda
información detallada del problema. Le recomiendo que revise cuidadosamente
los pasois de configuración, use estos artículos:

How to set up and troubleshoot a linked server to an Oracle database in SQL
Server
http://support.microsoft.com/kb/280106

Setting Up an Oracle Linked Server
http://www.sqlmag.com/Articles/Arti....html?Ad=1

Gustavo Larriera, Microsoft MVP
https://mvp.support.microsoft.com/p...o.larriera
Este mensaje se proporciona tal como es, sin garantías de ninguna clase.



"Omar" wrote:

Hi,

I have setup a linked server that crashes.

It connects to an Oracle 9i Database on an application client for Oracle
(Toad). My tnsnames.ora file is correct does periodically work

I am not sure what triggers it but it crashes and gives the following error:

Error 7399: OLE DB provider 'MSDAORA' reported an error. The provider did
not give any information about the error.
OLE DB error trace [OLE/DB Provider 'MSDAORA' IDBInitialize::Initialize
returned 0x80004005: The provider did not give any information about the
error.].

Can anyone help with this please ?

Which is the correct configuration in terms of drivers to use and vendor.
Are there any registry settings that need changing?

I'm trying to connect to Oracle 10g database for Linux

My configuration script:

sp_addlinkedserver @server='DESA',
@srvproduct = 'Oracle',
@provider = 'MSDAORA',
@datasrc = 'ORALDES1'

sp_addlinkedsrvlogin @rmtsrvname='DESA',
@useself='false',
@locallogin='channel-estandar',
@rmtuser='cif_exp',
@rmtpassword='cif_exp'


Thanks you,
Omar

Respuesta Responder a este mensaje
#2 Omar
13/05/2008 - 17:26 | Informe spam
Gracias Gustavo:

La verdad que he hecho varias pruebas. La máquina donde está instalado el
SQLServer 2000, tiene instalado el cliente Oracle, la prueba es que si me
conecto con SQLPlus esto resulta bien, o si lo hago mediante un IDE para
manipular Oracle como Toad, tambien me conecto sin ningnu problema.
Claramente para mi el problema está en esa máquina en particular, ya que el
mismo ejercicio lo hago en otra maquina con SQLServer 2000 y el LinkServer se
genera sin ningnu problema. Lo unico que me falta es validar en el Registry
de la máquina donde está instalado el SQLServer y confrontarlo con la
información que aparece en el link de Microsoft que me enviastes.

Atte.,
Omar Gonzalez

"Gux (MVP)" wrote:

Es dificil saber donde está el problema debido a que el driver no le brinda
información detallada del problema. Le recomiendo que revise cuidadosamente
los pasois de configuración, use estos artículos:

How to set up and troubleshoot a linked server to an Oracle database in SQL
Server
http://support.microsoft.com/kb/280106

Setting Up an Oracle Linked Server
http://www.sqlmag.com/Articles/Arti....html?Ad=1

Gustavo Larriera, Microsoft MVP
https://mvp.support.microsoft.com/p...o.larriera
Este mensaje se proporciona tal como es, sin garantías de ninguna clase.



"Omar" wrote:

> Hi,
>
> I have setup a linked server that crashes.
>
> It connects to an Oracle 9i Database on an application client for Oracle
> (Toad). My tnsnames.ora file is correct does periodically work
>
> I am not sure what triggers it but it crashes and gives the following error:
>
> Error 7399: OLE DB provider 'MSDAORA' reported an error. The provider did
> not give any information about the error.
> OLE DB error trace [OLE/DB Provider 'MSDAORA' IDBInitialize::Initialize
> returned 0x80004005: The provider did not give any information about the
> error.].
>
> Can anyone help with this please ?
>
> Which is the correct configuration in terms of drivers to use and vendor.
> Are there any registry settings that need changing?
>
> I'm trying to connect to Oracle 10g database for Linux
>
> My configuration script:
>
> sp_addlinkedserver @server='DESA',
> @srvproduct = 'Oracle',
> @provider = 'MSDAORA',
> @datasrc = 'ORALDES1'
>
> sp_addlinkedsrvlogin @rmtsrvname='DESA',
> @useself='false',
> @locallogin='channel-estandar',
> @rmtuser='cif_exp',
> @rmtpassword='cif_exp'
>
>
> Thanks you,
> Omar
>
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida