Home > error 12154 > error code 12154 oracle

Error Code 12154 Oracle

Contents

while creating a linked server to Oracle ★★★★★★★★★★★★★★★ SnehadeepJune 30, 201028 0 0 0 This is one of the most common errors while creating linked server oracle error 12154 received logging on to the standby to Oracle database. Today I will discuss the reason for this error oracle error 12154 encountered and possible resolutions.

Full error message:

OLE DB provider "MSDAORA" for linked server "LINKED_ORA" returned message ora 12154 error in oracle "ORA-12154: TNS:could not resolve the connect identifier specified".

Msg 7303, Level 16, State 1, Line 1

Cannot initialize the data source object of OLE DB provider "MSDAORA"

Oracle Database Error 12154

for linked server "LINKED_ORA".

First of all make sure you have reviewed the following Microsoft KB article that has a lot of good information on troubleshooting Oracle linked server issues.

How to set up and troubleshoot a linked server to an Oracle database in SQL Server

http://support.microsoft.com/kb/280106 Also make sure you have installed Oracle Client on ora 12154 could not resolve the connect identifier specified the SQL server. If the SQL server is 64 bit then we need to install 64 bit Oracle provider. You can also create linked server using Oracle ODBC driver together with Microsoft OLE DB provider for ODBC. Once again on a 64 bit SQL server you need to install the 64-Bit OLEDB Provider for ODBC (MSDASQL) and 64 bit Oracle ODBC drivers. However 64-Bit OLEDB Provider for ODBC (MSDASQL) is already there in Windows Vista/Windows Server 2008 and later OS.

This particular error message is a very general error message and can happen for quite a number of reasons. For general understanding of the error, you can review oracle documentation like this http://ora-12154.ora-code.com/

In SQL Server Linked Server, it could indicate a few things (not limited to)–

1. SQL Server (and oracle net libraries) is not able to get the TNS alias from tnsnames.ora file.

2. Something is wrong with the way the alias is created in the tnsnames.ora file (incorrect syntax)

3. TNS alias could not be resolved into

server but either failed to contact the server or did not find a matching service name on that server. TNS or 'Transparent Network Substrate' is a transport protocol that allows Oracle ora-12154 tns could not resolve the connect identifier specified windows 7 sessions to communicate across a network. DB Server <=> Listener <=> Network connection <=>

Tns Could Not Resolve The Connect Identifier Specified Oracle 10g

Client (SQL*Net) <=> Application. In the path above, tnsping can be used to test the parts in bold and should

Ora-12154 Sqlplus

be the first troubleshooting step. If tnsping fails, that generally indicates a problem finding the server connection - if TNSNAMES specifies an IP address, is it correct?, if it's a DNS name, is that https://blogs.msdn.microsoft.com/dataaccesstechnologies/2010/06/30/ora-12154-tns-could-not-resolve-the-connect-identifier-specified-error-while-creating-a-linked-server-to-oracle/ resolving correctly? (try switching for an IP address to find out.) If tnsping succeeds, that can indicate a problem with the client configuration but could equally be that the connection is working as far as the listener but the database is down. Try comparing with another PC - if multiple machines are failing that usually points towards a server issue. Ora-12154 can be a tricky problem to nail http://ss64.com/ora/syntax-ora-12154.html down because there are many possible causes, try making a connection directly on the server or completely regenerate the TNSNAMES.ORA file on the client. ORA-12154 description: Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached. Action: Local naming (TNSNAMES.ORA file): - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA) - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible. - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file. - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file can make it unusable. Directory Naming: - Verify that "LDAP" is listed as one of the values of the NAM

