From: Joel Fradkin <jfradkin@wazagua.com>
To: pgsql-odbc@postgresql.org
Subject: E_Failed issue (also problem reading the record to edit it).
Date: Wed, 31 Aug 2005 10:39:33 -0400
Message-ID: <000001c5ae39$ce2c5d30$797ba8c0@jfradkin> (raw)
My connection string is:
"DRIVER={PostgreSQL};DATABASE=wazagua;SERVER=192.168.123.121;PORT=5432;UID=p
ostgres;PWD=1brain;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;Ro
wVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;Unknown
Sizes=0;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=0;CommLog=0;Optimiz
er=1;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;Bo
olsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;LFConversio
n=1;UpdatableCursors=1;DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVa
rBinary=0;UseServerSidePrepare=0"
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).
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
Which is an execute of
select * from viwcaselist where clientnum = 'FARM' And isdeleted=false 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).
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: jfradkin@wazagua.com
Subject: Re: E_Failed issue (also problem reading the record to edit it).
In-Reply-To: <000001c5ae39$ce2c5d30$797ba8c0@jfradkin>
References: <000001c5ae39$ce2c5d30$797ba8c0@jfradkin>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox