Hi All,
I have a problem when executing an application from IDE but not when executing the [same] exe file outside IDE.
The error is:
"Cannot connect to database
Socket error connect. WSAGetLastError return 11001($2AF9)".
I get this error even with the demo application (Failover, PgDacDemo), when trying to execute Pg_Conn.Connect
Everything was fine until I write a [simple] report with Rave.
Windows XP
Delphi 2010
PgDac 1.20.0.19
Postgres 9.0
connection on localhost
Thanks in advance.
Adrian
Error #11001 at connect
Hello,
Unfortunately I still can not reproduce the problem.
I have tested it on the same configuration as you specified, but all works fine.
Please create a new project, place the TPgConnection component onto the form, set only its connection property, and press the Connect button. If you can connect, try to run the application from the IDE and try to connect in the run-time mode.
If you can't connect in any mode (run-time and design-time), please contact me again.
The error (WSAGetLastError return 11001) is indicates that Host was not found. Please check what you set the correct Host name (in your case it should be localhost or 127.0.0.1).
Unfortunately I still can not reproduce the problem.
I have tested it on the same configuration as you specified, but all works fine.
Please create a new project, place the TPgConnection component onto the form, set only its connection property, and press the Connect button. If you can connect, try to run the application from the IDE and try to connect in the run-time mode.
If you can't connect in any mode (run-time and design-time), please contact me again.
The error (WSAGetLastError return 11001) is indicates that Host was not found. Please check what you set the correct Host name (in your case it should be localhost or 127.0.0.1).