Unable to connect to data source

Unable to connect to data source

Postby Faisal » Wed 05 Apr 2006 13:51

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
Faisal
 
Posts: 5
Joined: Wed 05 Apr 2006 13:44
Location: Pakistan

Postby Alexey » Thu 06 Apr 2006 06:05

Start PostgreSQL Database Server service on MyPC and try to reconnect.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Faisal » Thu 06 Apr 2006 12:01

Well, the service is already running. The problem seems to be something else. May be something wrong with my system..!
Faisal
 
Posts: 5
Joined: Wed 05 Apr 2006 13:44
Location: Pakistan

Postby Alexey » Fri 07 Apr 2006 07:25

Please try to reboot your MyPC server. Check whether you can connect to it using another client (e.g., pgAdmin, ODBC, etc.).
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Faisal » Fri 14 Apr 2006 11:43

I tried it on Windows XP and 2003 server, it worked fine there.
So may be problem with window 2000 server.
Faisal
 
Posts: 5
Joined: Wed 05 Apr 2006 13:44
Location: Pakistan

Postby Alexey » Mon 17 Apr 2006 09:00

Can you connect to database on your Windows 2000 Server using pgAdmin?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for PostgreSQL