X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1EBA347592C for ; Thu, 27 Mar 2003 04:33:04 -0500 (EST) Received: from email04.aon.at (WARSL401PIP5.highway.telekom.at [195.3.96.90]) by postgresql.org (Postfix) with SMTP id EFBA14758C9 for ; Thu, 27 Mar 2003 04:32:52 -0500 (EST) Received: (qmail 72784 invoked from network); 27 Mar 2003 09:32:51 -0000 Received: from m779p030.adsl.highway.telekom.at (HELO irina) ([62.47.129.94]) (envelope-sender ) by qmail4rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 27 Mar 2003 09:32:51 -0000 Message-ID: <000c01c2f443$76e80ae0$01011eac@irina> From: =?iso-8859-1?Q?DI_Hasen=F6hrl?= To: Subject: troubles with ODBC tables Date: Thu, 27 Mar 2003 10:30:10 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0009_01C2F44B.D861AE40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_20,HTML_40_50 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/77 X-Sequence-Number: 2796 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C2F44B.D861AE40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I use postgresql 7.1.3 with ODBC driver 7.1.0009 and MsAccess97 as frontend= .=20 My database runs for 11/2 years without problems, but now I had to implemen= t an activx element in order to use the functions of a barcode reader and n= ow something mysterious happens. Although no error occurs, my ODBC connection is sat back and I cann't find = any hint in the log file. Here is a part of the log file: conn=3D151550676, query=3D'SELECT a_nr,a_bez1,a_bez2,a_bez3,a_bez4,a_vol,a_= gewicht,a_bruttoG,eh_bez,barcode FROM artikel INNER JOIN einheitbez ON arti= kel.eh_nr=3Deinheitbez.eh_nr WHERE a_nr =3D '14001' AND sp_id =3D 'D';' [ fetched 1 rows ] conn=3D151550676, query=3D'SELECT AP_Preis FROM artikelpreis WHERE pl_nr=3D= 3 AND a_nr =3D '14001';' [ fetched 1 rows ] conn=3D151487540, query=3D'SELECT "allelager"."l_nr" FROM "allelager" ' STATEMENT ERROR: func=3DSC_execute, desc=3D'', errnum=3D1, errmsg=3D'Error = while executing the query' ----------------------------------------------------------= -- hdbc=3D151487540, stmt=3D153064336, result=3D0 manual_result=3D0, prepare=3D0, internal=3D0 bindings=3D0, bindings_allocated=3D0 parameters=3D0, parameters_allocated=3D0 statement_type=3D0, statement=3D'SELECT "allelager"."l_nr"= FROM "allelager" ' stmt_with_params=3D'SELECT "allelager"."l_nr" FROM "allela= ger" ' data_at_exec=3D-1, current_exec_param=3D-1, put_data=3D0 currTuple=3D-1, current_col=3D-1, lobj_fd=3D-1 maxRows=3D0, rowset_size=3D1, keyset_size=3D0, cursor_type= =3D0, scroll_concurrency=3D1 cursor_name=3D'SQL_CUR091F9390' ----------------QResult Info -----------------------------= -- CONN ERROR: func=3DSC_execute, desc=3D'', errnum=3D104, errmsg=3D'Could not= send Query to backend' ------------------------------------------------------------ henv=3D152587904, conn=3D151487540, status=3D1, num_stmts=3D16 sock=3D152588544, stmts=3D152588592, lobj_type=3D-999 ---------------- Socket Info ------------------------------- socket=3D320, reverse=3D0, errornumber=3D6, errormsg=3D'Could n= ot flush socket buffer.' buffer_in=3D151472932, buffer_out=3D151498456 buffer_filled_in=3D305, buffer_filled_out=3D0, buffer_read_in= =3D305 Please, can someone give me a hint, what's happening in my database. What c= an I do to find the error? Shall I update my ODBC driver? Thanks in advance=20 Irina =20 ------=_NextPart_000_0009_01C2F44B.D861AE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hi all,
 
I use postgresql 7.1.3 with ODBC driver 7.= 1.0009=20 and MsAccess97 as frontend.
My database runs for 11/2 years without pr= oblems,=20 but now I had to implement an activx element in order to use the functions = of a=20 barcode reader and now something mysterious happens.
 
Although no error occurs, my ODBC connecti= on is sat=20 back and I cann't find any hint in the log file.
Here is a part of the log file:
 

conn=3D151550676, query=3D'SELECT=20 a_nr,a_bez1,a_bez2,a_bez3,a_bez4,a_vol,a_gewicht,a_bruttoG,eh_bez,barcode F= ROM=20 artikel INNER JOIN einheitbez ON artikel.eh_nr=3Deinheitbez.eh_nr WHERE a_n= r =3D=20 '14001' AND sp_id =3D 'D';'
 &nbs= p; =20 [ fetched 1 rows ]
conn=3D151550676, query=3D'SELECT AP_Preis FRO= M=20 artikelpreis WHERE pl_nr=3D3 AND a_nr =3D '14001';'
    [ fetched 1 rows=20 ]
conn=3D151487540, query=3D'SELECT "allelager"."l_nr" FROM "allelager"= =20 '
STATEMENT ERROR: func=3DSC_execute, desc=3D'', errnum=3D1, errmsg=3D'E= rror while=20 executing the query'
        = ;        =20 ------------------------------------------------------------
        = ;        =20 hdbc=3D151487540, stmt=3D153064336, result=3D0
        = ;        =20 manual_result=3D0, prepare=3D0, internal=3D0
        = ;        =20 bindings=3D0, bindings_allocated=3D0
        = ;        =20 parameters=3D0, parameters_allocated=3D0
        = ;        =20 statement_type=3D0, statement=3D'SELECT "allelager"."l_nr" FROM "all= elager"=20 '
        = ;        =20 stmt_with_params=3D'SELECT "allelager"."l_nr" FROM "allelager" '
=         = ;        =20 data_at_exec=3D-1, current_exec_param=3D-1, put_data=3D0
        = ;        =20 currTuple=3D-1, current_col=3D-1, lobj_fd=3D-1
        = ;        =20 maxRows=3D0, rowset_size=3D1, keyset_size=3D0, cursor_type=3D0,=20 scroll_concurrency=3D1
        = ;        =20 cursor_name=3D'SQL_CUR091F9390'
        = ;        =20 ----------------QResult Info -------------------------------
CONN= =20 ERROR: func=3DSC_execute, desc=3D'', errnum=3D104, errmsg=3D'Could not send= Query to=20 backend'
        = ;   =20 ------------------------------------------------------------
        = ;   =20 henv=3D152587904, conn=3D151487540, status=3D1, num_stmts=3D16
        = ;   =20 sock=3D152588544, stmts=3D152588592, lobj_type=3D-999
        = ;   =20 ---------------- Socket Info -------------------------------
        = ;   =20 socket=3D320, reverse=3D0, errornumber=3D6, errormsg=3D'Could not fl= ush socket=20 buffer.'
        = ;   =20 buffer_in=3D151472932, buffer_out=3D151498456
        = ;   =20 buffer_filled_in=3D305, buffer_filled_out=3D0,=20 buffer_read_in=3D305

 
 
Please, can someone give me a hint,= what's=20 happening in my database. What can I do to find the error? Shall I update m= y=20 ODBC driver?
 <= /DIV>
Thanks in advance=20
Irina


 

------=_NextPart_000_0009_01C2F44B.D861AE40--