Consultor Eletrônico



Kbase 17202: Error 778 Occurs When Using PSTimer During a Long FOR EACH Loop
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Progress 8.2B

SYMPTOM(s):

Error <read/writing> socket, ret=<n>, errno=<n>. (778)

Configuration is set in client/server mode

Application uses a timer OCX

CAUSE:

There is a known bug wherein using a timer OCX and accessing a database during the timer's "tick" event while a program is looping thru a large number of database records (any table) will cause error 778 to happen.

This bug only happens when the database is connected in true client/server mode.

FIX:

One possible workaround is to disable the timer while the program is
looping thru the records and then enabling the timer again when the
loop is done.