Home > ora 12154 > error ora 12154 in

Error Ora 12154 In

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 to Oracle database. Today I ora 12154 tns could not resolve the connect identifier specified will discuss the reason for this error and possible resolutions.

Full error

Sqlnet Ora

message:

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

Msg 7303, Level 16, State 1, Line 1

Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "LINKED_ORA".

First of all make sure

Ora 12154 Error Toad

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 the SQL server. If the SQL server is 64 bit then we need to install ora 12154 tns could not resolve service name 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 a connect descriptor

Below is a list of things that you can try to resolve this issue.

1. Verify that the tnsnames.ora file has the alias and the ser

resolve the connect identifier specified"? Article: 00951 Last Reviewed: 7th September 2006 Revision: 1 This error indicates that Oracle is unable to

Error While Trying To Retrieve Text For Error Ora 12154

locate the service name specified in your Easysoft ODBC-Oracle Driver ODBC

Ora 12154 Error In Oracle

data source. You need to check the Database attribute value in the data source.If you are using error ora 12560 the standard Oracle client, the Database attribute value must specify a valid service name defined in tnsnames.ora. For example, for the following tnsnames.ora entry, the Database attribute value needs 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/ to be my_database: my_database = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = my_host)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = my_database) ) ) If you are using the Instant Client without a tnsnames.ora file, the Database attribute value needs to be a SQL connect URL rather than a service name: //host:port/service_name where host is the http://www.easysoft.com/support/kb/kb00951.html host name or IP address of the Oracle database server, port is the Oracle listener port and service_name is the service name. For example: //my_host:1521/my_database If you want to use the Instant Client with a tnsnames.ora file, the Database attribute value must specify a tnsnames.ora service name and you need to set and export the TNS_ADMIN environment variable. Set TNS_ADMIN to specify the location of the tnsnames.ora file. For example: TNS_ADMIN = /home/oracle/network/admin export TNS_ADMIN Applies To Products Easysoft ODBC-Oracle Driver Knowledge Base Feedback * Did this content help you? Yes No Maybe * Please select one option based on your first choice: I'm very satisfied I think it will help, but I haven't tried it yet It is helpful, but I need more information It is helpful, but hard to understand Seemed relevant in search results, but didn't help me The information is incorrect The page contains one or more broken links Suggest new content or let us know how we can improve this content: (* Required Fields) About E

Выбрать другой язык можно в списке ниже. Learn more You're viewing YouTube in https://www.youtube.com/watch?v=QVJ1xO2V7Dc Russian. You can change this http://stackoverflow.com/questions/206055/oracle-ora-12154-tns-could-not-resolve-service-name-error preference below. Закрыть Да, сохранить Отменить Закрыть Это видео недоступно. Очередь просмотраОчередьОчередь просмотраОчередь Удалить всеОтключить Загрузка... Очередь просмотра Очередь __count__/__total__ How to resolve the ora 12154 ora 12154 error DBA Pro ПодписатьсяПодписка оформленаОтменить подписку1 9631 тыс. Загрузка... Загрузка... Обработка... Добавить в Хотите сохраните это видео? Войдите в аккаунт и добавьте его в плейлист. Войти Поделиться Ещё Пожаловаться Пожаловаться на error ora 12154 видео? Выполните вход, чтобы сообщить о неприемлемом контенте. Войти Статистика 49 739 просмотров 42 Понравилось? Войдите в аккаунт, чтобы поставить отметку. Войти 43 17 Не понравилось? Войдите в аккаунт, чтобы поставить отметку. Войти 18 Загрузка... Загрузка... Загрузка... Оценка становится доступна после аренды видео- В данный момент эта функция недоступна. Повторите попытку позже. Опубликовано: 31 янв. 2014 г.In this tutorial you will learn how to resolve the ora 12145 error. Категория Люди и блоги Лицензия Стандартная лицензия YouTube Ещё Свернуть Загрузка... Автовоспроизведение Если функция включена, то следующий ролик

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies 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: 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 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;" set oconn = CreateObject("ADODB.Connection") oracle odbc tns share|improve this question edited Oct 15 '08 at 19:26 David Basarab 35.3k38105144 asked Oct 15 '08 at 19:23 Joe 4164811 add a comment| 19 Answers 19 active oldest votes up vote 8 down vote from http://ora-12154.ora-code.com ORA-12154: TNS:could not resolve the connect identifier specified 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 reposit

 

