Advertisement
Guest User

Untitled

a guest
Mar 20th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  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();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement