"Unable to read data from the transport connection."

JarHead

Member
Joined
Sep 7, 2004
Messages
11
I am attempting to connect to a PostgreSQL database via C# or VB.net using the Npgsql .Net data provider, but I get the following error when I attempt to open the connection:

An unhandled exception of type System.IO.IOException occurred in npgsql.dll

Additional information: Unable to read data from the transport connection.

Any ideas?
 
PlausiblyDamp said:
any chance you could post a bit of the code you are using?

using System.Data;
using Npgsql;

Npgsql.NpgsqlConnection objConn = new Npgsql.NpgsqlConnection("Server=TestServer;Port=5432;User ID=Test_User;Password=Test_Password;Database=TESTDB;");
objConn.Open();
 
Back
Top