Page 1 of 1

Unable to connect to data source

Posted: Wed 05 Apr 2006 13:51
by Faisal
Hi,
I am facing some problems while connecting to the data base.
When I use "Host = MyPC" in connection string,
I get exception "No connection could be made because the target
machine actively refused it".

When I use "Host = localhost", i get
"Unable to read data from the transport connection: An operation on a
socket could not be performed because the system lacked sufficient
buffer space or because a queue was full."

If anyone could help me?

Thanks
Faisal

Posted: Thu 06 Apr 2006 06:05
by Alexey
Start PostgreSQL Database Server service on MyPC and try to reconnect.

Posted: Thu 06 Apr 2006 12:01
by Faisal
Well, the service is already running. The problem seems to be something else. May be something wrong with my system..!

Posted: Fri 07 Apr 2006 07:25
by Alexey
Please try to reboot your MyPC server. Check whether you can connect to it using another client (e.g., pgAdmin, ODBC, etc.).

Posted: Fri 14 Apr 2006 11:43
by Faisal
I tried it on Windows XP and 2003 server, it worked fine there.
So may be problem with window 2000 server.

Posted: Mon 17 Apr 2006 09:00
by Alexey
Can you connect to database on your Windows 2000 Server using pgAdmin?