Resolving service name fails

Hi,
9iR2/AIX
As you can see resolving the service name is an issue:
SQL> conn system/sysadmin;
Connected.
SQL> conn system/sysadmin@uatdb;
ERROR:
ORA-12154: TNS:could not resolve service name
Warning: You are no longer connected to ORACLE.
SQL> conn system/[email protected]
ERROR:
ORA-12154: TNS:could not resolve service name
UATDB.BERKS.COM=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = uatdb)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = uatdb)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /apps/oracle/product/902)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = uatdb.berks.com)
(ORACLE_HOME = /apps/oracle/product/902)
(SID_NAME=uatdb)
Would it be possible to get rid of the connect error?
Where is the config error?
Any ideas are highly appreciated!
Thx,
Dobby

Execute the sqlplus executable with absolute path. Also verify if you have declared the TNS_ADMIN environment variable. It should not be set, it defaults to your ORACLE_HOME/network/admin path. You could also fix it to explicitly point to the path where your tnsnames.ora file resides.
~ Madrid.

Similar Messages

  • CONCSUB failed due to ORA-12154: TNS:could not resolve service name

    Hiall,
    While bringing up concurrent managers getting the below error.
    Cause: CONCSUB failed due to ORA-12154: TNS:could not resolve service name
    I just cloned the instance.
    urgent help is appreciated as I am missing the dead line to complete clone.
    Regards,
    Siva

    Pleas post OS and EBS version
    Please check the listener is up and running on DB tier.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1
    Edited by: 3Amigos on Nov 21, 2010 9:16 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • "Database Log In Failed - TNS could not resolve service name"

    Hello.
    I have an installation of Oracle 10g Release 2 (10.2) for Microsoft Windows (32-Bit) using WinXP Pro on my computer.
    I have also installed the compantion CD on the same machine (In a separate home directory) so that I can use PL/SQL.
    I have searched through the forum threads but haven't found any similar problem. The solutions that fixed other peoples problem don't seem to be applicable to mine.
    I have created a user 'antagning' and some tables and also some PL/SQL procedures that compile fine. When I request
    http://localhost:7777/pls/projekt/firsttest
    (firsttest is the procedure. doesn't take any params)
    I get the famous
    Database Log In Failed
    TNS could not resolve service name
    Verify that the TNS name in the connectstring
    entry of the DAD for this URL is valid.
    This is my DAD file:
    <location /pls/projekt>
    SetHandler pls_handler
    PlsqlDatabaseUsername antagning
    PlsqlDatabasePassword antagning
    PlsqlDatabaseConnectString ORCL
    PlsqlAuthenticationMode Basic
    PlsqlErrorStyle DebugStyle
    </location>
    and my tnsnames.ora looks like: (there is only one on the machine so there is no conflicting setups I think)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =
    localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    finally, this is my sqlnet.ora:
    # sqlnet.ora Network Configuration File: c:\oracle10g\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I haven't set any default domain because the database runs on my local computer and not on a microsoft server in a domain. Is that correctly concluded?
    I get an OK message when I ping my TNS with "tnsping orcl" (Maybe that information is not relevant in the context)
    My webserver is started and is running fine (I think). If I request:
    http://localhost:7777/pls/projekt (without any procedure name)
    I get the message that no procedure is specified to run so I get some sort of answer from the webserver, so far so right.
    When I log in using sqlplus with my own created user account I have to leave the database field empty or the login will fail. If I specify the field with the string orcl
    the login will fail. Does that imply that something is not quite right? Maybe that hasn't got anything to do with the failure message.
    /Fredrik

    Has anyone resolved the problems with using TNSFormat?
    As is, I want to move to a shared server setup and to do that I want to use TNSFormat and point to a tns entry which is setup for IPC+Shared connection.
    But the Oracle Home that has the Oracle HTTP Server (from the companion CD) does not have SQL*net installed and does not seem to understand TNS.
    I have TNS_ADMIN setup, I have ORACLE_HOME_LISTENER poiting to the DB Home.
    for the OHS home, using "sqlplus login/pw@ipcshared" works, but "tnsping ipcshared" does not, since tnsping does not exist in the OHS home.
    I cannot install SQL*Net from the CD1, since it requires a dedicated/new home and does not want to install in the OHS Home.
    The only format that works in a dedicated OHS Home setup is ServiceNameFormat.
    Any help or input would be very helpful.
    Regards
    ps. This is a redhat linux setup.
    Message was edited by:
    Oli_t

  • Deploy cannot resolve service name

    Hi
    I have a very simple warehouse project in OWB 9.2. I have defined an ODBC source on SQL Server and wish to deploy to a target table defined in an Oracle target module. A mapping, locations, connectors, database links etc are defined and valid.
    Up to the "Pre deployment generation results" view, all operations are shown as success. However, on selecting "Deploy" from this window, the deploy status is "Failed" with error "ORA-12514: TNS:could not resolve service name".
    I have checked the TNSNAMES.ORA file and all service names used are defined. Using "tnsping", I can connect to the oracle database, however the connection to the SQL Server database using "myhsodbc" fails. I can successfully connect to the SQL Server database using the database link defined when creating the source module or from SQL*Plus.
    Any suggestions as to which service name is unresolved?
    Thanks
    Bob

    Hi Mark
    I have added tnsnames file to server and client, oracle_home and owb_home with no change in result. The following info is little lengthy, but I hope it may give a clue to resolve my situation.
    The deployment manager identifies 3 objects for deployment - a mapping (SAP_CI_HIERARCHY), a table (SAP_CI_HIERARCHY) and a connector (ORAONSQL_SQLONPCRH).
    The generated connector script follows:
    CREATE DATABASE LINK "{{SQLONPCRH.Service}}"@ORAONSQL_SQLONPCRH
    CONNECT TO "{{SQLONPCRH.ConnectAs}}"
    IDENTIFIED BY "{{SQLONPCRH.Password}}"
    USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
    (HOST={{SQLONPCRH.Host}})(PORT={{SQLONPCRH.Port}})))
    (CONNECT_DATA=(SERVICE_NAME={{SQLONPCRH.Service}}))
    (HS=OK)
    The mapping script contains the following connection string in a select statement:
    FROM "dbo"."SAP_CI_HIERARCHY"@"MYHSODBC.FIRM.UNI.EDU"@"ORAONSQL_SQLONPCRH" "SAP_CI_HIERARCHY_ORA10323"
    The SQL Server source is defined by the following connection information:
    Database Link: PCRH_LINK.FIRM.UNI.EDU
    Connect String: myhsodbc.firm.uni.edu
    Gateway Type: Oracle Generic Connectivity - HSODBC
    Schema: dbo
    Location: SQLONPCRH
    The Oracle target is defined as follows:
    Database Link: ORAONSQL_LINK.FIRM.UNI.EDU
    Connect String: oraonsql.firm.uni.edu
    Schema: firmolap
    Location: ORAONSQL
    TNSNAMES.ORA file contains entry for oraonsql & myhsodbc:
    ORAONSQL.FIRM.UNI.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sqlserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oraonsql.firm.uni.edu)
    MYHSODBC.FIRM.UNI.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sqlserver)(PORT = 1521))
    (CONNECT_DATA =
    (SID = myhsodbc)
    (HS = OK)
    From SQL*PLUS,
    SELECT *
    FROM "dbo"."SAP_CI_HIERARCHY"@"PCRH_LINK.FIRM.UNI.EDU"; returns data, whereas the SELECT statement from the generated script returns ERROR "ORA-02019: connection description for remote database not found".
    All database links are PUBLIC.
    Location registration:
    ORAONSQL
    Service name: ORAONSQL.FIRM.UNI.EDU
    Net service name: ORAONSQL
    SQLONPCRH
    Service name: myhsodbc.firm.uni.edu
    Net service name: myhsodbc
    Is there something in this that points to the problem either in connecting from Deployment Manager (or from SQL*PLUS)?
    Thanks again for any help you can offer.
    Bob

  • 12154: "Could not resolve service name"

    [oracle@proton dbs]$ sqlplus system/manager@bcqa
    SQL*Plus: Release 8.1.7.0.0 - Production on Fri May 4 16:00:00 2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve service name
    I have read many documentations and I have no clue on what I'm doing wrong.. Here are the contents of a few .ora files:
    listener.ora
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = proton.cityxpress.com)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    tnsnames.ora
    PROTON.CITYXPRESS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.11.19)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = bcqa.cityxpress.com)
    sqlnet.ora
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dbhost)(PORT = 1575))
    NAMES.DEFAULT_DOMAIN = cityxpress.com
    SQLNET.EXPIRE_TIME = 0
    NAMES.DIRECTORY_PATH=(HOSTNAME)
    lsnrctl started with no problem and here's the output from lsnrctl status:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    [oracle@proton admin]$ lsnrctl status
    LSNRCTL for Linux: Version 8.1.7.0.0 - Production on 04-MAY-2001 16:10:13
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=proton.cityxpress.com)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 8.1.7.0.0 - Production
    Start Date 04-MAY-2001 16:10:06
    Uptime 0 days 0 hr. 0 min. 7 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /usr/oracle/network/admin/listener.ora
    Listener Log File /usr/oracle/network/log/listener.log
    The listener supports no services
    The command completed successfully
    [oracle@proton admin]$
    <HR></BLOCKQUOTE>
    Here's the output from using tnsping:
    [oracle@proton admin]$ tnsping proton.cityxpress.com
    TNS Ping Utility for Linux: Version 8.1.7.0.0 - Production on 04-MAY-2001 16:11:22
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=proton.cityxpress.com)(PORT=1521))
    OK (0 msec)
    That's good, but look at this one:
    [oracle@proton admin]$ tnsping proton
    TNS Ping Utility for Linux: Version 8.1.7.0.0 - Production on 04-MAY-2001 16:12:11
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    TNS-03506: Failed to create address binding
    Any help would be greatly appreciated, thanks.

    you have a listener problem at least.
    The status request to lsnrctl reports "no service". If the listener does not support any service, no connection.
    configure a service using "netasst".
    Regards
    null

  • About ORA-12154:  TNS:could not resolve service name

    Hi~
    i have a problem about Oracle Form/Report connecting
    when i keyin UserName/PassWord & Service Name(like myInstance_172.22.22.22) connecting to Instance,connection failed(Form/Report),error as follow
    ORA-12154: TNS:could not resolve service name
    but when i try this(the same userName/PassWord & Service String) on the SQL*Plus or DBA(OEM),it can successfully connection to Instance.
    what should i to do to resolve this problem?
    Thanks.

    Robson
    "TNS:could not resolve service name" means the tnsnames.ora file doesn't have the entry for your service name.
    There are couple of situations where this error can come even if you see the sqlplus works
    Please check the follwoing
    1. You may be having morethan one tnsnames.ora file in your system and the entry doesn't exist in any one of them , which is unfortunatel used by Forms/Reports.
    In your Oracle_Home for Forms / Reports, serach for the folder Network/admin or Net80/Admin and see the tnsnmaes.ora file there. Ensure you have the proper entry for your referred tnsname
    2. If your Reports server / client is in different machines, ensure both the machne's tnsnames.ora files have the entry
    Alternatively, you canedit the registry of your Oracle_Home to add another variable call ed TNS_ADMIN and give your directory where theproper tnsnames.ora
    is available
    Thanks
    The Oracle Reports Team

  • TNS: could not resolve service name

    ERROR: ORA-12154: TNS: could not resolve service name
    does any1 know what this means...and how to overcome this problem
    username : scott
    passwd: tiger
    host string: myora
    i have personal oracle8i in d:\oracle
    and d2k in d:\d2k
    it connects with the SQLPlus
    however with d2k when i try to connect it gives the above error
    message.
    does any 1 know a solution to the problem...

    Hello,
    First of all, If you are using PO8i and D2k as a front end
    on single machine,no need of specifying Connect String. You can
    connect using scott,tiger. If still it is giving problem,try
    this one.
    Open TNSNAMES.ORA file from folder NET80/Admin in your PC
    using NOTEPAD. Look there entry for myora. If it is there,Check
    SID,IPAddress or remove word "World" from there. See E.g
    ora816 = -- Your connect string
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = 10.0.0.3) -- IP address
    (Port = 1521)
    (CONNECT_DATA = (SID = ora816) -- Database SID
    Hope it will work...
    Adi

  • ORA-12154: TNS:could not resolve service name

    Hi Guru's
    i applied Maintainacepack 3480000 patch on my application for upgrading 11.5.7 to11.5.10.2, after completion of patch, I run the autoconfig it has given bellow error, please anybody can help me, i need to finish my task immediately, please provide me the solution.
    autoConfig Profile Phase
    Running Profile Process 1 of 1 for CLN_TOP
    Executing script in InstantiateFile:
    /sgmtemp/prodcomn/admin/install/MSBEP004_dcpsr006osm/clnadmprf.sh
    script returned:
    clnadmprf.sh started at Sun Feb 17 06:24:13 WST 2008
    The environment settings are as follows ...
    ORACLE_HOME : /sgmtemp/prodora/8.0.6
    ORACLE_SID :
    TWO_TASK : msbep004
    PATH : /sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/8.0.6/bin:/sgmtemp/prodappl/fnd/11.5.0/bin:/sgmtemp/prodappl/ad/11.5.0/bin:/sgmtemp/prodcomn/util/jre/1.1.8/bin:/sgmtemp/prodcomn/util/unzip/unzip::/sgmtemp/prodora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/8.0.6/bin:/sgmtemp/prodcomn/util/jre/1.1.8/bin:/sgmtemp/prodcomn/util/unzip/unzip:/sgmtemp/prodora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/sgmtemp/prodappl/bin:/usr/bin/X11:/sbin:/usr/lpp/pd/bin:.
    LD_LIBRARY_PATH : /sgmtemp/prodora/8.0.6/network/jre11/lib/aix/native_threads:/sgmtemp/prodappl/cz/11.5.0/bin:/sgmtemp/prodora/8.0.6/lib:/usr/dt/lib:/usr/openwin/lib
    Executable : /sgmtemp/prodora/8.0.6/bin/sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Sun Feb 17 06:24:13 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve service name
    clnadmprf.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    thanks

    Please Apply "Patch 5985992 - TXK AUTOCONFIG ROLLUP PATCH Q (JUL/AUG 2007)", run AutoConfig, and check then.

  • IFS 9 : TNS:could not resolve service name

    Hello,
    I have this message when Trying to connect in Java to IFS 1.2 :
    oracle.ifs.common.IfsException: IFS-21008: Unable to connect to
    iFS service
    java.sql.SQLException: ORA-12154: TNS:could not resolve service
    name
    I have been developing with IFS 1.16 for a while but now I have
    to upgrading to IFS 9 (1.2). To set up my development
    environment I did the same thing that I did for the version 1.1.6
    1-     Copying all Jar from D:\oracle\ora90\9ifs\lib and I had
    them to my classpath
    2-     Copying the folders under D:\oracle\ora90\9ifs\settings
    to have access to the IfsDefault.properties. file.
    3-     I got the new JDBC driver and Oracle Client 9 on my
    developer station.
    IfsDefault.properties is pointing to the right TSN. When I test
    my TSN (orcl) with the SQL+ it works just fine. I tried to use a
    Invalid Ifs Service Name instead of IfsDefault too see if I got
    a different error message and no, I got the same error. It looks
    like the environment doesn&#8217;t find the IfsDefault.properties
    file ?
    Any Idea of it could be ?
    There is the code that I use to connect :
    LibraryService service = new LibraryService();
    CleartextCredential cred = new CleartextCredential
    (username, password);
    ConnectOptions options = new ConnectOptions();
    options.setLocale(Locale.getDefault());
    options.setServiceName(repository);
    options.setServicePassword(repositoryPass);
    _ifsSession = service.connect(cred, options);
    // Doit mettre explicitement le Admin flag dans la
    Session
    DirectoryUser user = _ifsSession.getDirectoryUser();
    _ifsSession.setAdministrationMode(user.isAdminEnabled
    _logger.info("user " + user +"  is now connected to
    Ifs " + repository + ", " + _loggedUserCounter + " connected.");
    Thank you

    Looks like your TNSnames is not properly configured .. Did you
    try to do a sqlplus from the command prompt to see if you can
    connect to SQLPlus ??

  • Fundamental Problem: ORA-12154: TNS:could not resolve service name

    Hello,
    I am faced with a fundamental problem:
    ORA-12154: TNS:could not resolve service name
    I can say with a high level of confidence that the TNSNAMES.ora configuration file is not the problem. My peer is using the exact same file with no issues. I am using the TOAD database utility to connect to the db host. Also, I have ORACLE_HOME defined and the file is located in /network/ADMIN.
    Any ideas?

    Hello,
    Make sure your toad looking into right tnsnames.ora; also try this from command line after adding following entry to your tnsnames.ora.
    sqlplus username/password@ECDEV
    ECDEV =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (PROTOCOL = TCP)
            (HOST = rscdd01)  --> you can try ipaddress of your server name as well
            (PORT = 1521)
        (SDU = 8192)
        (CONNECT_DATA =
          (SERVICE_NAME =ECDEV)
          (INSTANCE_NAME=ECDEV)
      )Edited by: OrionNet on Dec 23, 2008 2:22 PM

  • MSDAORA,IIS,ORA-12154: TNS:could not resolve service name

    Hi All,
    I have a Web Service that coded in VS2008, using ORACLE DB(9i).
    At a time the application working fine and I can access and do everything with database.
    Some other time database server is down for scheduled maintenance. If I try to run the application at this point of time it will raise err "ORA-12154: TNS:could not resolve service name".
    When i reset iis it start to work fine for a while.Then same problem occurs again.
    My connection string is connectionString="provider=MSDAORA.1;data source=***;user id=***;password=***;"
    is there any solution?
    i tried that;
    If theire is multiple copies of OCIW32.dll you have to make sure that there is only one copy of OCIW32.dll which should be in /Bin folder of the oracle home folder.
    Add the IUSR_machine name account and the IWAM_machine name account to the Oracle home folder. Give both accounts full control.
    Create empty file tnsnames.ora in same directory as aspnet_wp.exe,

    Hi,
    The issue doesnt make much sense on the surface at least. 12154 means the client couldnt figure out what you were referring to with your Data Source= entry. If the database was taken down, I'd expect an "oracle not available" or some other sort of error, as the client should have still be able to resolve the entry at least, even if the database wasnt up at the time.
    What do you mean by "When i reset iis it start to work fine for a while.Then same problem occurs again."? The same problem meaning you get 12154 when you take the database down? Or you get 12154 without a db restart?
    Are you using TNSNames.ora for client naming resolution, or something else (ldap, for example)?
    Greg

  • ORA -ERR :Tns could not resolve service name

    Hi,
    I am tring to get into sql plus. As the oracle is pre installed and as donot know the system password, I am tring to login as Scott/tiger and host string as 'ORCL'.
    I am getting the following error.
    ORA-12154 :
    Tns could not resolve service name
    Is there any way to find the Host string name through any of the installation files.
    Please suggest.
    Badrinath

    Hi,
    Open the tns file ( available at oracle_home/network/admin/tnsnames.ora). I do not know what your oracle_home name is. Usually it is oracle/ora81/ under c: or D: or where ever you installed Oracle. Go thru the file. You will find the service name. Use that while logging. If you want to login to ORCL, it has to be there in tns files name otherwise Oracle cvan not resolve the name.
    Good luck
    Krishna Priya
    null

  • ORA-12154: TNS:Could not resolve service name. (WIS 10901).

    HI Gurus, we have the following scenario...
    Weu2019ve installed Busines Objects EDGE 3.1 SP3.
    The server of this installation is MS Windows Server 2003 Enterprise Edition SP2, Intel ® Xeon Enterprise TM CPU 2.80 GHz 6.5 RAM.
    In the Server we have SAP R/3 Installed over a DB Oracle 9i Enterprise Edition Release 9.2.8.0.
    We installed all BO bundle with successful and we can use the Designer Tool for create universe. In the creation of the universe, we created a connection to the database of the SAP R/3 System and the test runs well, we save and export the universe to CMS. Then, we used that universe in the WebI tool of the suite installed in the server, and it runs well (we call the universe, selected fields of the table, and after run the query, it gives us registers of the DB).
    After all this, we open the InfoView and used the WebI and execute the same universe and the same steps. And when we execute the query the following error occurs .
    A database error occured. The database error text is: ORA-12154: TNS:Could not resolve service name. (WIS 10901)
    The connection to DB is through Designer and we use ODBC Oracle to create the Universe with the Client type and we used super user system, validated previously OK.
    Any suggestion for this error?.
    Thanks.
    Betto.
    Edited by: Alberto Magaña Chávez on Jul 9, 2011 7:44 PM

    Make sure there are no syntax errors in the TNSNAMES.ORA file, look for unmatched parentheses. Also check the SQLNET.ORA file.
    Is the environment is clustered, if so then make sure you have the ODBC connection in all the servers.

  • ORA-12154 Could not to resolve service name

    I need some help. We have installed Oracle 8.1.6 for Windows NT on my PC one year ago. I also have Forms 5.0 on my PC that had connection service to Oracle database on Unix mashine. Now we don't have this database on Unix mashine so I desided to create a new small database on my PC in order to run some existing Forms. Using Oracle Net8 easy to config I created new service datamart/datamart@orc0 (It was possible only using IPC(local process) not TCP/IP). Now I can access my database using SQL*PLUS but I cannot to connect to this database using Forms. I have error message:
    ORA-12154 Could not to resolve service name. Any Ideas?
    Thanks in advance,
    Galia

    configure tnsnames.ora of home of developer.
    Atul

  • ORA-12154 - TNS couldnt resolve service name

    I have created the following db link :
    CREATE DATABASE LINK RAN.WORLD
    CONNECT TO <>
    IDENTIFIED BY <>
    USING 'DCCCSN1'
    select * from [email protected]
    This gives ORA-12154 - TNS couldnt resolve service name
    Can someoen advice regarding this please ? I can use the user id and password used to create the db link to connect to the database .Also from command prompt TNSPING DCCCSN1 -also works .So there should be nothing wrong with the TNS entries .Thanks .

    Just want to emphasize on the same point Legatti mentioned.
    The tns entry you mentioned must exist in the tnsnames.ora of the server where the your database (where the dblink has been created) resides.
    Lot of times people think that the tns entry is required on the machine you running the command from, which is wrong.
    Thanks,
    Ankit.

Maybe you are looking for

  • Project system tables for getting baseline and forecast values

    Hi all, I am new to Project systems and currently i am having the PS report. I need to pick the following values based on project definition (proj-pspid): --> historical baseline values like: 1) versions 2) created by 3) created on --> historical for

  • Change image contrast

    Hi, I need to change image contrast, that code working for .bmp image only. public static BufferedImage rescale(BufferedImage indexed,                float scaleFactor, float offset) {           System.out.println(indexed.getHeight());           Inde

  • Mac for a public computer

    Currently we have a public computer from our service provider for a public computer at our hotel. We have so many issues with the security on the Windows XP computer that it's just a pain to use. Just wondering, does Mac have a way if a guest logs in

  • My phone got stuck while trying to update! help please.

    I was updating my 5c on my computer and it is totally stuck. Said an unknown error occured. Do I unplug phone from computer and restore from icloud? help please. tia!

  • [Solved] UEFI + Partitioning + Bootloader = Hell

    I've installed arch twice before this one, those were like a lovely stroll in the park compared to this Clockwork Orangesque torture i've been putting myself through. This time it's different because I have a system with UEFI firmware and I cannot fo