Du siehst YouTube auf Deutsch. Du kannst diese Einstellung unten ändern. Learn more You're viewing YouTube in German. You can change this preference below. Schließen Ja, ich möchte sie behalten Rückgängig machen Schließen Dieses Video ist nicht verfügbar. WiedergabelisteWarteschlangeWiedergabelisteWarteschlange Alle entfernenBeenden https://www.youtube.com/watch?v=QVJ1xO2V7Dc Wird geladen... Wiedergabeliste Warteschlange __count__/__total__ How to resolve the ora 12154 error DBA http://www.bluegecko.com/ora-12154-tnscould-not-resolve-the-connect-identifier-specified/ Pro AbonnierenAbonniertAbo beenden1.9571 Tsd. Wird geladen... Wird geladen... Wird verarbeitet... Hinzufügen Möchtest du dieses Video später noch einmal ansehen? Wenn du bei YouTube angemeldet bist, kannst du dieses Video zu einer Playlist hinzufügen. Anmelden Teilen Mehr Melden Möchtest du dieses Video melden? Melde dich an, um unangemessene Inhalte zu melden. Anmelden Statistik 49.361 error 12154 Aufrufe 42 Dieses Video gefällt dir? Melde dich bei YouTube an, damit dein Feedback gezählt wird. Anmelden 43 17 Dieses Video gefällt dir nicht? Melde dich bei YouTube an, damit dein Feedback gezählt wird. Anmelden 18 Wird geladen... Wird geladen... Wird geladen... Die Bewertungsfunktion ist nach Ausleihen des Videos verfügbar. Diese Funktion ist zurzeit nicht verfügbar. Bitte versuche es später erneut. Veröffentlicht am 31.01.2014In this tutorial could not resolve you will learn how to resolve the ora 12145 error. Kategorie Menschen & Blogs Lizenz Standard-YouTube-Lizenz Mehr anzeigen Weniger anzeigen Wird geladen... Autoplay Wenn Autoplay aktiviert ist, wird die Wiedergabe automatisch mit einem der aktuellen Videovorschläge fortgesetzt. Nächstes Video Oracle - Understanding the tnsnames.ora and listener.ora files - Dauer: 12:46 Chris Ostrowski 88.976 Aufrufe 12:46 How to Fix ORACLE 6i Error "ORA-12154: TNS:could not resolve the connect identifier specified". - Dauer: 4:02 SYED AIZAD RAZA KAZMI 3.087 Aufrufe 4:02 ora - 12514 and ora - 12505 tns listener error fixed in 90 seconds - Dauer: 1:30 CBOT 1.346 Aufrufe 1:30 解决 Oracle ora-12514错误 - Dauer: 33:45 Maclean Liu 1.025 Aufrufe 33:45 Listener Basics For DBA - Dauer: 45:23 Satish Lodam 13.746 Aufrufe 45:23 Oracle Forms 10g TNS Configuration - Dauer: 3:39 Ravi shankar kumar 4.903 Aufrufe 3:39 Oracle listener configuration | listener.ora | listener configuration in oracle 11g - Dauer: 5:29 Wysheid Wysheid 10.553 Aufrufe 5:29 Oracle 10g Listener and Database Creation - Dauer: 6:05 Recouner 7.643 Aufrufe 6:05 Oracle - TNS : Protocol Adapter Error Working Solution - Dauer: 0:57 Srijit Banerjee 49.056 Aufrufe 0:57 How to install Oracle 10g on Windows 7 32bit 64

Blog Oracle MySQL News & Events Oracle Applications Amazon Web Services Jeremiah Wilton's Oradeblog OurSQL Community Podcast Remote DBA Team viewer Whitepapers About Us Philosophy The Blue Gecko Teams Employment Opportunities Partners News Press Contact Us March 4, 2009 by jwilton ORA-12154: TNS:could not resolve the connect identifier specified The error also appears in some versions as: "ORA-12154: TNS:could not resolve service name." When a program needs to connect to an Oracle service via Oracle Networking (SQL*Net), it must look up the connect data for that service somewhere. When the lookup fails, the Oracle client code raises ORA-12154. Most people will encounter this error when their application tries to connect to an Oracle database service, but it can also be raised by one database instance trying to connect to another database service via a database link. Note that this error is generated by the Oracle client code on the local host where the program is running, not by the remote Oracle service to which you are attempting to connect. There are a few ways that the Oracle client code can look up connect data: A flat file named tnsnames.ora Oracle Names service LDAP If you see the whole ORA-12154 error with the text, then your program is finding a working Oracle client install, but that the Oracle service as specified is not listed in tnsnames.ora, Oracle Names or LDAP. The most common causes of ORA-12154 are: The entry is missing from tnsnames.ora The entry in tnsnames.ora is malformed The program is using tnsnames.ora from the wrong ORACLE_HOME The program is not using a fully-qualified service name, but no default domain is enabled in sqlnet.ora Most sites use tnsnames.ora, but enough use Oracle Names and LDAP that the first step should be to determine which name resolution method is deployed at your site. If you are not the database administrator, you should get in touch with the people who manage your Oracle systems and find out which method you should be using. Often they will be able to provide guidance for resolving your problem in accordance with your site's standards. The client code decides which mechan

 

Related content

12154 error

