Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6294D4758CF for ; Thu, 5 Sep 2002 15:18:36 -0400 (EDT) Received: from web13805.mail.yahoo.com (web13805.mail.yahoo.com [216.136.175.15]) by postgresql.org (Postfix) with SMTP id D6B16475DDB for ; Thu, 5 Sep 2002 15:18:32 -0400 (EDT) Message-ID: <20020905191831.40236.qmail@web13805.mail.yahoo.com> Received: from [216.173.173.66] by web13805.mail.yahoo.com via HTTP; Thu, 05 Sep 2002 12:18:31 PDT Date: Thu, 5 Sep 2002 12:18:31 -0700 (PDT) From: Chris Gamache Reply-To: cgg007@yahoo.com Subject: PostgreSQL+ (Beta) and Active Server Pages with @TRANSACTION=REQUIRED To: pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/12 X-Sequence-Number: 1983 Anyone ever tried this successfully? ...from something.asp <% @TRANSACTION=REQUIRED LANGUAGE=VBSCRIPT %> <% response.buffer = true connstr = "Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=""DRIVER={PostgreSQL+ (Beta)};DATABASE=somedb;SERVER=db.something.com;PORT=5432;UID=someuser;PWD=somepwd;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=0;CommLog=0;Optimizer=1;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;;LFConversion=1;UpdatableCursors=1;DisallowPremature=0;TrueIsMinus1=0""" set conn = server.createobject("adodb.connection") conn.open connstr sql = "select * from some_table where some_column = 'something';" set rs = conn.execute(sql) %> I then get... Microsoft OLE DB Provider for ODBC Drivers error '8004d00a' Unknown connect option (Set) something.asp, line 7 ... Running the script outside of an MTS transaction works fine. It crashes inside. I was hoping that PostgreSQL+ would address this... Any ideas? CG __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com