X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 51D88D8496 for ; Wed, 31 Aug 2005 14:38:58 -0300 (ADT) 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 98880-10 for ; Wed, 31 Aug 2005 17:38:56 +0000 (GMT) Received: from svctag-ckgvz71.mailserver.wazagua.com (unknown [209.34.245.244]) by svr1.postgresql.org (Postfix) with ESMTP id A5633D842B for ; Wed, 31 Aug 2005 14:38:54 -0300 (ADT) Received: from jfradkin ([66.15.127.235]) by svctag-ckgvz71.mailserver.wazagua.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 31 Aug 2005 13:39:00 -0400 From: "Joel Fradkin" To: "'Joel Fradkin'" , Subject: Urgent! RE: E_Failed issue (also problem reading the record to edit it). Date: Wed, 31 Aug 2005 13:41:20 -0400 Message-ID: <000701c5ae53$335f7660$797ba8c0@jfradkin> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C5AE31.AC4DD660" In-Reply-To: <000001c5ae39$ce2c5d30$797ba8c0@jfradkin> X-OriginalArrivalTime: 31 Aug 2005 17:39:01.0015 (UTC) FILETIME=[DF7F7270:01C5AE52] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.899 required=5 tests=[AWL=-0.178, HTML_MESSAGE=0.001, MSGID_DOLLARS=3.076] X-Spam-Level: ** X-Archive-Number: 200508/253 X-Sequence-Number: 5892 This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C5AE31.AC4DD660 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I kind of got it to work using a larger number in MaxLongVarcharSize=3D8190; Modified to use MaxLongVarcharSize=3D 132560; But now other sql statement are returning E_failed. I do not understand what this is setting and how it relates to the size = of text fields, can someone help me out here? =20 Joel Fradkin =20 =20 =20 -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Joel Fradkin Sent: Wednesday, August 31, 2005 10:40 AM To: pgsql-odbc@postgresql.org Subject: [ODBC] E_Failed issue (also problem reading the record to edit = it). =20 My connection string is: "DRIVER=3D{PostgreSQL};DATABASE=3Dwazagua;SERVER=3D192.168.123.121;PORT=3D= 5432;UID=3Dp ostgres;PWD=3D1brain;ReadOnly=3D0;Protocol=3D6.4;FakeOidIndex=3D0;ShowOid= Column=3D0;Ro wVersioning=3D0;ShowSystemTables=3D0;ConnSettings=3D;Fetch=3D100;Socket=3D= 4096;Unknown Sizes=3D0;MaxVarcharSize=3D254;MaxLongVarcharSize=3D8190;Debug=3D0;CommLo= g=3D0;Optimiz er=3D1;Ksqo=3D1;UseDeclareFetch=3D0;TextAsLongVarchar=3D1;UnknownsAsLongV= archar=3D0;Bo olsAsChar=3D1;Parse=3D0;CancelAsFreeStmt=3D0;ExtraSysTablePrefixes=3Ddd_;= LFConversio n=3D1;UpdatableCursors=3D1;DisallowPremature=3D0;TrueIsMinus1=3D0;BI=3D0;= ByteaAsLongVa rBinary=3D0;UseServerSidePrepare=3D0" =20 Recently we have a client who can not see data they have entered. It is still in the data base, but something has to be happening. I did capture a log (I can re-create the issue). =20 The data not coming up is a text field. I have tested adding large text amounts in the field and was able to retrieve them ok, so I am confused = what may be causing the problem (spent like 6 hours thus far with no = solution). I can display the field in our print preview (only difference is it has = the field by name. I tried adding all the fields by name rather then a * but that did not = help the edit screen. Both use the same connection (asp page using the = connection above). After testing I managed to make so my select screen no longer displays = but only has: Error Type: Microsoft Cursor Engine (0x80004005) Data provider or other service returned an E_FAIL status. /wazagua/app/searchlist.asp, line 1251 =20 Which is an execute of select * from viwcaselist where clientnum =3D 'FARM' And = isdeleted=3Dfalse and CaseNum ilike '%00025%' Order BY OpenDate Desc,CaseNum limit 51 the field giving me the issue is in this select (was not blowing it up before I messed around testing the data itself). =20