Unable to connect to data source

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Faisal
Posts: 5
Joined: Wed 05 Apr 2006 13:44
Location: Pakistan

Unable to connect to data source

Post by 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

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Thu 06 Apr 2006 06:05

Start PostgreSQL Database Server service on MyPC and try to reconnect.

Faisal
Posts: 5
Joined: Wed 05 Apr 2006 13:44
Location: Pakistan

Post by 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..!

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by 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.).

Faisal
Posts: 5
Joined: Wed 05 Apr 2006 13:44
Location: Pakistan

Post by 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.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 17 Apr 2006 09:00

Can you connect to database on your Windows 2000 Server using pgAdmin?

Post Reply