Related content

12154 error in toad

Error In Toad table id toc tbody tr td div id toctitle Contents div ul li a href Error Received Logging On To The Standby g a li li a href Error Connecting To a li ul td tr tbody table p Oracle SQL Server PRODUCTSDiscussion Resources Backup Reporter Benchmark Factory Code Tester for Oracle SQL relatedl Navigator SQL Optimizer for IBM DB SQL Optimizer ora toad for Oracle SQL Optimizer for SQL Server SQL Optimizer for SAP toad oracle ora ASE Spotlight on DB LUW Spotlight on Oracle Spotlight on SQL Server Spotlight on SAP ASE ora toad windows

asp net ora 12154 error

Asp Net Ora Error table id toc tbody tr td div id toctitle Contents div ul li a href Ora Error Solution a li li a href Ora Error Informatica a li li a href Ora Error a li li a href Ora Error a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the relatedl workings and policies of this site About Us Learn more ora error in oracle g about Stack Overflow the company Business Learn more about hiring developers

business objects error ora-12154

Business Objects Error Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Error While Trying To Retrieve Text For Error Ora- a li li a href Ora Error Solution a li li a href Ora Tns Could Not Resolve Service Name a li li a href Ora Tns Could Not Resolve Service Name Oracle i a li ul td tr tbody table p SAP BusinessObjects Web IntelligenceWhere is this place located All Places SAP BusinessObjects Web Intelligence Replies Latest reply Jun relatedl AM by Mark Prosser p h id Error While Trying To

crystal reports error ora-12154

Crystal Reports Error Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Error a li li a href Ora Tns Could Not Resolve Service Name a li ul td tr tbody table p SAP Crystal Reports version for Visual StudioWhere is this place located All Places SAP Crystal Reports version for Visual Studio Replies Latest relatedl reply Jan PM by Andrew error while trying to retrieve text for error ora- Paes Tweet Crystal Reports Windows Server ORA- TNS could not resolve the ora error in oracle g connect identifier specified Andrew

database server error ora-12154

Database Server Error Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Error While Trying To Retrieve Text For Error Ora- a li li a href Ora Tns Could Not Resolve Service Name a li li a href Ora Tns No Listener 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 break message

database error code 12154 ora 12154

Database Error Code Ora table id toc tbody tr td div id toctitle Contents div ul li a href Ora Error In Oracle g a li li a href Ora Tns Could Not Resolve Service Name a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified Xe 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 relatedl further details turn on tracing and reexecute the operation database link ora If error persists contact Worldwide Customer Support ORA- TNS

dblink error ora-12154

Dblink Error Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Ora- Connection Description For Remote Database Not Found a li li a href Create Database Link Oracle a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site relatedl About Us Learn more about Stack Overflow the company Business Learn ora error in oracle g more about hiring developers or posting ads with us Stack Overflow Questions Jobs

error 12154 ora-12154

Error Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Ora Error a li li a href Ora Tns Could Not Resolve Service Name a li li a href Ora Error In Oracle a li li a href Error Ora 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 Oracle PostersOracle Books Oracle Scripts Ion Excel-DB relatedl Don Burleson Blog P TD TR ora tns could not resolve the connect identifier

error attach server ora-12154

Error Attach Server Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Error While Trying To Retrieve Text For Error Ora- a li li a href Ora Error In Toad a li li a href Ora Tns Error a li li a href Ora Tns No Listener 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 relatedl of the most common errors while creating linked p h id

error code ora 12154

