Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Bases de datos > Firebird e Interbase
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 10-07-2013
DamianG DamianG is offline
Miembro
 
Registrado: mar 2008
Posts: 95
Poder: 17
DamianG Va por buen camino
Error reading data from the connection...

Hola, el error ya se que estuvo tratado y todos los comentarios son que el problema es en la placa de red del cliente, cable o placa de red del servidor y que tengan solo el protocolo tcp/ip porque si esta el netbios puede dar problemas...

Retomo y copio parte del log de firebird con lo que me sale:

SRVLRS Tue Jul 09 10:37:13 2013
INET/inet_error: read errno = 10054


SRVLRS Tue Jul 09 10:37:13 2013
Unable to complete network request to host "srvlrs".
Error reading data from the connection.


SRVLRS Tue Jul 09 11:19:32 2013
INET/inet_error: read errno = 10054


SRVLRS Tue Jul 09 11:19:32 2013
Unable to complete network request to host "srvlrs".
Error reading data from the connection.


SRVLRS Tue Jul 09 12:23:13 2013
INET/inet_error: read errno = 10054


SRVLRS Tue Jul 09 12:23:13 2013
Unable to complete network request to host "srvlrs".
Error reading data from the connection.

Mis pregutas son:

1) Como me puedo dar cuenta cual maquina es la que esta generando el problema en una red?, hay forma?
2) Pueder ser que sea una consulta la que genere el problema, generalmente me da la impresion que pasa con una consulta de articulos que realizo en el sistema, la transcribo por si alguien puede darme una pista:

NOTA: Esta consulta se realiza en el "onchange" de un edit (el fin es hacer busquedas y filtrar segun lo que van escribiendo)

Código Delphi [-]
comando := 'select a.CODART,' + 'a.CODRUB,' + 'a.DESCRI,' + 'a.UNIDAD,' + 'rubros.codsub,' +
     'a.PUNPED,' + 'a.TASA1, ' + 'a.TASA2, ' + 'a.HABILI,' + 'a.TOTRUB,' +
     'a.TOTDIV,' + 'a.CODFAB,' + 'a.AVIPUN,' + 'a.AVINEG,' + 'a.CANTID,' +
      'a.CANCOM,' + 'a.CANDIS,' + 'a.CANPED,' +
      'a.CANTI2,' + 'a.CANTI3,' + 'a.CANTI4,' + 'a.CANTI5,' + 'a.IMAGEN,' +
     'a.FPREC1,' + 'a.FPREC2,' + 'a.FPREC3,' + 'a.FPREC4,' + 'a.FPREC5,' +
     'a.FPREC6,' + 'a.CUSER1,' + 'a.CUSER2,' + 'a.CUSER3,' + 'a.CUSER4,' +
     'a.CUSER5,' + 'a.CUSER6,' + 'a.UTILID,' + 'a.UTILI2,' + 'a.UTILI3,' +
     'a.UTILI4,' + 'a.UTILI5,' + 'a.CODART2,' + 'a.CODOTR,' + 'a.COSTOCD,' +
     'a.COSTOVV,' + 'a.COSTOBE,' + 'a.COSTOBG,' + 'a.COSTOBK,' + 'a.COSTO,  ' +
      'a.ELPREC1,' + 'a.ELPREC2,' + 'a.ELPREC3,' + 'a.ELPREC4,' + 'a.ELPREC5,  ' + 'a.ELPREC6,  ' +
      'a.TASAIB, ' + 'a.PREC1,  ' + 'a.PREC2,  ' + 'a.PREC3,  ' + 'a.PREC4,  ' +
     'a.PREC5,  ' + 'a.PREC6,  ' + 'a.PREC7,  ' + 'a.PREC8,  ' + 'a.PREC9,  ' + 'a.PREC10,  ' +
     'a.CANTI6, ' + 'a.CANTI7, ' + 'a.CANTI8, ' + 'a.INFUTI, ' +
     'a.TALLE,  ' + 'a.COLOR,  ' + 'a.CODBAR, ' + 'a.NROIMP, ' + 'a.PRESU20,' +
     'a.PRESU25,' + 'a.PRESU28,' + 'a.PRESU30,' + 'a.PRESU40,' +
     'a.COSSINIVA,' + 'a.D1,     ' + 'a.D2,     ' + 'a.D3,     ' +     'a.D4,     ' + 'a.D5,     ' + 'a.IMPINT,' + 'a.FLETE,' +
     'a.PRESULU,' + 'a.COSSIN,' + 'a.PRECOM,' + 'a.P1M,' + 'a.P2M,' + 'a.P3M,' +
     'a.P4M,' + 'a.P5M,' + 'a.PFINAL,' +
      'rubros.descri as desrub, fabrica.descri as desfab, otrcla.descri as desotr FROM articulo a ' +
      'left join rubros  on a.codrub = rubros.codrub ' +
     'left join fabrica on a.codfab = fabrica.codfab ' +
     'left join otrcla  on a.codotr = otrcla.codotr ';
    if xhabili = 'Activo' then
     comando := comando + 'where a.habili = ''S'' ';
    if xhabili = 'Inactivo' then
     comando := comando + 'where a.habili = ''N'' ';
    if xcampo <> '' then
   begin {    if not xfillike then 
      comando := comando + 'and (a.' + xcampo + ' starting with :' + xcampo + ' '
     else
       comando := comando + 'and (a.' + xcampo + ' containing :' + xcampo + ' ';
      comando := comando + 'or cast(a.codbar as varchar(50)) = :' + xcampo + ') ';}
      if not xfillike then
       comando := comando + 'and (a.' + xcampo + ' starting with ''' + xfildes + ''' '
     else      
  comando := comando + 'and (a.' + xcampo + ' containing ''' + xfildes + ''' ';
      comando := comando + 'or cast(a.codbar as varchar(50)) = ''' + xfildes + ''') ';
    end;
    if xmanfilbus then
   begin
     if xfilrub <> '' then
       comando := comando + 'and a.codrub = ''' + xfilrub + ''' ';
      if xfilfab <> '' then
       comando := comando + 'and a.codfab = ''' + xfilfab + ''' ';
      if xfilotr <> '' then
       comando := comando + 'and a.codotr = ''' + xfilotr + ''' ';
   end;
    if xorden = 'A' then
     comando := comando + 'order by a.descri';
   if xorden = 'N' then
     comando := comando + 'order by a.codart';
   if xorden = 'F' then
     comando := comando + 'order by a.codart2';
     datafb.query_articulo.Sql.text := comando;
    datafb.query_articulo.Open;

Acepto criticas

Muchas gracias!

Última edición por Casimiro Notevi fecha: 11-07-2013 a las 16:30:22.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Error Reading JDBProgress.SessionName ($251E) klionsis Varios 20 29-03-2011 17:33:28
error writing data to the connection nabucodonosor Conexión con bases de datos 12 02-02-2011 22:14:54
Sólo para expertos: "Error reading iError.Picture.Data:Out of system resources" sami76 Varios 2 04-10-2007 13:53:31
error reading statusbar.left dandia28 Conexión con bases de datos 0 23-06-2007 02:07:04
Error writing data to the connection. defcon1_es Firebird e Interbase 1 15-02-2005 10:36:36


La franja horaria es GMT +2. Ahora son las 01:16:54.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi