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 8EBBFD8432 for ; Thu, 1 Sep 2005 12:14:46 -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 42102-04 for ; Thu, 1 Sep 2005 15:14:43 +0000 (GMT) Received: from svctag-ckgvz71.mailserver.wazagua.com (unknown [209.34.245.244]) by svr1.postgresql.org (Postfix) with ESMTP id 0325DD7E08 for ; Thu, 1 Sep 2005 12:14:42 -0300 (ADT) Received: from jfradkin ([66.15.127.235]) by svctag-ckgvz71.mailserver.wazagua.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 1 Sep 2005 11:13:32 -0400 From: "Joel Fradkin" To: "'Dave Page'" Cc: Subject: Re: figuring out why I am having this issue Date: Thu, 1 Sep 2005 11:15:54 -0400 Message-ID: <001801c5af08$0c419170$797ba8c0@jfradkin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In-Reply-To: X-OriginalArrivalTime: 01 Sep 2005 15:13:32.0703 (UTC) FILETIME=[B76E7AF0:01C5AF07] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.904 required=5 tests=[AWL=-0.172, MSGID_DOLLARS=3.076] X-Spam-Level: ** X-Archive-Number: 200509/11 X-Sequence-Number: 5909 That is the error description=20 If con.Errors.Count >=3D 1 Then set Error =3D con.Errors.Item(0) 'take the error code from SQL Server=20 ErrCode =3D Error.NativeError response.Write(cstr(Error.Description)) Response.End End If Could be there is better method, but this what I have been using. I have tested putting a 300 meg text field in the data base nad it = worked so not clear why it works on most data and this one does not. I did email you the log file (not sure it is any help). Joel Fradkin =20 Wazagua, Inc. 2520 Trailmate Dr Sarasota, Florida 34243 Tel. 941-753-7111 ext 305 =20 jfradkin@wazagua.com www.wazagua.com Powered by Wazagua Providing you with the latest Web-based technology & advanced tools. C 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc This email message is for the use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized = review, use, disclosure or distribution is prohibited. If you are not the = intended recipient, please contact the sender by reply email and delete and = destroy all copies of the original message, including attachments. =20 =20 -----Original Message----- From: Dave Page [mailto:dpage@vale-housing.co.uk]=20 Sent: Thursday, September 01, 2005 11:07 AM To: Joel Fradkin Cc: pgsql-odbc@postgresql.org Subject: RE: [ODBC] figuring out why I am having this issue =20 > -----Original Message----- > From: Joel Fradkin [mailto:jfradkin@wazagua.com]=20 > Sent: 01 September 2005 16:00 > To: Dave Page > Cc: pgsql-odbc@postgresql.org > Subject: RE: [ODBC] figuring out why I am having this issue >=20 > I don't get that kind of control. >=20 > In asp you assign a record set: > set rec =3D cmd.Execute >=20 > Rec is not defined other then=20 > set rec =3D server.CreateObject("ADODB.Recordset") Yeah, I know - I think you miss my point though. If for some reason the DB doesn't tell us the size of the column (because it's a text field for example), we default to max_lvc. If the data is longer than that though, ADO might overflow an allocated buffer. I would hope Microsoft wrote it better than than, but it's the best I've got right now!! > What is weird is one SQL from this record where works and=20 > another does not. Which kinda throws the size issue out the window. You sure this is caused by ODBC? Can't ASP be more verbose than E_FAILED? /D