oracle environment variable tns_admin instead tnsnames.ora
867928Jun 9 2011 — edited Jun 9 2011Hi, I have a big trouble with the tns_name file. First of all I am working oracle with visual studio .net. I have the file tns_name in the following route C:\oracle\ora92\network\ADMIN\tnsnames.ora. If I delete this file, visual studio .net can still work properly. Then I figured out that it is taking the tnsnames from tns_admin in environment variables. It means visual studio .net is taking the tnsnames from tns_admin instead of C:\oracle\ora92\network\ADMIN\tnsnames.ora.
Can someone explain me why and how is the way to configure which file is used? Where can I configure it?
Thanks in advance.