Home > error 12154 > database error code 12154

Database Error Code 12154

Contents

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

Full error message:

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

Msg 7303, Level 16, State 1, Line 1

Cannot initialize the data source

Database Vendor Code 12154

object of OLE DB provider "MSDAORA" 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 database vendor code 12154 failed to open the connection make sure you have installed Oracle Client on 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

SQL TuningSecurityOracle UNIXOracle LinuxMonitoringRemote supportRemote plansRemote servicesApplication Server ApplicationsOracle FormsOracle PortalApp UpgradesSQL ServerOracle ConceptsSoftware SupportRemote Support Development Implementation Consulting StaffConsulting PricesHelp Wanted! Oracle PostersOracle Books Oracle Scripts Ion Excel-DB Don Burleson Blog

error 12154 received logging on to the standby 11g ORA-12154: TNS could not resolve service

Error 12154 Received Logging On To The Standby Rac

name tips Question: I need help with this error: ORA-12154: TNS: could not resolve service name.Answer: The ORA-12154 is a

Error 12154 Connecting To Standby Host

very common error, always related to your local copy of the tnsnames.ora file, your listener configuration and your database name aliases. Make sure that your listener is listening for the same service name 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/ you are using. Your service name might have an alias, so check for global (world) entries and local entries. Check: $ORACLE_HOME/network/admin/tnsnames.ora Check your global_name setting with this SQL: select * from global_name; The query value should match your init.ora parms for db_name and db_domain, You can change the global_name with an ALTER DATABASE command, as follows: alter database rename global_name to xxx; Also see these notes on configuring http://www.dba-oracle.com/t_ora_12154_tns_resolve_service_name.htm your tnsnames.ora file and troubleshooting network errors. Rampant author Steve Callan notes this on the ORA-12154 error: "One of the most common errors related to improper configuration is the "ORA-12154: TNS: could not resolve service name" error. It is not uncommon for new users of Oracle to spend hours upon hours trying to figure out what their mistake is when ORA-12154 appears." The oerr utility notes this on the ORA-12154 error:: $oerr ora 12154 ORA-12154: TNS:could not resolve the connect identifier specifiedCause: 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: The following actions may be appropriate: If you are using local naming (tnsnames.ora file): Make sure that TNSNAMES is listed as one of the values of the names.directory_path parameter in the sqlnet.ora Oracle Net profile. Verify that a tnsnames.ora file exists and is in the proper directory and

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies http://stackoverflow.com/questions/206055/oracle-ora-12154-tns-could-not-resolve-service-name-error of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: error 12154 Sign up Oracle ORA-12154: TNS: Could not resolve service name Error? up vote 11 down vote favorite 5 I am a SQL Server user . I am on a project that is using oracle (which I rarely use) I need to create an ODBC connection so I can access the some data via MS Access I have a application on my machine called oracle database error oraHome90. It seems to allow a configuration of something called a listener in a “net configuration utility”, I think that a “Local Net Service Name Configuration” needs to also be done. The IT support gave me this information to set up the ODBC connection . I have tried every combination that I can think of. I can get past a test that successfully passes a test to “login“ to the oracle server database. When I try to create the ODBC connection I get the following error: ORA-12154: TNS: Could not resolve service name. Assuming that I want to start from scratch and the following information is supposed to allow for me to connect to the database….. Any suggestions or comment ? Note: ultimately the project will have a website .ASP page query the data, but I have to first prove that I can see the data using the ODBC connection via MS Access Service name: SERVICENAME HOST = HOST.XYZi.com User Id: MYUSERID Password: MYPASSWORD ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'Oracle Connection Dim ocst Dim oconn ocst = "Provider=OraOLEDB.Oracle;" & _ "Data Source=DATASOURCE;" & _ "User ID=CHIJXL;" & _ "Password=password;"

 

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

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

error code 12154 oracle

Error Code Oracle table id toc tbody tr td div id toctitle Contents div ul li a href Oracle Database Error a li li a href Tns Could Not Resolve The Connect Identifier Specified Oracle g a li li a href Ora- Sqlplus 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 is one of relatedl the most common errors while creating linked server oracle error received logging on to the standby to Oracle database Today I

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