title: data source name not found
body: <p>trouble connecting to postgresql database using odbc connector(x64) on vb.net console application(x64), the error,
  <a href="http://www.sumarlidason.com/tmp/120312/odbc_capture1.png" rel="nofollow">http://www.sumarlidason.com/tmp/120312/odbc_capture1.png</a></p>
  
  <pre><code>    Dim ConnectionString = "Driver={PostgreSQL UNICODE};Server=myPGSrv;Port=5432;Database=dbDefault;Uid=postgres;Pwd=pw;"
      'Dim ConnectionString = "ODBC;dsn=PostgreSQL35W"
      conn = New OdbcConnection(ConnectionString)
  
      'Open connection to an instance of the PostgreSQL database.
      Try
          conn.Open()
      Catch Ex As Exception
          MsgBox(Ex.Message)
      End Try
  
      Dim commonOdbcCommand = New OdbcCommand
      commonOdbcCommand.Connection = conn
      conn.Close()
  </code></pre>
  
  <p>Also, I configured the database in the control panel, see here.. 
  <a href="http://sumarlidason.com/tmp/120312/odbc_capture.png" rel="nofollow">http://sumarlidason.com/tmp/120312/odbc_capture.png</a></p>