X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D9C629DC85E for ; Fri, 6 Jan 2006 04:46:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 62905-01 for ; Fri, 6 Jan 2006 04:46:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 5D3659DCA39 for ; Fri, 6 Jan 2006 04:46:14 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k068k91C007248; Fri, 6 Jan 2006 09:46:09 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k068k95B007247; Fri, 6 Jan 2006 09:46:09 +0100 Date: Fri, 6 Jan 2006 09:46:09 +0100 From: Ludek Finstrle To: Adam Biser Cc: pgsql-odbc@postgresql.org Subject: Re: Parameters.Refresh error. Message-ID: <20060106084609.GA7100@soptik.pzkagis.cz> References: <43BAD33D.1000302@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43BAD33D.1000302@gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.056 required=5 tests=[AWL=0.056] X-Spam-Score: 0.056 X-Spam-Level: X-Archive-Number: 200601/37 X-Sequence-Number: 6852 > My ConnectionString for my PostgreSQL DSN is simply "DSN=DSN Name" and I > connect successfuly. However, when I use .Parameters.Refresh I get the > following error: > > "Provider cannot derive parameter information and SetParameterInfo has > not been called." I have no idea what SQLXXX ODBC calls are represented under this. > When I try "Provider=PostgreSQL.1;Data Source=localhost;Location=DB > Name;", I can also connect, but .Parameters.Count simply returns 0 > instead of the appropriate amount. > > Has anyone experienced something like this? Am I posting in the right > place? This is the right place. Please could you send here full mylog output (turn on in Global and DataSource dialogs). It helps us to find the problematic place. Regards, Luf