pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedcannot connect from Windows 2000
2+ messages / 2 participants
[nested] [flat]
* cannot connect from Windows 2000
@ 2004-10-14 19:46 Fred Parkinson <FredP@abag.ca.gov>
0 siblings, 1 reply; 2+ messages in thread
From: Fred Parkinson @ 2004-10-14 19:46 UTC (permalink / raw)
To: pgsql-odbc
We run Postgres on a solaris server.
I connect to the postgres database from win98 and winxp boxes using
postgres odbc driver ver. 7.02.00.05
works every time and i appreciate that.
but so far I am unable to connect from a windows 2000 server box on the
same network.
when i try to use control panel and set up a file dsn with the same
driver and same parameters, I get the error messsage "a connection could
not be made using the file datasource parameters entered"
I turned logging on, but nothing is written to c: so perhaps the
connection must be successful before anything is written to the log.
when I create a user dsn and then use a MS tool called ODBCTest and try
to connect I get SQL_ERROR=-1.
ODBCtest says I can get a detailed explanation of the error by clicking
an error button, but the button is disabled.
I have searched the postgres docs (admittedly not exhaustively) and
have come up with nothing.
I am a programmer not a network engineer and don't even know where I
should look next to search for the answer.
Any ideas?
Thanks in advance for any help you can extend.
Fred Parkinson
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: cannot connect from Windows 2000
@ 2004-10-17 01:43 Robert Treat <xzilla@users.sourceforge.net>
parent: Fred Parkinson <FredP@abag.ca.gov>
0 siblings, 0 replies; 2+ messages in thread
From: Robert Treat @ 2004-10-17 01:43 UTC (permalink / raw)
To: Fred Parkinson <FredP@abag.ca.gov>; +Cc: pgsql-odbc
On Thursday 14 October 2004 15:46, you wrote:
> We run Postgres on a solaris server.
> I connect to the postgres database from win98 and winxp boxes using
> postgres odbc driver ver. 7.02.00.05
> works every time and i appreciate that.
>
> but so far I am unable to connect from a windows 2000 server box on the
> same network.
> when i try to use control panel and set up a file dsn with the same
> driver and same parameters, I get the error messsage "a connection could
> not be made using the file datasource parameters entered"
>
> I turned logging on, but nothing is written to c: so perhaps the
> connection must be successful before anything is written to the log.
>
> when I create a user dsn and then use a MS tool called ODBCTest and try
> to connect I get SQL_ERROR=-1.
> ODBCtest says I can get a detailed explanation of the error by clicking
> an error button, but the button is disabled.
>
> I have searched the postgres docs (admittedly not exhaustively) and
> have come up with nothing.
>
> I am a programmer not a network engineer and don't even know where I
> should look next to search for the answer.
>
> Any ideas?
>
You need to look in the error logs of the database. You should have some type
of message starting with "FATAL" which will give you a detailed error message
explaining why you can not get the connection. If you don't have those, then
either your logging needs to be tweaked or your not making contact between
the two machines, so verify your connection settings (hostname/port)
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-10-17 01:43 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14 19:46 cannot connect from Windows 2000 Fred Parkinson <FredP@abag.ca.gov>
2004-10-17 01:43 ` Robert Treat <xzilla@users.sourceforge.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox