Event messages from TaskMan

This topic describes troubleshooting issues related to event messages.
Note: This topic applies to only on-premises environments.

TaskMan runs as a service under Windows, called Infor Framework TaskMan, and generates event messages that you can view in the Microsoft Event Viewer. If you are having problems with a background task, you can run TaskMan in debug mode (see Running TaskMan in debug mode), which generates additional messages for the Microsoft Event Viewer.

The following messages are generated normally and do not require TaskMan to be running in debug mode. If a database exception occurs, TaskMan tries to retrieve and log the error message.

<function name> failed with return code <code> in <Taskman source file> at <Source file line number>.

Abnormal termination of Task <n> (returncode = <code>). Performing rollback.

A stored procedure background task was rolled back due to one of the following 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. <Taskman source file>: <Source file line number>

Canceling Process <taskname>, Task <n>

If TaskMan is shut down, an event log message will be printed as each running background task that is a stored procedure is canceled.

Canceling Report <taskname>, Task <n>

If TaskMan is shut down, an event log message will be printed as each running background task that is a report is canceled. Some reports might be left hanging even if TaskMan is shut down.

DSN <dsn> Database <db>. Login successful

Informational message.

Either the DSN or the SQL login was not set. <ReturnMessage>

Informational message.

RegisterServiceCtrlHandler failed with return code <n> in <Taskman source file> at <Source file line number>.

RSTaskMan shutdown: <n> tasks are running and will be canceled.

If TaskMan is shut down while tasks are running, these tasks will be canceled.

RSTaskMan starting: Version <n>

Informational message.

RSTaskMan Terminating

Informational message.

RSTaskMan Terminating - TaskMan Home Directory not properly detected

TaskMan could not determine its home directory and will shut down.

SetServiceStatus failed in <Taskman source file> at <Source file line number>.

StartServiceCtrlDispatcher failed with return code <n> in <Taskman source file> at <Source file line number>.

TaskMan was not able to start the Service Dispatcher.

TaskTypeCode not recognized

The task type was not EXE, RPT, SP, or IDOMTH.