TaskMan debug mode messages

This topic describes TaskMan messages.
Note: This topic applies to only on-premises environments.

<SPname> After Call <Taskman source file>: <Source file line number>

This message is printed after a stored procedure is called.

Active Task Set not open: <DatabaseInfo>. <Taskman source file>: <Source file line number>

TaskMan is trying to clear database connections.

Cannot find last slash. <Taskman source file>: <Source file line number>

Error while retrieving information about the home directory from which TaskMan is executing.

Close process connection completed for Task <n>. <Taskman source file>:<Source file line number>

Informational message.

Closing database: <dsn>.<Taskman source file>:<Source file line number>

Informational message.

Closing process connection for Task <n>. <Taskman source file>:<Source file line number>

Informational message.

Decrement <taskname> <tasknumber>. <Taskman source file>:<Source file line number>

Informational message - TaskMan is decrementing the Running Tasks list when the task completes.

DELETE ActiveBGTasks where TaskNumber = <n>. <Taskman source file>:<Source file line number>

Informational message - the task is deleted from the active tasks table.

Deleting TaskInfo handle. <Taskman source file>:<Source file line number>

Informational message - TaskMan is cleaning up report (RPT) process handles.

Error retrieving TaskMan Module Name. <Taskman source file>:<Source file line number>

TaskMan retrieves its module name in order to get its home directory. There was an error in retrieving the module name, so TaskMan cannot determine its home directory.

Increment <taskname> <tasknumber> Total requests <n> Queue size <size>. <Taskman source file>:<Source file line number>

TaskMan is polling the table for active background tasks in the each configured application database.

No Intranet records found, using defaults. <Taskman source file>:<Source file line number>

TaskMan is using the default values because it could not find a matching Intranets record.

Opening Intranet record set. <Taskman source file>:<Source file line number>

Informational message.

Pause to ensure SQL Server is completely up. <Taskman source file>:<Source file line number>

TaskMan pauses to make sure that SQL Server has started before trying to access databases.

Poll=<n> Connect=<n> Process=<n> MaxNo=<n> NumRec=<n> site = <site> Intranet = <intranetname> String Table = <stringtable> URL = <URLpath> Format = <outputformat> ReportPath = <path> Email Notif = <emailnotification>. <Taskman source file>:<Source file line number>

TaskMan successfully queried the Intranet table and retrieved the information listed here.

Rpt task failed. <Taskman source file>:<Source file line number>

TaskMan failed while trying to run a report task.

ServiceMain starting. <Taskman source file>:<Source file line number>

Informational message.

SQLCancel failed. Deleting TaskInfo handle. <Taskman source file>:<Source file line number>

The SQL Cancel of the process and task was not successful.

SQLCancel of Task <tasknumber> completed. Return Code = <n>. <Taskman source file>:<Source file line number>

TaskMan canceled a stored procedure background task.

Task <tasknumber> <taskname>. An error occurred while waiting for the process to finish. Error return = <code> message = <message>. <Taskman source file>:<Source file line number>

A Windows error occurred.

Task <tasknumber> <taskname>. Call to AddProcessErrorLogSp failed for user <userID>. Return code = <code>. <Taskman source file>:<Source file line number>

TaskMan tried and failed to add a task message to Background Task History.

Task <tasknumber> <taskname>. Call to CloseSessionSp failed for task <taskname> user <userID>. Return code = <code>, Error message = <message>. <Taskman source file>:<Source file line number>

TaskMan could not retrieve the Report Options information.

Task <tasknumber> <taskname>. Call to GetTaskOptionsSp failed for task <taskname> user <userID>. Return code = <code>, Error message = <message>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Call to InitSessionContextSp failed for task <taskname> user <userId>. Return code = <code>, Error message = <message>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Calling AddProcessErrorLogSp. <commandline>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Calling sp.Call <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Can transact. <Taskman source file>:<Source file line number>

TaskMan could not start a stored procedure background task.

Task <tasknumber> <taskname>. Cannot transact. <Taskman source file>:<Source file line number>

TaskMan cannot start a transaction for a stored procedure task. The stored procedure is not executed.

Task <tasknumber> <taskname>. CloseSessionSp called with Input Parameter <sessionID>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Could not close session <sessionID>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Creating directory <directory>. Result = <code>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Database not open. Cannot enter Process Error: <message>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. DELETE ActiveBGTasks where TaskNumber = <n>. <Taskman source file>:<Source file line number>

Informational message - the task is deleted from the active tasks table.

Task <tasknumber> <taskname>. Error <code> <message> when starting Command - <commandline>. <Taskman source file>:<Source file line number>

An error occurred when TaskMan was starting the specified command.

Task <tasknumber> <taskname>. Error moving file <outputfile> to <new outputfile>. <Taskman source file>:<Source file line number>

TaskMan could not copy the output file to the OutputFile folder. Be sure permissions are set up properly, and the folder exists.

Task <tasknumber> <taskname>. Exiting RunTask: Removing Task from List. <Taskman source file>:<Source file line number>

The background task has finished running.

Task <tasknumber> <taskname>. Fax=<faxname>, Fax Server = <faxserver>, Output Format=<outputformat>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. GetExitCodeProcess return = <n>. <Taskman source file>:<Source file line number>

