Application event messages from TaskMan

TaskMan runs as a Windows service called Infor Framework Taskman. This service generates event messages that you can view in the Microsoft Event Viewer. If you have problems with a background task, you can run TaskMan in debug mode, which generates additional messages for the Microsoft Event Viewer.

The messages listed here are generated normally and do not require Infor Framework Taskman to run in debug mode. If a database exception occurs, TaskMan tries to retrieve and log the error message.

Message Explanation/Description
<functionName> failed with return code <code> in <TaskManSource> at <SourceLineNr>. This error message indicates that a function call failed and provides the failure location.
Abnormal termination of Task <n> (returncode = <code>). Performing rollback. This error message indicates that a stored procedure background task was rolled back due to one of these circumstances:
  • The stored procedure generated a return code less than 0 or greater than 5.
  • Executing the stored procedure generated an exception.
An unknown exception occurred. <TaskManSource>: <SourceLineNr> This message is informational only.
Canceling Process <taskname>, Task <n> This error message indicates that a TaskMan stored procedure process was canceled because of a shutdown.
Canceling Report <taskname>, Task <n> This error message indicates that a TaskMan report task was canceled because of a shutdown.
Note: Some reports might be left hanging even if TaskMan is shut down.
DSN <dsn> Database <db>. Login successful This message is informational only.
Either the DSN or the SQL login was not set. <ReturnMessage> This message is informational only.
RegisterServiceCtrlHandler failed with return code <n> in <TaskManSource> at <SourceLineNr>. This error message indicates that a critical handler for a background task failed.
RSTaskMan shutdown: <n> tasks are running and will be canceled. This informational message indicates that, if TaskMan is shut down while tasks are running, those tasks will be canceled.
RSTaskMan starting: Version <n> This message is informational only.
RSTaskMan Terminating This message is informational only.
RSTaskMan Terminating - TaskMan Home Directory not properly detected This error message indicates that TaskMan cannot determine its home directory and will shut down.
SetServiceStatus failed in <TaskManSource> at <SourceLineNr>. This message is informational only.
StartServiceCtrlDispatcher failed with return code <n> in <TaskManSource> at <SourceLineNr>. This error message indicates that TaskMan was not able to start the Service Dispatcher.
TaskTypeCode not recognized This error message indicates that the value for the Executable Type setting (from the Background Task Definitions form) was not valid.