X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 1CED030F01F for ; Tue, 17 Jun 2003 14:21:58 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 31692-06 for ; Tue, 17 Jun 2003 11:21:47 -0300 (ADT) Received: from fortedata.com (mail.fortedata.com [64.6.191.17]) by svr1.postgresql.org (Postfix) with ESMTP id 1EC4530F0A3 for ; Tue, 17 Jun 2003 11:21:46 -0300 (ADT) Received: from carter (plq.fortedata.com [199.72.29.138]) by fortedata.com (8.11.6/8.9.3) with ESMTP id h5HEORH03962 for ; Tue, 17 Jun 2003 10:24:27 -0400 From: "Carter Patterson" To: Subject: Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Date: Tue, 17 Jun 2003 10:21:35 -0400 Message-ID: <003701c334db$c2871260$f90000c0@carter> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 In-Reply-To: <20030617140332.52097.qmail@web20810.mail.yahoo.com> X-Archive-Number: 200306/39 X-Sequence-Number: 3013 Jeff: I do have the '-i' option on through postgresql.conf flag. I can connect to pgadmin without a problem. In excel, it has a "Test Connection" button. It works fine. But when I try to get a list of tables, I get the error message Login failed: Catalog information cannot be retrieved. I know the login and password are good. Here is the log. Thanks for your help. Carter conn=35469000, PGAPI_DriverConnect( in)='DSN=PostgreSQL30;UID=carter;PWD=xxxxxxxx;', fDriverCompletion=0 DSN info: DSN='PostgreSQL30',server='63.64.82.12',port='5432',dbase='forte',user=' carter',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0 ' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' conn=35469000, PGAPI_DriverConnect( in)='DSN=PostgreSQL30;UID=carter;PWD=xxxxxxxx;', fDriverCompletion=0 DSN info: DSN='PostgreSQL30',server='63.64.82.12',port='5432',dbase='forte',user=' carter',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0 ' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Jeff Eckermann Sent: Tuesday, June 17, 2003 9:04 AM To: Carter Patterson; pgsql-odbc@postgresql.org Subject: Re: [ODBC] Trouble Importing Data to Excel "unable to obtain a list of tables" --- Carter Patterson wrote: > I am trying to connect Excel and Postgres. > > I have Postgres 7.3.2 installed on RH 8.0 box. > I have loaded pgsqlodbc 7.3.1 installed on my > Windows XP Professional. > MS Excel 2002 > > I went to Control Panel, Admin Tools, DataSources > and added a DSN for > Postgres. I checked the 7.X, 6.4 box. > I also told it to show system tables. > > > In Excel, I choose Data, Import External Data, > Import Data, Connect to > New Data Source--- > > This takes me to the Excel Wizard where I choose > ODBC - DSN, then I > select Postgresql30. It then tells me unable to > obtain a list of > tables. Sounds like you have done everything right, so I would suspect a connection problem. Is your Postgres accepting tcp/ip connections (needs postmaster started with "-i" switch, or "tcpip = true" in postgresql.conf)? Do you have logging enabled for ODBC or for Postgres? If so, what do the logs show? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org