Hello,
I have the PgConnection.active=true during design time but when I compile and run the application I am developing, I have to disconnect it otherwise I get the error message 'Socket error on binding WSAGetLastError....'.
How can I keep the PgConnection active on design time and make sure it is deactivated automatically when I compile and run the application ? I tried switching on and off PgConnection.Option.KeepDesignConnected but it doesn't work.
Many thanks
Pio Pio
Connection to be disabled on compile and run
Re: Connection to be disabled on compile and run
Hello,
We cannot reproduce the problem on the latest PgDAC version 4.2.6, If you are using an older PgDAC version, please update to the latest version and try to reproduce the problem on it. This problem is reproduced on the latest version after setting the KeepDesignConnected property to False. Please contact us again.
We cannot reproduce the problem on the latest PgDAC version 4.2.6, If you are using an older PgDAC version, please update to the latest version and try to reproduce the problem on it. This problem is reproduced on the latest version after setting the KeepDesignConnected property to False. Please contact us again.
Re: Connection to be disabled on compile and run
Hello Alex,
I installed PgDAC version 4.2.6, set KeepDesignConnected to False but I have the same issue.
Any other idea ?
Many thanks
Pio Pio
I installed PgDAC version 4.2.6, set KeepDesignConnected to False but I have the same issue.
Any other idea ?
Many thanks
Pio Pio
Re: Connection to be disabled on compile and run
We cannot reproduce the problem. The problem is most probably not due to establishing connection to PostgreSQL in TPgConnection, but due to establishing connection to the SSH server.