Consultor Eletrônico



Kbase P139558: What does error 794 mean?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/2/2010
Status: Verified

GOAL:

What does error 794 mean?

GOAL:

When does error 794 occur?

GOAL:

What does "User terminated abnormally. (794)" mean?

GOAL:

Usernum terminated abnormally. (794)

GOAL:

Machine that was hosting 70 clients rebooted, but I only received a 794 error in the database for a subset of these users. Why?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x

FIX:

The 794 error can occur for the following reasons:

1. We attempt to read a message from a socket. We go to view the message and there is a problem with the size of the message.
2. We attempt to read a message from a socket. When we go to view the message, there is nothing to be read.

The cases mentioned above can all occur as a result of the client system no longer communicating with the server. The reason for the communication failure can be due to a networking issue, or the client system shutdown without being able to send a signal to the server indicating it was terminating in some manner, or the port the client was communicating with the broker on was scanned. When these errors occur, there is nothing more that can be done otherthan to print the 794 error and then disconnect the client session from the database.

If the client was communicating with a server and the server was trying to read information on the socket at the time of the failure, this error will be printed. In cases where the client is unable to send a signal to server process and / or the server was not trying to read a message on the socket at the time of the failure, there is no way to detect that the remote client terminated. In these cases, client sessions would need to be cleared using TCP KeepAlive. See solution, P98399, "How does the TCP KeepAlive mechanism work" for additional details regarding how TCP KeepAlive will address these types of situations.