Error Ora 12154 Could Not Resolve Service Name
Contents |
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 ora 12154 tns could not resolve service name developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Ora 12154 Tns Could Not Resolve Service Name Oracle 9i
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join ora 12154 tns could not resolve service name windows 7 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 ora 12154 tns could not resolve connect identifier specified 11g (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
Ora 12154 Tns Could Not Resolve The Connect Identifier Specified Xe
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
Digital Records Management Enterprise Content Management Strategy Digital Asset Management Oracle Imaging & Process Management Web Content Management Oracle WebCenter Portal Enterprise Portal Support Enterprise Portal Strategy Enterprise Portal Upgrade Oracle WebCenter Sites Sourcing Staffing & Recruiting Recruiting Managed ora 12154 tns could not resolve the connect identifier specified 10g Services Candidate Registration Technical Focus Client Opportunities Support Solutions Training Legacy to Oracle system data oracleclient oracleexception ora 12154 tns could not resolve the connect identifier specified WebCenter Oracle Documents Cloud Service Next Generation AP Automation & Dynamic Discounting Oracle WebCenter Contract Lifecycle Management (CLM) Search
Ora 12154 Tns Could Not Resolve The Connect Identifier Specified At Oci Call Ociserverattach
ORA-12154: TNS could not resolve service nameYou are here: Home / Resources / ORA-12154: TNS could not resolve service name The Oracle message known as “ora-12154” may be the most common error experienced http://stackoverflow.com/questions/206055/oracle-ora-12154-tns-could-not-resolve-service-name-error by Oracle users. Luckily, the frustration of so many previous users has prompted some fairly straightforward solutions to the issue. The Problem When you receive this error, it means that the Oracle client has failed to connect with the listener on the desired server. In Oracle’s own words: “A connection to a database or other service was requested using a connect identifier, and the connect identifier specified https://www.tekstream.com/resources/ora-12154-tns-could-not-resolve-service-name/ 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.” There can be many possible causes for this problem, which is why it can be tricky to solve. Users may have to test more than one method before identifying the source of the ORA-12154. The target server could have temporarily gone down, which is likely if the issue is occurring across multiple PCs after attempting to access the network. Connection issues could also be the culprit, or the destination name may not match the input address. It should be noted that if the ORA-12154 error is identifying in a set along with an additional error titled “TNS-03505: failed to resolve name,” the problem should have occurred before the server was located. The Solution For those using local naming (TNSNAMES.ORA file), Oracle recommends the following actions: Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net prof
resolve the connect identifier specified"? Article: 00951 Last Reviewed: 7th September 2006 Revision: 1 This error indicates that Oracle is unable to locate the service name http://www.easysoft.com/support/kb/kb00951.html specified in your Easysoft ODBC-Oracle Driver ODBC data source. You need to check the Database attribute value in the data source.If you are using the standard Oracle client, the Database https://www.youtube.com/watch?v=QVJ1xO2V7Dc 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 to be my_database: my_database = (DESCRIPTION = (ADDRESS ora 12154 = (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 host name or IP address of the Oracle database server, port is could not resolve 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 Easysoft Contact Us About Us Clients Upgrade Offer Blog Careers Products ODBC Drivers JDBC Drivers Bridges and Gateways In Development Services Consultancy Training Custom Development
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 Wird geladen... Wiedergabeliste Warteschlange __count__/__total__ How to resolve the ora 12154 error DBA Pro AbonnierenAbonniertAbo beenden1.9631 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.739 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 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 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 Performance Tuning with ASH and AWR Data - Dauer: 1:03:05 Redgate Videos 82.714 Aufrufe 1:03:05 Oracle listener configuration | listener.ora | listener configuration in oracle 11g - Dauer: 5:29 Wysheid Wysheid 10.553 Aufrufe 5:29 Oracle - Understanding the tnsnames.ora and listener.ora files - Dauer: 12:46 Chris Ostrowski 88.976 Aufrufe 12:46 Complete General Ledger,Purchase Order, Inventory Management Mandatory Setups - Dauer: 1:50:19 Rakesh Kundarapu 363.133 Aufrufe 1:50:19 解决 Oracle ora-12514错误 - Dauer: 33:45 Maclean Liu 1.025 Aufrufe 33:45 Best way to connect Oracle with Visual Studio .NET (no BadImageFormatException or mismatch error) - Dauer: 9:45 Samiul Al Hossaini 12.069 Aufrufe 9:45 ORACLE EXPLAIN PLAN FUNDAMENTALS - Dauer: 36:14 Anindya Das 111.640 Aufrufe 36:14 Oracle 11g Database Cloning using RMAN Pt 2 of 3 - Dauer: 11:57 DBA Pro 575 Aufrufe 11:57 Oracle 10g Liste