To give more information, the PgSqlException occurs on opening the connection. This Exception looks like
Code: Select all
CallStack null string
ColumnName null string
ConstraintName null string
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
DataTypeName null string
DetailMessage null string
+ Error {ERROR: } Devart.Data.PostgreSql.PgSqlError
ErrorCode (System.Runtime.InteropServices.ExternalException) -2147467259 int
ErrorCode null string
ErrorSql null string
FileName null string
HResult -2147467259 int
HelpLink null string
Hint null string
+ InnerException null System.Exception
InternalPosition null string
InternalQuery null string
LineNumber 0 int
Message "" string
Position 0 int
ProcedureName null string
SchemaName null string
Severity Error Devart.Data.PostgreSql.Severity
SeverityMessage "ERROR" string
Source "Devart.Data.PostgreSql" string
TableName null string
+ TargetSite {Void a(Devart.Data.PostgreSql.PgSqlConnection)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}
The StackTrace is
Code: Select all
bei Devart.Data.PostgreSql.n.a(PgSqlConnection A_0)
bei Devart.Data.PostgreSql.n..ctor(f A_0, PgSqlConnection A_1)
bei Devart.Data.PostgreSql.w.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
bei Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, DbConnectionOptions A_1, DbConnectionBase A_2)
bei Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
bei Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
bei Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
bei Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
bei Devart.Common.DbConnectionBase.Open()
bei Devart.Data.PostgreSql.PgSqlConnection.Open()
bei ClusterStatus.PatroniClusterMember.<GetPgBouncerStatAsDatatable>d__54.MoveNext() in C:\Users\MyName\Documents\Visual Studio 2019\Projects\PostgreSqlTools\ClusterStatus\PatroniClusterMember.cs: Zeile121
Connections to the database are working, that's why I assume, there is no problem with the license. But I can't get connections to a pgbouncer instance. What can I do?