Error Code Ora table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Could Not Resolve Service Name Oracle i a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified Xe 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 relatedl the operation If error persists contact Worldwide Customer Support ora error in oracle g ORA- TNS unable to send break message Cause Unable

error from recovery catalog database ora-12154

Error From Recovery Catalog Database Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Ora Error In Oracle g a li li a href Rman Ora a li li a href Rman- Error From Recovery Catalog Database a li ul td tr tbody table p ORA- database link ora TNS could not resolve service name message p h id Ora Error In Oracle g p Tue August in lukfai Messages Registered July p h id Rman Ora p Location India Junior Member C set oracle sid katie C net start oracleServiceKatie The OracleServicekatie

error from auxiliary database ora-12154

Error From Auxiliary Database Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Database Link Ora a li li a href Ora Error Solution a li li a href Ora Error a li li a href Ora Error a li ul td tr tbody table p NEWNAME FOR DATAFILE and SET NEWNAME FOR TEMPFILE SET NEWNAME FOR TABLESPACE relatedl SET NEWNAME FOR DATABASE The following variables are p h id Database Link Ora p introduced for SET NEWNAME from gR - b The file name remains ora error in oracle g same as

error ora 12154 could not resolve service name

Error Ora Could Not Resolve Service Name table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Could Not Resolve Service Name Oracle i a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified Xe a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified At Oci Call Ociserverattach a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About

error ora 12154 tns could not resolve the service name

Error Ora Tns Could Not Resolve The Service Name table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Could Not Resolve Service Name Oracle i a li li a href Ora Tns Could Not Resolve Connect Identifier Specified g a li li a href System Data Oracleclient Oracleexception Ora Tns Could Not Resolve The Connect Identifier Specified a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified N a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers

error ora-12154 toad

Error Ora- Toad table id toc tbody tr td div id toctitle Contents div ul li a href Ora Toad Windows a li li a href Ora Tns Error a li li a href Ora Toad a li ul td tr tbody table p NoSQL Oracle SQL Server PRODUCTSDiscussion Resources Benchmark Factory Code Tester for Oracle SharePlex SQL Navigator SQL Optimizer relatedl Spotlight Stat Toad Intelligence Central Toad Data Modeler toad oracle ora Toad Data Point Toad Extension for Eclipse Toad for Hadoop Toad for p h id Ora Toad Windows p IBM DB Toad for Oracle Toad for MySQL

error ora 12154 tns could not resolve service name

Error Ora Tns Could Not Resolve Service Name table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Could Not Resolve Service Name Oracle i a li li a href Ora Tns Could Not Resolve Service Name Windows a li li a href Ora Tns Could Not Resolve Connect Identifier Specified 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 relatedl tracing and reexecute the operation If error persists contact

error ora-12154 oracle

Error Ora- Oracle table id toc tbody tr td div id toctitle Contents div ul li a href Ora Oracle i a li li a href Oracle Ora Database Link a li li a href Ora Oracle a li li a href Ora Oracle a li ul td tr tbody table p server but either failed to contact the server or did not find a relatedl matching service name on that server TNS or oracle error ora 'Transparent Network Substrate' is a transport protocol that allows Oracle sessions to p h id Ora Oracle i p communicate across a network

error ora 12154 tns could

Error Ora Tns Could table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Could Not Resolve Service Name Oracle i a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified Xe a li li a href Ora Tns Could Not Resolve Service Name Windows a li li a href Ora Tns Could Not Resolve The Connect Identifier Specified N 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

error oracle connection error ora-12154

Error Oracle Connection Error Ora- table id toc tbody tr td div id toctitle Contents div ul li a href Oracle Ora Database Link a li li a href Oracle Odbc Ora a li li a href Oracle Ora 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 relatedl reexecute the operation If error persists contact Worldwide Customer ora error in oracle g Support ORA- TNS unable to send break message Cause Unable to send break

ora 12154 database driver error

