dbTalk Databases Forums  

Re: Heteregenous connections client ==> oracle database ==> sqlserver

comp.databases.oracle.server comp.databases.oracle.server


Discuss Re: Heteregenous connections client ==> oracle database ==> sqlserver in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 07:49 AM







<chris.brown (AT) providentinsurance (DOT) co.uk> schreef in bericht
news:353d71dd-68f5-4e09-b96f-5b6afbfd21c5 (AT) d77g2000hsb (DOT) googlegroups.com...
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server


I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B

Please post:
tnsnames.ora from the client
tnsnames.ora from the server
sqlnet.ora from the server

Do you connect to the Oracle database with the same account in both cases?

You could try select * from mi_v_agents (AT) rdt (DOT) world

Shakespeare





Reply With Quote
  #2  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 07:49 AM







<chris.brown (AT) providentinsurance (DOT) co.uk> schreef in bericht
news:353d71dd-68f5-4e09-b96f-5b6afbfd21c5 (AT) d77g2000hsb (DOT) googlegroups.com...
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server


I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B

Please post:
tnsnames.ora from the client
tnsnames.ora from the server
sqlnet.ora from the server

Do you connect to the Oracle database with the same account in both cases?

You could try select * from mi_v_agents (AT) rdt (DOT) world

Shakespeare





Reply With Quote
  #3  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 07:49 AM




<chris.brown (AT) providentinsurance (DOT) co.uk> schreef in bericht
news:353d71dd-68f5-4e09-b96f-5b6afbfd21c5 (AT) d77g2000hsb (DOT) googlegroups.com...
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server


I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B

Please post:
tnsnames.ora from the client
tnsnames.ora from the server
sqlnet.ora from the server

Do you connect to the Oracle database with the same account in both cases?

You could try select * from mi_v_agents (AT) rdt (DOT) world

Shakespeare





Reply With Quote
  #4  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 11:56 AM



On Jun 19, 8:28*am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails */ ORA-12154

I am a bit confused as I *can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --


Reply With Quote
  #5  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 11:56 AM



On Jun 19, 8:28*am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails */ ORA-12154

I am a bit confused as I *can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --


Reply With Quote
  #6  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 12:27 PM




"Mark D Powell" <Mark.Powell (AT) eds (DOT) com> schreef in bericht
news:2cf07768-94d6-456c-b4a8-50970d25ec4e (AT) f24g2000prh (DOT) googlegroups.com...
On Jun 19, 8:28 am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --

================================================
You're right, only server settings should matter. I just asked for both
files to be sure to get the right one, and to check for typo's.
Doesn't the default domain setting on the client have any influence? I
thought that when you use a non-fully qualified link name, the domain was
resolved on the client by the names.default_domain = setting in SQLNET.ORA.
But I'm not too sure about that in cobination with db-links, because in that
case the server is the client.

Shakespeare




Reply With Quote
  #7  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 12:27 PM




"Mark D Powell" <Mark.Powell (AT) eds (DOT) com> schreef in bericht
news:2cf07768-94d6-456c-b4a8-50970d25ec4e (AT) f24g2000prh (DOT) googlegroups.com...
On Jun 19, 8:28 am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --

================================================
You're right, only server settings should matter. I just asked for both
files to be sure to get the right one, and to check for typo's.
Doesn't the default domain setting on the client have any influence? I
thought that when you use a non-fully qualified link name, the domain was
resolved on the client by the names.default_domain = setting in SQLNET.ORA.
But I'm not too sure about that in cobination with db-links, because in that
case the server is the client.

Shakespeare




Reply With Quote
  #8  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 12:27 PM




"Mark D Powell" <Mark.Powell (AT) eds (DOT) com> schreef in bericht
news:2cf07768-94d6-456c-b4a8-50970d25ec4e (AT) f24g2000prh (DOT) googlegroups.com...
On Jun 19, 8:28 am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --

================================================
You're right, only server settings should matter. I just asked for both
files to be sure to get the right one, and to check for typo's.
Doesn't the default domain setting on the client have any influence? I
thought that when you use a non-fully qualified link name, the domain was
resolved on the client by the names.default_domain = setting in SQLNET.ORA.
But I'm not too sure about that in cobination with db-links, because in that
case the server is the client.

Shakespeare




Reply With Quote
  #9  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 12:27 PM




"Mark D Powell" <Mark.Powell (AT) eds (DOT) com> schreef in bericht
news:2cf07768-94d6-456c-b4a8-50970d25ec4e (AT) f24g2000prh (DOT) googlegroups.com...
On Jun 19, 8:28 am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --

================================================
You're right, only server settings should matter. I just asked for both
files to be sure to get the right one, and to check for typo's.
Doesn't the default domain setting on the client have any influence? I
thought that when you use a non-fully qualified link name, the domain was
resolved on the client by the names.default_domain = setting in SQLNET.ORA.
But I'm not too sure about that in cobination with db-links, because in that
case the server is the client.

Shakespeare




Reply With Quote
  #10  
Old   
Shakespeare
 
Posts: n/a

Default Re: Heteregenous connections client ==> oracle database ==> sqlserver - 06-19-2008 , 12:27 PM




"Mark D Powell" <Mark.Powell (AT) eds (DOT) com> schreef in bericht
news:2cf07768-94d6-456c-b4a8-50970d25ec4e (AT) f24g2000prh (DOT) googlegroups.com...
On Jun 19, 8:28 am, chris.br... (AT) providentinsurance (DOT) co.uk wrote:
Quote:
I am using 9i client to connect a 9i database 9.2.0.5 enterprise / 9i
listener

I have setup an ODBC connection to a sqlserver database on this server

I can run the following code on the server

select * from mi_v_agents@rdt ...where rdt is a link

whenever I try and run from my client it fails / ORA-12154

I am a bit confused as I can use the listener to connect to 9i
oracle / but obviously not to the sqlserver database via the link .. I
am thinking it is related to tnsnames files being used but I would
have thought that I would be just using config on the server once I'd
connected to the 9i database.

From the documentation I've put what I thought were the correct
entries in tnsnames.ora/listener.ora
and in \hs\admin\initfile on the server

Any suggestions on methods of diagnozing\tracing where I am failing
would be appreciated

cheers
Chris B
What are the details for the database link: public vs private, current
user or explicit user?

Only the tnsnames.ora file on the database server needs to have an
entry for the remote database. The listener.ora and hs_init.ora would
also only need to exist on the database server.

The question Shakespeare asked about the username in use and the
request for information on the contents of the tnsnames.ora,
listener.ora is also important.

HTH -- Mark D Powell --

================================================
You're right, only server settings should matter. I just asked for both
files to be sure to get the right one, and to check for typo's.
Doesn't the default domain setting on the client have any influence? I
thought that when you use a non-fully qualified link name, the domain was
resolved on the client by the names.default_domain = setting in SQLNET.ORA.
But I'm not too sure about that in cobination with db-links, because in that
case the server is the client.

Shakespeare




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.