Getting an Devart.Data.PostgreSql.PgSqlException after upgrading from version 6.2.122.0 to 6.8.333
Posted: Tue 19 May 2015 14:47
Hello,
I moved from 6.2.122.0 to my last licensed version 6.8.333 and start getting connection error using the same code base, only replaced the devart components.
The code that I am trying to exceute is, which was working with previous version:
getting the following exception when invoking the Open(() method:
Devart.Data.PostgreSql.PgSqlException: "An invalid argument was supplied"
This is the StackTrace:
at Devart.Data.PostgreSql.v.y()
at Devart.Data.PostgreSql.v.b()
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.PostgreSql.PgSqlConnection.Open()
at DataDeletion.Data.LINQConnection.OpenConnection() in
LINQConnection.cs:line 166
The underlaying System.Data.Common.DbException CallStack says the following:
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
at System.Net.Sockets.TcpClient.initialize()
at System.Net.Sockets.TcpClient..ctor(AddressFamily family)
at Devart.Common.p..ctor(String A_0, Int32 A_1, Int32 A_2)
at Devart.Data.PostgreSql.x..ctor(String A_0, Int32 A_1, Encoding A_2, Int32 A_3, SslOptions A_4, ProxyOptions A_5)
at Devart.Data.PostgreSql.al.a(String A_0, Int32 A_1, Int32 A_2, String A_3, String A_4, String A_5, Boolean A_6, SslOptions A_7, ProxyOptions A_8)
at Devart.Data.PostgreSql.v.y()
I want to stress the point that this same code was working with version 6.2.122. It stop working when upgrading the Devart components
I moved from 6.2.122.0 to my last licensed version 6.8.333 and start getting connection error using the same code base, only replaced the devart components.
The code that I am trying to exceute is, which was working with previous version:
Code: Select all
try {
String ConnectionString="User Id=pgsqluser;Host=127.0.0.1;Port=5434;Database=\"Master Database\";Password=???????"
PgSqlConnection SqlConnection = new PgSqlConnection(ConnectionString);
SqlConnection.Open();
} catch (Exception ex) {
}
Devart.Data.PostgreSql.PgSqlException: "An invalid argument was supplied"
This is the StackTrace:
at Devart.Data.PostgreSql.v.y()
at Devart.Data.PostgreSql.v.b()
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.PostgreSql.PgSqlConnection.Open()
at DataDeletion.Data.LINQConnection.OpenConnection() in
LINQConnection.cs:line 166
The underlaying System.Data.Common.DbException CallStack says the following:
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
at System.Net.Sockets.TcpClient.initialize()
at System.Net.Sockets.TcpClient..ctor(AddressFamily family)
at Devart.Common.p..ctor(String A_0, Int32 A_1, Int32 A_2)
at Devart.Data.PostgreSql.x..ctor(String A_0, Int32 A_1, Encoding A_2, Int32 A_3, SslOptions A_4, ProxyOptions A_5)
at Devart.Data.PostgreSql.al.a(String A_0, Int32 A_1, Int32 A_2, String A_3, String A_4, String A_5, Boolean A_6, SslOptions A_7, ProxyOptions A_8)
at Devart.Data.PostgreSql.v.y()
I want to stress the point that this same code was working with version 6.2.122. It stop working when upgrading the Devart components