"The launch of the server (SASApp - Workspace Server) process failed with an unknown status code" error might occur with the SAS Workspace Server


Intermittent connection failures to a SAS Workspace Server might occur when the KEEPALIVE object server parameter is enabled.

The object spawner log contains an error similar to the following:

The launch of the server (SASApp - Workspace Server) process failed with an unknown status code.

In addition, a tk.reportlog file might be generated with the following content:

ERROR: The system has encountered an unhandled Exception.
     : Please contact technical support and provide them
     : with the following traceback and system dump information:
ABORT:   SAS/TK is aborting
     :  Abort Log file [tk.reportlog.####]
     :  ---------------------------------------
     :  Time [date/time ]
     :  ---------------------------------------
     : Thread Name [KeepAliveThread]

Workaround

To circumvent this issue, remove the KEEPALIVE object server parameter from the SAS Workspace Server definition and restart the object spawner to pick up the change.