TNS names can't be resolved

Hi All!
I try to connect to a database and the error message that TNS names can't be resolved. tnsnames.ora is copied from the PC where the connection works. Only one instance of Oracle client (9.2) is installed. I tried to add a TNS names in Net Assistent. It worked and the test within the assistent was successfull. The tnsnames.ora was also adjusted. But! I don't see the service in NetManager and I can't add any service there. The NT user is a member of the administrator group. I also try to connect using SQL plus, Excel, Enterprice manager - it doesn't work. Any ideas?
Is there any Windows service for the TNS? How it calls? I tried to check it with lsnrctl status but the command is not exist. Only client is installed on the PC.
Thanks,
Andrej

If you copied it from another PC then check that you have the correct entries in sqlnet.ora
For instance, in sqlnet.ora, if the parameter NAMES.DEFAULT_DOMAIN=yourserver_name.domain_name is not in use (commented out) and your net service name in[b] tnsnames.ora is mydb.yourserver_name.domain_name , when you try connecting with mydb as the connect string, you will get that error.
To resolve that, you either enter the connect string as mydb.yourserver_name.domain_name or uncomment NAMES.DEFAULT_DOMAIN in sqlnet.ora(add it if it does not exist) or change the net service name intnsnames.ora to mydb

Similar Messages

  • Can't Connect to Database - TNS Names Trouble

    Hi all, this is my first posting, so bear with me as I struggle
    through trying to word it in a logical manner that you can
    understand! I'm definitely not an Oracle guru, but some of my
    job duties require me to interact with several databases -- so I
    know enough to get by. After the battle with the Nimda virus, my
    system could not find the files to start SQL Plus and the icon
    had turned to generic. In an attempt to try and resolve this, I
    downloaded and installed the 8.17 client. I set up several
    connections through Net 8 config asst, but some of them would
    not work. Here's additional background info: we are moving to a
    new clustered DB configuration. The old config was numerous
    individual databases, but the new DB incorporates all the old
    ones (just separate accounts). The funny thing is I have no
    problem setting up connections to the old databases, but have
    had zero luck connecting to any account on the new DB. I have
    coworkers that are using an older version of SQL PLus and SQL
    Net Easy Config and they don't have any problems connecting to
    the new DB. We double checked there TNS names against mine and
    found no differences. Also, I still have the old version of
    Oracle loaded, because it wouldn't let me uninstall it -- I
    loaded the 8.17 in a new home. I'm desparate, so any help at
    all will be very appreciated. Sorry for such a long post.
    Thanks,
    SS

    Steve,
    This sounds like a job for Oracle Support. There are so many
    factors here, and if the tnsnames.ora files are the same, it
    will need some industrial strength investigation.
    Alison
    iSQL*Plus Team

  • TNS Name

    I installed Application Server and
    While trying to follow the instructions installing the Virtual Shopping Mall from the Tutorial
    I am told to run the VSM-BC4J/config/webstore.sql script - I am told to enter the Password and TNS Name - when it runs it asks for:
    systempassword:
    tnsname:
    No matter what I enter I seem to get
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Can someone give me some good example(s) of TNS Names - - - I know I have the proper password, but maybe I am not understanding the request for TNS Name
    Thanks,
    Paul

    Hi Paul,
    You can check if your Net Services is able to reach the Listener for a Database, by using the TNSPING utility.
    Service Name or TNS Name are synonyms for the Global Database Name; It is usually a unique name within your domain. E.g; My Database has a Service Name : Sandeep.idc.com.
    You can use TNSPING like this:-
    TNSPING your_database_service_name
    If everything is fine, you will see something like this:-
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = sseshan.idc.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = SANDEEP.idc.com)))
    OK (30 msec)
    You can then use the Service Name in your Scripts.
    Good Luck !
    Regards,
    Sandeep

  • ORA-29534 error for Class can not be resolved

    HI,
    I am trying to load and resolve a third party jar file which has some JMS classes. But while using the loadjava utility,
    "loadjava -u scott/tiger@dbname -r -v -genmissing weblogic.jar"
    i get "ORA-29534: referenced object <Class Name> could not be resolved" error for most of the classes.
    This Jar file has around 15000 classes definitions and it takes almost a complete day to load and resolve it. Even after taking so much of time it is unable to resolve all the classes and give a runtime exception Class can not be resolved for some class.( i have created the oracle java stored procedure successfully)
    I need a help on this very urgently...
    Thanks in advance....
    Sachin

    Sachin,
    There are many possible causes for the error you are getting, for example:
    1. The DBMS_JAVA package is corrupt.
    (Have you previously successfully loaded JARs -- or even java classes -- into the database?)
    2. A java version mismatch.
    (What Oracle database version are you using, and what java version is your JAR file compatible with?)
    You say,
    Surely they are loaded but not resolvedIs this a question, or a statement? Have you verified that the classes are loaded and not resolved? I use the following query for this:
    select DBMS_LONGNAME(OBJECT_NAME), STATUS
      from USER_OBJECTS
    where OBJECT_TYPE like 'JAVA%'The value for the STATUS column should be 'VALID'.
    I'm only guessing, but you may find more information (regarding the error you are getting) in the Oracle log files. Have you checked them?
    Have you tried searching the MetaLink Web site?
    http://metalink.oracle.com
    (Search for "ORA-29516", perhaps.)
    Good Luck,
    Avi.

  • Problem in ESS Build when creating the project "Import can't be resolved"

    Hi All,
    we are using ESS and MSS 600 for ERP 2005 and EP 7.0.
    Once the cms INBOX components are imported to Development, I have started my development.
    In the Build process, when I am trying to create the Project for ess/us/bank inactive DC,
    It says: "Build with warnings"
    It is showing the couple of warning in General User Output as:
    Warning: Source folder "META-INF" does not exist and will be ignored.
    WARNING: No reference entry for runtime dependency on component "ess/per" (vendor "sap.com")
    WARNING: No reference entry for runtime dependency on component "ess/xx" (vendor "sap.com")
    WARNING: No reference entry for runtime dependency on component "ess/xx/bank" (vendor "sap.com")
    WARNING: No reference entry for runtime dependency on component "pcui_gp/xssfpm" (vendor "sap.com")
    WARNING: No reference entry for runtime dependency on component "pcui_gp/xssutils" (vendor "sap.com")
    When I open the project in "Web Dynpro" perspective and look at the implementation of any View ... I see the error at import statement:
    import com.sap.xss.hr.per.us.bank.detail.wdp.IPrivateDetailView; (For Detail View)
    It says :  The import "com.sap.xss.hr.per.us.bank.detail.wdp" can't be resolved
    How should I proceed?? I verified for other components as well and getting these import error:
    I looked in the package folder and there is no folder with the name "wdp" in "com.sap.xss.hr.per.us.bank.detail"
    Can some one please help me on this. Highest points would be rewarded If i could solve the problem.
    I have followed "JDI Cook BOOK" for creating tracks and imports. In the "NWDI COOKBOOK" it also says to include "EP BUILD TOOL" apart from "DI BUILD TOOL" for the build time dependency of a component. But i couldn't find "EP BUILD TOOL" any where else, is this causing all this mess? When I look at my build time dependencies for SAP_ESS and SAP_MSS it has got :
    SAP_JEE
    SAPPCUI_GP
    SAP_BUILDT
    SAP_JTECHS
    I think this should do, Please some one help me.
    Thanks,
    Hari.

    Hi purav,
    Try closing the nwds and open it again, if problem not solved then from your .dtc try to find that file which is missing and add in bulidpath and compile.
    Thanks,
    pkv

  • This domain name can't be used because it contains a protected word or inappropriate language.

    Dear
    Creating a Microsoft services experience for my domain (fazlic.ba), is showing an error message as below:
    "This domain name can't be used because it contains a protected word or inappropriate language. Please contact support if you feel this is not the case."
    Can somone help in resolving this issue as i need this bit urgent and i am trying for same since last 2 days but with no success
    My domain name is fazlic.ba, which needs to be added as custom domain in domain.live.com
    Thanks

    Hi,
    we cannot provide any solution here because the domain validation is the second step of the process and is automated.
    My advice wouldbe to follow the message guideline and contact the support, they may identify why this domain is refused.
    Hope this helps,
    Fabrice DI GIULIO, http://blog.digiulio.fr
    Technical Solutions Professional, EMEA at AvePoint

  • Local Database, TNS Names & ORA-12541: No Listener

    I am trying to get IFS working on our new Windows 7 machine and the entire department is scratching it's head right now.
    I have gotten Oracle 11.2.0.1 installed and finally being seen by the ODBC thanks to the past threads on the forum mentioning the System Environment Variable. However, now I need to be able to get the program to sync the information that I can pull from "MPRDSP6", the one working ODBC connection right now.
    In the past with Oracle XE we had the following in our TNS Names file:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = COMPUTER.company.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    The XE was created whenever Oracle XE was installed and we just added in our MPRDSP6 at the end of the TNS Names file. This was what we used when making the local copy for our personell that would travel and need access to the database.
    However, with Oracle 11.2.0.1, there was no TNS Names file whenever it installs and I had to create it --> Inputting our XE entry and the other, MPRDSP6.
    Upon trying to 'Test Connection' in the ODBC screen I get:
    Unable to Connect
    SQLState=S1000
    [Oracle][ODBC][Ora] ORA-12541: TNS:no listener
    Whenever I try to sync the MPRDSP6 with the local copy of it (named local_db), I am getting an error from the program saying:
    Could not find the Local Oracle Data Folder. Please make sure your Local Oracle is running and that you have set the Local Database Creator.
    I am assuming this is simply because there is actually no database in existance: it is just in the TNS Names.
    I am Running Windows 7 x64
    Forgive me if this is a very simple fix as I am completely new to the world of Oracle.
    Thanks in advance for any help!

    Having the same issue, trying to connect IFS Sales and Marketing. In my case, I am using Oracle Express 10g, Windows 7 32-bit. My ODBC DSN can find the "host" server, but does not seem to find the local Oracle Express instance.

  • Iphone 4s Choose a Network is greyed out, how can it be resolved

    I have been experiencing this issue for 3 days now. I am worried that my data will be way too much for my budget. I went to Apple Retail store today at Fairview Mall but have missed the time of my appointment and was told that the next booking they have is not until Monday, February 4, 2013. Wow! That means using more data and incurring more charges on my phone bill. How on earth can Apple be dependent on their Genius bar to set appointments when you see staff in that store just standing and doing nothing? Even the Manager is not helpful and rude...my mistake because I was so frustrated I forgot the name. I could have escalated that person...he houldn't be in the front line..when he doesn't know how to deal with a frustrated customer who cannot use the proper service of their product...
    So can this be resolve? How can I submit a ticket to rsolve this issue?

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • Multiple TNS Names files cause duplicates in TNS Alias drop down

    SQL Developer 1.5 EA3, JDK 1.6.0_04, Win XP SP 2
    In EA3 we are still getting duplicates in the TNS Network Alias drop down box where there are multiple files starting with TNSNAMES. in the first location SQL Developer finds TNS Names files. I know it has been discussed before (ie 1.2.0 reads TNSNAMES.ORA file multiple times and duplicates values in Alias but can anyone explain why we need to look for more than one file starting with TNSNAMES. or indicate any other product that uses similar logic to find the correct TNS Names file?
    theFurryOne

    I have multiple versions of oracle clients and a tns_names file in each directory.
    I agree with the last comment about a preference option of which tnsnames file to use.
    Right now my problem is not seeing duplicates, but not seeing all of the SID's listed in my tnsnames file, and because of the above I can't tell which tns_names file it is using. So instead I am editing them all.
    Message was edited by:
    user468179

  • Configure TNS Name Service

    How configure TNS Name Service in Server and Client?
    Thanks.

    On the server you may not need that, on the client.... neither...
    On the server you need the listener (which you should already have), on the client you can use the easy connect method, which does not require any configuration :
    sqlplus username/password@<servername or IP address>:<port>/<sid>
    for example
    sqlplus scott/[email protected]:1521/orcl
    the port is not mandatory if it's 1521.
    Of course you can configure TNS aliases within tnsnames.ora, both on client and server, here an example :
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = XE)
      )See http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#i507143

  • TNS Name problem on install

    I'm doing an install on Win2k, Oracle 8.1.6.
    I can't log in to anything. TNS name error etc. How can I solve this?
    -Mark

    (Sorry,I speak English a little.)
    On the plathome Windows NT/2000,Oracle816 supports Ne8 Advanced Security,called "NTS".
    And OUI create Default "sqlnet.ora" file when installing,
    [sqlnet.ora]
    sqlnet.Authentication_service=(NTS)
    But,Many Networks hasn't create CA for NTS,
    when installing ORACLE 816.
    So,Many Errors occurs.
    check below sqlnet.ora sample and modify any relayed files,such as tnsnames.ora,listener.ora.
    [sqlnet.ora]exsample
    names.default_domain=world
    names.directory_path=(TNSNAMES)
    #sqlnet.Authentication_service=(NTS)
    I recommend, "You don't creating Database when install."
    After finishing Install,modify Net8 Files,
    then start creating database.
    --I think this is best way.
    null

  • Multilple TNS names files used in Connection Network Alias Dropdown

    My network's TNS names directory has the latest tnsnames.ora file and also has several older versions named "tnsnames.ora.<date>". In SQL Developer Connections it appears all of them are read to create the Network Alias dropdown list. You can test this by making a copy of your tnsnames.ors file called tnsnames.ora.old1, etc. My guess is that SQL Developer is reading "tnsnames.ora*", not "tnsname.ora".
    But I'm just a user, not a DBA admin. Is this a feature or a bug?
    Its also possible that keeping the renamed old versions in the TNS names folder instead of a subfolder is just bad form and I need to get that behavior changed internally.
    I'm running 1.5.4.59.40. I just installed patch 2 and the behavior is the same.
    Edited by: user3457425 on May 26, 2009 5:15 PM

    It's a feature. I think I remember some guys asking for support for this because some setups use various tnsnames.* files, but eventually a lot more users are complaining about this. Sqldev 2.0 will probably have changes in this area, so let's hope we will finally be able to choose our location manually...
    Regards,
    K.

  • Cannot Create New Share from Azure PowerShell - The remote name could not be resolved

    I have created a storage account. It seems that there isn't a specific way to create file storage rather than blob storage.
    I followed the instruction for creating a share in Azure Power Shell but when I try $s=New-AzureStorageShare... I keep getting the error "The remote name could not be resolved".  I checked the account name and it matched what is shown on the
    Azure site.
    I also cannot access the storage from the URL's.  I get the message "This page can't be displayed.
    How can I create a file storage account and a share to it?
    Thanks,
    Glen

    Hi Glen,
    Thanks for your post!
    Did you sign up your File Service ?
    To sign up, go to the Microsoft Azure Preview Portal, and sign up for the Microsoft Azure Files service using one or more of your subscriptions. As subscriptions
    are approved for the Azure File preview, you will get an email notifying you of the approval. We will be slowly opening up the service to users in batches, so please be patient after signing up.
    After sign up and enable this feature, I suggest you could refer to this blog for how to use Azure File service (
    http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx#faq7 ).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Azure File Storage error The remote name could not be resolved

    I am following http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-files/ 
    While executing $s = New-AzureStorageShare mysampleshare -Context $ctx  I get error as
    New-AzureStorageShare : The remote name could not be resolved: 'mystorageaccount.file.core.windows.net'
    At line:1 char:6
    + $s = New-AzureStorageShare elasticsearch -Context $ctx
    +      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : CloseError: (:) [New-AzureStorageShare], StorageException
        + FullyQualifiedErrorId : StorageException,Microsoft.WindowsAzure.Commands.Storage.File.Cmdlet.NewAzureStorageShare
    Thanks,
    Subodh

    Azure Files is a Preview feature. Did you request and got access to it at the billing portal's Preview Features (https://account.windowsazure.com/PreviewFeatures)?
    Also, you can now try creating the File share via the Preview Portal (https://portal.azure.com -> your storage account -> "File Shares").

  • Remote name could not be resolved in App but MobileService project connects ok

    I have a mobileservice project that runs fine as a Web client. But if I use the MobileServiceClient reference in my Universal app I get "The remote name could not be resolved". 
    In the client Phone app written in c#, I have the auto-generated MobileServiceClient in App.xaml.cs. Then I get a reference to IMobileServiceTable using App.myClient.GetTable call to get a reference to service table. Afterwhich I make a call 
    List<MyData> items = await myClientDataTable.Where(
                    MyData => MyData.Id == 'some id'
                ).ToListAsync();
    The error 'The remote name could not be resolved'. Which doesn't seem right as the mobileservice project runs fine as a Web client. By web client I mean, if I F5 on the MobileService project it runs in the
    web browser where I can add and retrieve data.
    Any help appreciated!

    T.,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

Maybe you are looking for

  • TDS Business place & Secotion code issue

    hai, In FB60 we are making entry with TDS. Here business place and section code is required to fillup. If it is not maintained at the time of posting, then there will be a problem in Remittance challan creation. If we call the document which was not

  • Removing an Apple ID off a Mac Mini

    I bought a Mac Mini used, but his apple id still appears for updates. The system tells me that I need to log in his ID to obtain program updates, how can I have this removed and get application updates. Can anyone assist me?

  • How do I get rid of output.systems pop up and halt Safari?

    When I open Safari it goes to output.systems and a pop up window appears with what I consider an ad to call 1--866-560-5093 to get assistance.  I can't browse with Safari. How do I fix the problem.  I refuse to call a ph. number to get rid of the pop

  • SRM recipient role restricted to plants

    Hi In SRM the organizational levels available in authorizations to the 'Recipient role' consist of 'Purch.org' and 'Purch.grp'. How do I restrict the role to certain plants? I tried adding the authorization object M_BBP_IM_1 to restrict actions accor

  • Can I swap between usb2 and usb3 on macbook pro retina

    can I swap between usb2 and usb3 on macbook pro retina. At the moment I have an external USB2 HDD and have ordered a new USB3 HDD. Does the macbook automatically recognise the difference. Regards oldboy135