Ora Database Driver Error table id toc tbody tr td div id toctitle Contents div ul li a href Sqlnet ora Location a li li a href Informatica Oracle Connection String a li ul td tr tbody table p WizardInformatica Cloud for Amazon AWSComplex Event ProcessingProactive Healthcare Decision ManagementProactive MonitoringReal-Time Alert ManagerRule PointData IntegrationB B Data ExchangeB B Data TransformationData Integration HubData relatedl ReplicationData ServicesData Validation OptionFast CloneInformatica PlatformMetadata ManagerPowerCenterPowerCenter ora- tns could not resolve the connect identifier specified in informatica ExpressPowerExchangePowerExchange AdaptersData QualityAddress DoctorAddress Doctor CloudData as a ServiceData informatica repository service ora- ExplorerData QualityData Quality Services Strike Iron

ora 12154 dblink error

Ora Dblink Error table id toc tbody tr td div id toctitle Contents div ul li a href Ora- a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more relatedl about Stack Overflow the company Business Learn more about hiring developers ora tns could not resolve the connect identifier specified g or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x p h id Ora-

ora 12154 tns error in toad

Ora Tns Error In Toad table id toc tbody tr td div id toctitle Contents div ul li a href Ora Toad a li li a href Ora Tns Could Not Resolve Service Name a li ul td tr tbody table p NoSQL Oracle SQL Server PRODUCTSDiscussion Resources Benchmark Factory Code Tester for Oracle SharePlex SQL Navigator SQL Optimizer Spotlight Stat Toad Intelligence Central relatedl Toad Data Modeler Toad Data Point Toad Extension for p h id Ora Toad p Eclipse Toad for Hadoop Toad for IBM DB Toad for Oracle Toad for toad tns admin environment variable is not

ora 12154 error in oracle 11g

Ora Error In Oracle g table id toc tbody tr td div id toctitle Contents div ul li a href Ora- Tns Listener Does Not Currently a li li a href Ora- Oracle c a li li a href Error While Trying To Retrieve Text For Error Ora- a li ul td tr tbody table p to send data Connection probably disconnected Action Reestablish connection If the error is persistent turn relatedl on tracing and reexecute the operation ORA- TNS received ora error in oracle c bad packet type from network layer Cause Internal error Action Not normally ora error

ora 12154 error in oracle forms

Ora Error In Oracle Forms 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 it enabled Please turn JavaScript back on and relatedl reload this page Please enter a title You can not ora oracle g post a blank message Please type your message and try again More discussions ora tns could not resolve service name in General Database Discussions All PlacesDatabaseGeneral Database Discussions This discussion is archived Previous Next Replies Latest reply on Aug PM by rajeysh Go to original post

ora 12154 error toad

Ora Error Toad table id toc tbody tr td div id toctitle Contents div ul li a href Ora Tns Could Not Resolve Service Name a li li a href Tns admin Environment Variable Is Not Defined a li li a href Tnsnames ora Location a li ul td tr tbody table p NoSQL Oracle SQL Server PRODUCTSDiscussion Resources Benchmark Factory Code Tester for Oracle SharePlex SQL Navigator SQL Optimizer Spotlight Stat Toad Intelligence Central Toad Data Modeler Toad Data Point Toad relatedl Extension for Eclipse Toad for Hadoop Toad for IBM DB Toad ora toad for Oracle Toad for

ora 12154 toad error

Ora Toad Error table id toc tbody tr td div id toctitle Contents div ul li a href Ora Toad a li li a href Tns admin Environment Variable Is Not Defined a li ul td tr tbody table p NoSQL Oracle SQL Server PRODUCTSDiscussion Resources Benchmark Factory Code Tester for Oracle SharePlex SQL Navigator SQL relatedl Optimizer Spotlight Stat Toad Intelligence Central Toad Data p h id Ora Toad p Modeler Toad Data Point Toad Extension for Eclipse Toad for Hadoop ora tns could not resolve service name Toad for IBM DB Toad for Oracle Toad for MySQL Toad