Click here to Skip to main content
11,644,731 members (66,936 online)
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 3

In order to solve the problem follow the following steps;

>close the sql developer or sql plus window.
>Open Run by pressing (WIndowsButton + R ).
>type in the text field 'services.msc' and run it.
>A new window appears
>In that Services window scroll down and find 'OracleOraDb11g_homeTNSListner',start it if it is not.
>and also start 'OracleServiesORCL',
>Open sql developer and try to establish the connection,If this does not connect Try to create one more connection in sql developer.
>If even this dosent help, try to establish a connection after sometime you will be able to establish a connection.
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 OriginalGriff 680
1 494
2 Sergey Alexandrovich Kryukov 464
3 Afzaal Ahmad Zeeshan 424
4 CPallini 386
0 OriginalGriff 1,020
1 Sergey Alexandrovich Kryukov 673
2 DamithSL 656
3 Afzaal Ahmad Zeeshan 652
4 CPallini 555

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 23 Nov 2014
Copyright © CodeProject, 1999-2015
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