Troubleshooting: Application event messages from TaskMan

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 have problems with a background task, you can run TaskMan in debug mode, which generates additional messages for the Microsoft Event Viewer.

These messages 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.

  • Informational message:

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

  • A stored procedure background task is 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.

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

  • Informational message:

    An unknown exception occurred. <Taskman source file>: <Source file line number>

  • 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 Process <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:

    Canceling Report <taskname>, Task <n>

    Note: Some reports might be left hanging even if TaskMan is shut down.
  • Informational message:

    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>.

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

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

  • Informational message:

    RSTaskMan starting: Version <n>

  • Informational message:

    RSTaskMan Terminating

  • TaskMan cannot determine its home directory and will shut down:

    RSTaskMan Terminating - TaskMan Home Directory not properly detected

  • Informational message:

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

  • TaskMan was not able to start the Service Dispatcher:

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

  • The task type was not EXE, RPT, SP, or IDOMTH:

    TaskTypeCode not recognized