X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6329F32A0CE for ; Sun, 17 Oct 2004 02:44:26 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11910-09 for ; Sun, 17 Oct 2004 01:44:14 +0000 (GMT) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by svr1.postgresql.org (Postfix) with ESMTP id 518C432A0BE for ; Sun, 17 Oct 2004 02:44:16 +0100 (BST) Received: from [192.168.0.9] (really [68.101.82.146]) by lakermmtao02.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041017014415.XLVL15173.lakermmtao02.cox.net@[192.168.0.9]>; Sat, 16 Oct 2004 21:44:15 -0400 From: Robert Treat To: "Fred Parkinson" Subject: Re: cannot connect from Windows 2000 Date: Sat, 16 Oct 2004 21:43:17 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: Cc: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410162143.17299.xzilla@users.sourceforge.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/100 X-Sequence-Number: 4575 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