My Oracle Support Banner

Troubleshooting Guide for ORA-12514 TNS:listener could not resolve the service requested in connect descriptor (Doc ID 444705.1)

Last updated on JANUARY 16, 2025

Applies to:

Oracle Net Services - Version 9.2.0.8 and later
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 to 19.3.0.0.0 [Release 19]
Oracle Database - Enterprise Edition - Version 9.2 and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.

Purpose

This is a step-by-step troubleshooting guide for error:
ERROR:
ORA-12514 / TNS-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

This error can occur when connecting directly to the database or when selecting across a database link (dblink).  The troubleshooting steps outlined below are applicable to either situation. 

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Troubleshooting Steps
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.