Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET Oracle
      (ADDRESS = (PROTOCOL = TCP)(HOST = = 1521))
    (SERVICE_NAME = dps)
I have used above in tnsnames but still gives me the above error.
How to resolve this error?
IS SERVICE_NAME & SID Similar in tnsnames?
Posted 11-Nov-13 0:36am
Edited 11-Nov-13 0:37am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hello Member,
The error ORA-12514 means that a listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
The possible resolutions for this error are
  • Check which services are currently known by the listener by executing:
    lsnrctl services <listener name>
  • Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
  • If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener
  • Check for an event in the listener.log file
This answer[^] on oracle forums should help you understand the difference between the SID and the SERVICE_NAME.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I think the solution from burleson was much enough than oracle forum. Hope this below link will help you a lot,[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 424
1 Nirav Prabtani 298
2 OriginalGriff 199
3 _Amy 165
4 Maciej Los 145
0 OriginalGriff 7,755
1 Sergey Alexandrovich Kryukov 6,951
2 Maciej Los 3,994
3 Peter Leow 3,698
4 CHill60 2,742

Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 11 Nov 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100