title: Connecting C# app with Oracle 10g: ORA-12154: TNS:could not resolve the connect identifier specified
body: <p>I am a beginner in working with databases. I am trying to access Oracle10g database from a c# application. But when I do so i get this error:</p>
  
  <blockquote>
    <p>ORA-12154: TNS:could not resolve the connect identifier specified"</p>
  </blockquote>
  
  <p>I'm using the following code:</p>
  
  <pre><code>string oradb = "Data Source=ORCL;User Id=system;Password=goodbye;";
  OracleConnection conn = new OracleConnection(oradb);  // C#
  conn.Open();
  </code></pre>
  
  <p>Is there an error in the connection string <code>oradb</code>?</p>