Q
Problem solve Get help with specific problems with your technologies, process and projects.

DB link only works in one direction

I have created a database link from one database to another (for example, from A to B and then from B to A). I am able to access data from A to B. But when I try from B to A, I am getting the error "ORA-12505: TNS Could not resolve SID given in connect descriptor."

I have created a database link from one database to another (for example, DB link from A to B and then from B to A). This is in Oracle 8i. I am able to access data from A to B. But when I try from B to A, I am getting the error "ORA-12505: TNS Could not resolve SID given in connect descriptor." I have checked the tnsnames.ora in the system and entries seem to be correct.
The ORA-12505 error simply means that the ORACLE_SID in your TNS alias does not match any ORACLE_SID defined for the database listener. You'll have to make sure your TNS alias SID matches the one defined in the listener's LISTENER.ORA configuration file.
This was last published in February 2006

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close