This message displays the return code for an executable program background task.

Task <tasknumber> <taskname>. GetTaskOptionsSp called with Input Parameters <taskname>, <userID>, <stringID> returned Output Parameters format = <output format>, printer = <printer name>, email = <email notification>, attach = <attach report>, email address = <email address>, Return code = <code>, Error message = <message>, String Table = <string table>, Fax Server = <fax server>.<Taskman source file>:<Source file line number>

TaskMan is retrieving specific information about the run-time user requesting this report background task. This information is entered in the Report Options and Intranets forms.

Task <tasknumber> <taskname>. InitSessionContextSp called with Input Parameter <taskname>, returned Output Parameter <sessionID>, Return code = <code>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. InitSessionContextSp failed. Could not call SP. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. No attachment sent: either the report was sent to the printer, the Task Type was not RPT, or the report didn't complete successfully. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Opening user names failed. <Taskman source file>:<Source file line number>

TaskMan encountered a problem attempting to open the UserNames database table.

Task <tasknumber> <taskname>. Password decrypted. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Profile Values -- String Table: <stringtable>, String ID: <stringID>, Fax: <fax name>, Email: <email address>, Number of copies: <n>, Printer: <printer name>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Return = <code> WaitForSingleObject return = <code>. <Taskman source file>:<Source file line number>

This message is entered immediately after a background task has ended.

Task <tasknumber> <taskname>. Running: <stored procedure>.<Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Running EXE: <command line>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Running Report: <RunReport.exe command line>.<Taskman source file>:<Source file line number>

This is the command line TaskMan executes to run a report. For debugging purposes, you can paste the following command line into a batch file and execute it:


RunReport.exe <Command line> 

Task <tasknumber> <taskname>. Sending Fax: <command line>

Informational message.

Task <tasknumber> <taskname>. Setting Connection Timeout <n> and opening a connection for this task. <Taskman source file>:<Source file line number>

TaskMan opened a connection for this background task that will be used to update the Task History table and to delete entries from the Active Task table in the application database.

Task <tasknumber> <taskname>. Setting Process Timeout <n>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. Stored Procedure call GetSQLServerLoginSp failed with return code <code> and error message <message>. <Taskman source file>:<Source file line number>

TaskMan could not get the SQL login information needed to process the task.

Task <tasknumber> <taskname>. Successful termination of Task. Performing commit. <Taskman source file>:<Source file line number>

A stored procedure background task can be committed.

Task <tasknumber> <taskname>. Unable to access <document path>. Fax not sent. <Taskman source file>:<Source file line number>

TaskMan could not access the RTF file using the specified path. Check to see that the file and path exist and that permissions allow TaskMan access to it.

Task <tasknumber> <taskname>. Unable to access <SendFax.exe path>. Fax not sent. <Taskman source file>:<Source file line number>

TaskMan could not access the Fax.exe utility using the specified path. Check to see that the file and path exist and that permissions allow TaskMan access to it.

Task <tasknumber> <taskname>. UPDATE ActiveBGTasks SET TaskStatusCode = 'RUNNING' where TaskNumber = <n> .<Taskman source file>:<Source file line number>

As TaskMan selects a background task to run, it changes its status to running.

Task <tasknumber> <taskname>. UPDATE BGTaskHistory SET CompletionDate = <date>, CompletionStatus = <status>, TaskErrorMsg = '<message>' where TaskNumber = <n>. <Taskman source file>:<Source file line number>

Informational message.

Task <tasknumber> <taskname>. UPDATE BGTaskHistory SET ProcessId = <pid> WHERE TaskNumber = <n>. <Taskman source file>:<Source file line number>

This message displays the process ID (pid) for a background task. You can use the process ID to trace the status of a background task in the Windows TaskMan. This ID is also displayed in the Background Task History form.

Task <tasknumber> <taskname>. UserNames.Username = '<userID>'.<Taskman source file>:<Source file line number>

The user ID of the run-time user requesting the current background task.

Task <tasknumber> <taskname>. Usernames.Username = <userID> Groupname = <groupname>.<Taskman source file>:<Source file line number>

The user ID and group name of the run-time user requesting the current background task.

Taskman Error: TaskCounter is not keeping accurate count of Running Tasks. <Taskman source file>:<Source file line number>

The number of running tasks in the system does not match the task counter value.

Taskman home directory: <homedirectory>. <Taskman source file>:<Source file line number>

Informational message.

TaskMan Stopping: Clearing database connections. <Taskman source file>:<Source file line number>

Informational message.

The maximum number of concurrently running tasks is <n>. <Taskman source file>:<Source file line number>

Informational message.

<dsn> UID <userID> PWD **** String Table=<stringtable> Poll=<n> Process Timeout=<n> Connection Timeout=<n> Max Num Tasks=<n>. <Taskman source file>:<Source file line number>

Informational message.

UPDATE BGTaskHistory SET CompletionDate = <date>, CompletionStatus = <status>, TaskErrorMsg = '<message>' where TaskNumber = <n>. <Taskman source file>:<Source file line number>

Informational message.