title: Why TnsPing only use sqlnet.ora but not tnsnames.or?
body: <p>Windows 7.</p>
  
  <p>I kept getting Ora err can not resolve tns name while I have all the verified good names resides in tnsnames.ora. There are more than one Oracle in my PATH, maybe that's the reason. So I used tnsping to find out.</p>
  
  <p>tnsping myserver</p>
  
  <p>here is the output:</p>
  
  <pre><code>Used parameter files:
  C:\oracle64\product\12.1.0.2\client_1\network\admin\sqlnet.ora
  
  TNS-03505: Failed to resolve name
  </code></pre>
  
  <p>the tnsnames.ora is in the same folder as sqlnet.ora, why tnsping is not using it?</p>