Kbase P10796: Error 2661 while waiting for a lock to be released
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 8.X
Progress 9.1x
SYMPTOM(s):
Disconnect from server, server received invalid message code (2661)
Message recvd while waiting: uc_wait=, msg= (3765)
Message recvd while waiting: uc_wait=1, msg=56 (3765)
PSTimer is used and the OCX.tick event retrieves the time from the server
The client is waiting for the end of a lock conflict (Record <TableName> in use by <UserName> wait or press Cancel/Ctrl-C)
CAUSE:
The OCX.tick event is generating a new request to the server while a pending one (a record request) has not been completely finished, the server terminates the connection due this event.
Usually the timer is used to have a real time clock in the application but if we set the SESSION:time-source to be the server then that will generate a new request to obtain that information from the server and the disconnection will be generated.
FIX:
The OCX PSTimer should not create a new request to the server, if a clock is being updated then it should get the local time not the remote time from the server.
Make sure no other event which generates a new request to the server is active in the OCX.tick event.