pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Fred Parkinson <FredP@abag.ca.gov>
Cc: pgsql-odbc@postgresql.org
Subject: Re: cannot connect from Windows 2000
Date: Sat, 16 Oct 2004 21:43:17 -0400
Message-ID: <200410162143.17299.xzilla@users.sourceforge.net> (raw)
In-Reply-To: <s16e7528.063@groupwise.abag.ca.gov>
References: <s16e7528.063@groupwise.abag.ca.gov>

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



view thread (2+ messages)

Message-ID: <200410162143.17299.xzilla@users.sourceforge.net>
Permalink:  ../200410162143.17299.xzilla@users.sourceforge.net/
Also on:    postgresql.org/message-id/200410162143.17299.xzilla@users.sourceforge.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: xzilla@users.sourceforge.net, FredP@abag.ca.gov
  Subject: Re: cannot connect from Windows 2000
  In-Reply-To: <200410162143.17299.xzilla@users.sourceforge.net>
  References: <s16e7528.063@groupwise.abag.ca.gov> <200410162143.17299.xzilla@users.sourceforge.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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