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

Similar Messages

  • 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.

  • No TNS Network Alias drop-down list

    I do not have Oracle installed on my laptop. I was able to connect to a 9i database at my college without having to install Oracle. I did this with SD 1.0. I just deleted my last installation and installed SD 1.1. Now cannot connect. In reviewing popular discussion thread, I don't know what to do.
    Can I run SD 1.1 with Oracle 9i?
    I am running SD 1.1 on Windows XP SP2. I have Net80 installed on my laptop with tnsnames.ora in c:\orant\net80\admin folder. I set a system environment variable TNS_ADMIN with the above folder as the value. c:\orant\bin and c:\orant are both in my path. I am trying to connect to a remote 9i 9.2.0.7.0 and have been able to do this with SD 1.0.
    What must I do to populate the TNS Network Alias drop-down list?
    Message was edited by:
    JonSA

    Well done, B. The Net*) client I have made the connection OK using the Basic panel.
    Thanks for your advice. I guess I'd better learn about what's involved in connecting, because I didn't know how to use the Basic panel in the first place. I've just been cutting and pasting using the tnsnames.ora file to support the connection. Would you have a suggestion to learn about the process of connecting?

  • How to link Files to different buttons in a drop-down list?

    I have 5 Excel files in folder. I want to link each file to each buttons in a Drop-Down List, so that when 1st button is clicked it opens 1st file, 2nd button opens second file etc..
    the buttons are given some titles.
    The file path should not be visible to the user. When a button in drop down list is clicked, it must confirm the file and open it.
    I am new to labview. Can anybody help me witha sample code?
    Sunitha

    Hello,
    I think you can get some ideas from this exemple.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    launcher.vi ‏89 KB

  • How can I use Auto Import to name files after the folder they are dropped into?

    I'm camera tethered on a new Macbook Pro Retina, Lightroom 5, all latest software and OS. Using  EOS Utility to connect and drop into a DROP folder. When Lightroom Autoimports, I would like it to rename the file after the destination folder. Capture One has this feature and I could have sworn I saw a drop down menu on one of the naming tokens in LR5 about a month ago.  ANY IDEAS?

    The closest you can come is to create a File Naming Template that includes "Custom Text" as a part of the file name.  Then, you will have to change the Auto Import Settings to use this Template when auto-importing and manually type that folder name in every time you change folders.  There is no "Folder" token of which I am aware.

  • The portlet name is not displayed in the portlet drop down list ?

    Hi,
    I use Sun Java System Portal Server 6 2005Q4 for windows 2000 server , use the following command to deployo portlet,
    I am not sure if I successfully deploy the portlet?
    pdeploy deploy -u amAdmin -w amadmin -p amadmin -d "cn=amldapuser,ou=DSAME Users,dc=icheng,dc=com" C:\Sun\PortalServer\tmp\portlet\portletsamples.war
    The message I got after execute the pdeploy command is =>
    Deploys the portlet war file and inserts the provider into display profile..
    OPTIONS
    --help Help message (false)
    -u --runasdn UID Bind DN (none)
    -w --password Password (none)
    -p --wc_password Password for WebContainer's Admin (none)
    -i --instance WebContainer's Instance into which the war file is to be deploye
    d (*)
    -d --dn LDAP DN of the target node (*)
    -g --global Global display profile (false)
    -r --rolesfile File containing the DSAME and portlet role mapping (*)
    -f --userinfofile File containing the user info mapping (*)
    -v --verbose Generate debug messages (false)
    -V --version Generate version information (false)
    -l --locale Locale information (en_US)
    OPERAND
    Specifies a path to the war location.
    Deploying to IWS
    Is this mean that successfully deploy the portlet ?
    After I deploy the portlet, I login to Access Manager, select the "service" from view, click the portal desktop,
    click "Manage Channels and Containers", click the "New Portlet Channel...", then click the portlet drop down list,
    the portlet name is not displayed in the portlet list.
    How can I make the portlet name displayed in the portlet drop down list ?
    Can someone help me ?
    Thanks!

    Hi
    According to your description, since this is SQL Server forum, as Olaf Helper’s post, could you get the correct result if you execute the following query in SQL Server Manager Studio (SSMS)?
    select UserName from aspnet_Users where UserId in(select FreindId from myFreinds where UserId in(select UserId from aspnet_Users where UserName = '<your typed name>'))
    If you cannot get the correct result in SSMS, I recommend to check the Transact-SQL statement. Apart from the error message, we also need to know the table structure, data, join relationships between tables for further analysis.
    However if there is no problem in SQL Server query, it will be an issue that regards ASP.NET and website deployment. I suggest you to post the question in the ASP.NET forums at
    http://forums.asp.net/ . It is appropriate and more experts will assist you.
    In addition, there is detail about listbox control in asp.net. You can review the following links:
    How to Bind/Load/Fill ListBox with Sql Server Database in asp.net:http://www.webcodeexpert.com/2013/07/how-to-bindloadfill-listbox-with-sql.html#.U5f75_6KCM9
    How to get multiple selected value in ListBox control - ASP.NET using C#:
    http://www.dotnetfox.com/articles/how-to-get-multiple-selected-value-in-listbox-control-Asp-Net-using-C-Sharp-1047.aspx
    Thanks
    Lydia Zhang

  • How to populate the folder names from a particular folder in the drop down of a control?

    I am using an EDIT VI inorder to create MODEL, DRAWING NO  and the other parameters and save it. For each new MODEL a new folder will get created at a specific path. 
    How can I populate all those MODEL names in the dropdown of a control?

    If I undesrstand correctly you have a specific path containing sub folders, and you want to list all subfolders in a drop down manu?
    you should create a manu ring that you'll use as your drop down manu.
    then use the vi "list folder" on your path to get a list of all subfolders, and wire it to a "strings[]" property node of the ring control. The ring manu will then be populated with the list of folders.
    http://digital.ni.com/public.nsf/allkb/FB0409491FAB16FA86256D08004FCE7E
    hope that helps

  • AD Site names are not populated in Collection criteria drop down menu...

    I tried to create a collection based on AD Site name. Collection creating wizard on the membership rules tab, query rule properties, edit query statement (system resource), criteria tab, criterion type is simple value, System resource - Active
    Directory site name, operatör is equal to Vlaue... there is no AD site names appear in this drop down menu, just one of the 20 sites appear. I already run the system discovery, and create Automatically boundary for the each sites. And also create
    the Bpoundary groups...
    Thanks,

    Yes, I know this is an old post, but I’m trying to clean them up.
    Did you solve this problem, if so what was the solution?
    Without the query that you are using it will be hard to troubleshoot this issue but my guess is that the PC that belong to those AD site have not yet be inventoried. Check your Heartbeat and Hardware inventory.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Xcode multiple C/Header files error: duplicate symbol _heading

    I am working on a 3D FPS written in C using Xcode. I have only just begun to split main.c into keys.c, init.c and others.
    When I try to compile, it spits out this:
    duplicate symbol _xxx in xxx/xxx/xxx ...
    I have main.c, keys.c , and func-dec.h.
    In func-dec.h I externally declare some vars:
    extern GLfloat heading = 0.0f , xp = 0.0f, yp = 20.0f, zp = 0.0f , pitch = 0.0f;
    In keys.c I use these vars, after #including "func-dec.h" .
    As said earlier, It says I have duplicated heading variable. However, if I swap the heading and pitch (or any other var) it says I've duplicated that one.
    Can someone please help?
    Thanks.

    You declare the externs (with no values) in the .h file.
    Then, define and initialize the global variables in a .c file.

  • Help! Mid files cause "out of memory" session shut down.

    When I export .mid files from Reason 7 and import them into Logic Pro 9, it give me the error message "out of memory" and shuts down the session. Help!!

    I tried a number of values that were multiples of 1024 (2048, etc).
    The only thing that worked seemed to be changing the number and rebooting the server machine.
    Not sure what caused the initial problem though.  Saw very wierd activity in the FMS console.  Had a few hundred users connected, as I typically do for one of my events, and the chat application was repeatedly unloaded from FMS.  When it was reloaded the FMS console would show crazy large numbers in the "Clients" column - numbers like 3954.  Then it would drop to like 340.  Then shoot up again to wildly large numbers.
    Is that the result of a memory problem?

  • What causes a "black curtain" to drop down the screen, and you are told to shut down and restart?

    I have an '06 IMac. It has: Mac OS X 10.6.8 installed now
    Model Name: iMac
      Model Identifier: iMac6,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.16 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 4 MB
      Memory: 3 GB
      Bus Speed: 667 MHz
      Boot ROM Version: IM61.0093.B07
      SMC Version (system): 1.10f3
      Serial Number (system): QP******VGP
      Hardware UUID: 00000000-0000-1000-8000-0017F2D9A5BC
    < Personal Information Edited By Host >

    •Technical Note TN2063: Understanding and Debugging Kernel Panics
    https://developer.apple.com/library/mac/technotes/tn2063/_index.html
    •Resolving Kernel Panics - General info:
    http://www.thexlab.com/faqs/kernelpanics.html
    •OS X: When your computer spontaneously restarts or displays
    "Your computer restarted because of a problem." - Apple Support
    As previously noted, this link shows examples & info on Kernel Panic:
    •OS X: About kernel panics - Apple Support
    There can be hardware, and software causes of a kernel panic;
    incompatible software, faulty hardware, and other details...
    See first link above for an in-depth cross-section of this issue.
    Good luck & happy computing!

  • How I can delete names from my emails "to" auto-fill drop down?

    I was one of 50 recipients on an e-mail and inadvertentaly replied all, (ironically to ask to have my name removed!)
    I've rebooted, and synced new e-mail accounts only to still have those same names appear in my e-mail accounts so this embedded file must be on the iPhone.
    This issue is posted elsewhere, Macrumors for one, as more people have phones that are aging and will require cleaning up outdated files.
    Any help other than me buying a new phone is appreciated!

    Restore as new will clear it out.
    Other than this, I know of no other way.

  • File to rfc problem in the drop down button

    Hi
        /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
       Please see this URL
       In this scenario i have creating a  message maping RESPONCE side  BAPI_COMPANY_DETAIL Responc in that COMPANY_DETAIL below fields is not displaying and also RETURN , please send me imd
            my problem is the COMPANY_DETAIL ( COMPANY , NAME1 , NAME2 , COUNTRY , LANGU , STREET , PO_BOX , POSTL_COD1 , CITY , CURRENCY , COUNTRY_ISO , CURRENCY_ISO , LANGU_ISO ) Responsce below fields cann't display and in the same way RETURN field also .
    Regards
    Prasad

    hi sekhar
       my problem is the COMPANY_DETAIL ( COMPANY , NAME1 , NAME2 , COUNTRY , LANGU , STREET , PO_BOX , POSTL_COD1 , CITY , CURRENCY , COUNTRY_ISO , CURRENCY_ISO , LANGU_ISO )   Responsce below fields cann't display and in the same way RETURN field  also .

  • How do I configure Firefox so that the down arrowhead in the location field actually causes the display of a drop down list of bookmarked websites?

    At one time I had done the "right" actions so that the location drop down contained a list of around 20 of my most frequently accessed websites. Now I have a new computer and cannot figure out how to configure this new installation of Firefox so that this feature works as it did before. Frustrating!!!! When I click the down arrowhead (icon just left of reload page icon), no drop down menu appears; only the URL of the current page is highlighted.

    See:
    * Firefox (Tools) > Options > Privacy > Location Bar: When using the location bar, suggest: Bookmarks
    * https://support.mozilla.com/kb/Location+bar+autocomplete
    *Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    *Use "Firefox > Options" instead of "Tools > Options" if the menu bar is hidden.

  • 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.

Maybe you are looking for