a guest Mar 20th, 2016 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string conn_string = "Host=localhost;Port=5432;Username=postgres;Password=********;Database=customer";
  2. // hangs on below line, eventually re-invokes and I can step to Open()...
  3. NpgsqlConnection myConn = new NpgsqlConnection(conn_string);
  4. // but if/when it reaches here, it times out with DNS timeout error
  5. myConn.Open();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand