ORA-12514: TNS: The Listener currently cannot identify the service solution requested in the connection Descriptor

Source: Internet
Author: User
Environment: Oracle11gR2 + PLSQLDeveloper + SQLPlus problem: Oracle master service and listener service has been started, use SQLPlus can be connected normally, use PLSQLDeveloper connection reported error: ORA-12514: TNS: the listener cannot identify the Service requested in the connection descriptor. Solution: open H: Oraclepr

Environment: Oracle11g R2 + pl SQL Developer + SQL Plus problem: Oracle master service and listener service has been started, use SQL Plus to connect properly, use pl SQL Developer Connection reported error: ORA-12514: TNS: The Listener cannot identify the Service requested in the connection descriptor. Solution: open H: \ Oracle \ pr

Environment: Oracle 11g R2 + pl SQL Developer + SQL Plus

Problem: Oracle master service and listener service has been started, use SQL Plus can be connected normally, use pl SQL Developer Connection reported error: ORA-12514: TNS: the listener cannot identify the Service requested in the connection descriptor.

Solution:

Open the listener. ora file under the directory H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ NETWORK \ ADMIN (different machine directories may be different). The file content is as follows:

  1. # Listener. ora Network Configuration File:
  2. H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ network \ admin \ listener. ora
  3. # Generated by Oracle configuration tools.
  4. SID_LIST_LISTENER =
  5. (SID_LIST =
  6. (SID_DESC =
  7. (SID_NAME = CLRExtProc)
  8. (Oracle_HOME = H: \ Oracle \ product \ 11.2.0 \ dbhome_1)
  9. (PROGRAM = extproc)
  10. (ENVS = "EXTPROC_DLLS = ONLY: H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ bin \ oraclr11.dll ")
  11. )
  12. )
  13. LISTENER =
  14. (DESCRIPTION_LIST =
  15. (DESCRIPTION =
  16. (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521 ))
  17. (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521 ))
  18. )
  19. )
  20. ADR_BASE_LISTENER = H: \ Oracle

Change to the following content (note the content in red ):

# Listener. ora Network Configuration File:

H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ network \ admin \ listener. ora

# Generated by Oracle configuration tools.

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(GLOBAL_DBNAME = ORCL)

(Oracle_HOME = H: \ Oracle \ product \ 11.2.0 \ dbhome_1)

(SID_NAME = ORCL)

)

(SID_DESC =

(SID_NAME = CLRExtProc)

(Oracle_HOME = H: \ Oracle \ product \ 11.2.0 \ dbhome_1)

(PROGRAM = extproc)

(ENVS = "EXTPROC_DLLS = ONLY: H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ bin \ oraclr11.dll ")

)

)

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521 ))

(ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521 ))

)

)

ADR_BASE_LISTENER = H: \ Oracle

Note: The Oracle installation directory and Instance name of each computer are different. Modify the ORACLE_HOME (local Oracle Installation Directory) and SID_NAME of this file according to your own settings.

For details about SID, refer to the figure below:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.