Error table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Error In Oracle a li li a href Ora Tns Could Not a li li a href Ora Error In Oracle g a li li a href Error Connecting To a li ul td tr tbody table p TNS received bad packet type from network layer Cause Internal error Action Not normally visible to the user For further relatedl details turn on tracing and reexecute the operation If tns error error persists contact Worldwide Customer Support ORA- TNS unable to send break

crystal reports error 12154

Crystal Reports Error table id toc tbody tr td div id toctitle Contents div ul li a href Error Received Logging On To The Standby Rac a li li a href Error Connecting To Standby Host a li li a href Error Creating Remote Archivelog File a li ul td tr tbody table p SAP Crystal ReportsWhere is this place located All Places SAP Crystal Reports Replies Latest reply Apr AM by kavya annavarapu Tweet Crystal report server error while desgin tool works fine relatedl Arnon Ofek May AM Currently Being Moderated error received logging on to the standby g

database error 12154 sap

Database Error Sap table id toc tbody tr td div id toctitle Contents div ul li a href Oracle Database Error Ora- a li li a href Error Connecting To a li li a href Error Creating Remote Archivelog File a li ul td tr tbody table p on OracleWhere is this place located All Places SAP on Oracle Replies Latest reply Aug AM by Marius Burger Tweet RSA Database relatedl error at CON issue Tolulope OKUSAGA Jul oracle database error PM Currently Being Moderated Good day I am trying to extract p h id Oracle Database Error Ora- p

database error code 12154

Database Error Code table id toc tbody tr td div id toctitle Contents div ul li a href Database Vendor Code a li li a href Error Received Logging On To The Standby Rac a li li a href Error Connecting To Standby Host a li ul td tr tbody table p while creating a linked server to Oracle x x x x x x x x x x x x x x x SnehadeepJune This relatedl is one of the most common errors while oracle database error creating linked server to Oracle database Today I will discuss the oracle

error 12154 oracle odbc

Error Oracle Odbc table id toc tbody tr td div id toctitle Contents div ul li a href Oracle Error Encountered a li li a href Oracle Database Error a li li a href Oracle Error Code a li ul td tr tbody table p CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError You don't have JavaScript enabled This tool uses JavaScript and much of it will not work correctly without relatedl it enabled Please turn JavaScript back on and oracle odbc ora reload this page Please enter a title You can not post oracle error received logging on to

error 12154

Error table id toc tbody tr td div id toctitle Contents div ul li a href Error Connecting To a li li a href Error Received Logging On To The Standby Rac a li li a href Error Connecting To Standby Host a li ul td tr tbody table p SQL TuningSecurityOracle UNIXOracle LinuxMonitoringRemote supportRemote plansRemote servicesApplication Server ApplicationsOracle FormsOracle PortalApp UpgradesSQL ServerOracle ConceptsSoftware SupportRemote Support SPAN Development Implementation Consulting StaffConsulting PricesHelp Wanted relatedl Oracle PostersOracle Books Oracle Scripts Ion Excel-DB Don error received logging on to the standby g Burleson Blog P TD TR TBODY FORM td p h

error 12154 connecting to

Error Connecting To table id toc tbody tr td div id toctitle Contents div ul li a href Error Connecting To For Fetching Gap Sequence a li li a href Heartbeat Failed To Connect To Standby Error Is a li li a href Error Received Logging On To The Standby g a li ul td tr tbody table p TNS received bad packet type from network layer Cause Internal error Action Not normally visible to the user For further details turn on tracing and reexecute the operation If error persists relatedl contact Worldwide Customer Support ORA- TNS unable to send

error 12154 received

Error Received table id toc tbody tr td div id toctitle Contents div ul li a href Error Received Logging On To The Standby Rac a li li a href Error Connecting To Standby Host a li li a href Oracle Error Encountered a li ul td tr tbody table p not able to connect to standby message Sat November relatedl ankush chawla Messages Registered November Senior error received logging on to the standby g Member hi we are receving following error in the Alert log p h id Error Received Logging On To The Standby Rac p of the

error 12154 standby

Error Standby table id toc tbody tr td div id toctitle Contents div ul li a href Error Received Logging On To The Standby Rac a li li a href Heartbeat Failed To Connect To Standby Error Is a li li a href Error Connecting To Standby Host a li ul td tr tbody table p not able to connect to standby message Sat November relatedl ankush chawla Messages Registered November Senior Member hi error received logging on to the standby g we are receving following error in the Alert log of the p h id Error Received Logging On

error 12154 encountered

