Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Formatting TNSNAMES file

Farah AJun 2 2014 — edited Jun 5 2014

This post is not a question.  I wanted to share that I was having trouble connecting with TNS alias and kept getting ORA-12504.  One of the posts was very helpful in identifying the difference between SERVICE_NAME and SID.  How are these different and how to configure them in TNSNAMES.ora and LISTENER.ora files.  I fixed all that and still kept getting the same error.

A simple post on dba-oracle.com solved the problem.  It was making sure to align the close parenthesis for the ADDRESS tag.

ORA-12504 TNS Listener Not Given SID

That fixed it!  Hope it is useful to you too!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2014
Added on Jun 2 2014
6 comments
4,788 views