Error Encountered table id toc tbody tr td div id toctitle Contents div ul li a href Error Connecting To Standby Host a li li a href Error In Oracle a li ul td tr tbody table p log in tour help Tour Start here for relatedl a quick overview of the site Help oci error encountered ora Center Detailed answers to any questions you might have Meta error received logging on to the standby g Discuss the workings and policies of this site About Us Learn more about Stack Overflow error connecting to the company Business Learn more about

error 12154 connecting to destination log_archive_dest_2

Error Connecting To Destination Log archive dest table id toc tbody tr td div id toctitle Contents div ul li a href Log Archive Dest Data Guard a li li a href Error Received Logging On To The Standby g a li li a href Heartbeat Failed To Connect To Standby Error Is a li li a href Error Received Logging On To The Standby Rac a li ul td tr tbody table p HelloI am having problems with my standby and its driving me up relatedl the wall I created the standby on Saturday ready to go log archive

error 12154 fetching gap sequence

Error Fetching Gap Sequence table id toc tbody tr td div id toctitle Contents div ul li a href Fal Client Mrp Error Connecting a li li a href Fal client Failed To Request Gap Sequence a li li a href Fal client User Error Connecting To a li li a href Fal client All Defined Fal Servers Have Been Attempted a li ul td tr tbody table p issue-archivelogs not getting applied If this is your first visit be sure to check relatedl out the FAQ by clicking the link above fetching gap sequence in thread You may have

fal client user error 12154

Fal Client User Error table id toc tbody tr td div id toctitle Contents div ul li a href Fal Client User Error Connecting To For Fetching Gap Sequence a li li a href Fal client User Error Connecting To a li li a href Fal client All Defined Fal Servers Have Been Attempted a li li a href Error Received Logging On To The Standby a li ul td tr tbody table p issue-archivelogs not getting applied If this is your first visit be relatedl sure to check out the FAQ by fal client user error connecting to clicking

fal client arc2 error 12154

Fal Client Arc Error table id toc tbody tr td div id toctitle Contents div ul li a href Fal Client User Error Connecting To Primary For Fetching Gap Sequence a li li a href Error Received Logging On To The Standby a li li a href Mrp Wait for gap a li ul td tr tbody table p issue-archivelogs not getting applied If this is your first visit be sure to check out the FAQ by clicking the link relatedl above You may have to register before you can fal client user error post click the register link above

heartbeat failed to connect to standby error is 12514

Heartbeat Failed To Connect To Standby Error Is table id toc tbody tr td div id toctitle Contents div ul li a href Error Received Logging On To The Standby Oracle a li li a href Heartbeat Failed To Connect To Standby Error Is a li li a href Error Received Logging On To The Standby c a li ul td tr tbody table p Member No HiGetting this error relatedl on primaryErrors in file u oracle admin pps bdump pps arc trc ORA- TNS listener does not currently know ping arc heartbeat failed to connect to standby error is

heartbeat failed connect standby error 12518

Heartbeat Failed Connect Standby Error table id toc tbody tr td div id toctitle Contents div ul li a href Error Received Logging On To The Standby g Rac a li li a href Ping arc Heartbeat Failed To Connect To Standby a li li a href Error Received Logging On To The Standby a li li a href Ping arc Heartbeat Failed To Connect To Standby a li ul td tr tbody table p Joined -June Member No My system p h id Error Received Logging On To The Standby g Rac p run on Oracle g R Windows

heartbeat failed connect standby error 12514

Heartbeat Failed Connect Standby Error table id toc tbody tr td div id toctitle Contents div ul li a href Ping Arc Heartbeat Failed To Connect To Standby Error Is a li li a href Error Received Logging On To The Standby Rac a li li a href Error Received Logging On To The Standby g Rac a li li a href Error Received Logging On To The Standby c a li ul td tr tbody table p Member No HiGetting this error on primaryErrors relatedl in file u oracle admin pps bdump pps arc trc ORA- TNS listener does

oracle error 12154 received logging on to the standby

Oracle Error Received Logging On To The Standby table id toc tbody tr td div id toctitle Contents div ul li a href Heartbeat Failed To Connect To Standby Error Is a li li a href Heartbeat Failed To Connect To Standby Error Is a li li a href Error Received Logging On To The Standby a li li a href Error Connecting To Destination Log archive dest Standby Host a li ul td tr tbody table p not able to connect to standby message Sat November ankush chawla Messages Registered November Senior Member hi we are receving relatedl following