About TaskMan debug mode messages
These are the Infor Framework Taskman service debug mode messages:
- This message is printed after a stored procedure is called:
<SPname> After Call <Taskman source file>: <Source file line number>
- TaskMan is trying to clear database connections:
Active Task Set not open: <DatabaseInfo>. <Taskman source file>: <Source file line number>
- Error while retrieving information about the home directory from which
TaskMan is executing:
Cannot find last slash. <Taskman source file>: <Source file line number>
- Informational message:
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 - TaskMan is decrementing the Running Tasks list
when the task completes:
Decrement <taskname> <tasknumber>. <Taskman source file>:<Source file line number>
- Informational message - the task is deleted from the active tasks table:
DELETE ActiveBGTasks where TaskNumber = <n>. <Taskman source file>:<Source file line number>
- Informational message - TaskMan is cleaning up report (RPT) process handles:
Delete TaskInfo handle. <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:
Error retrieving TaskMan Module Name. <Taskman source file>:<Source file line number>
- TaskMan is polling the table for active background tasks in the each
configured application database:
Increment <taskname> <tasknumber> Total requests <n> Queue size <size>. <Taskman source file>:<Source file line number>
- TaskMan is using the default values because it cannot find a matching
Intranets record:
No Intranet records found, using defaults. <Taskman source file>:<Source file line number>
- Informational message:
Opening Intranet record set. <Taskman source file>:<Source file line number>
- TaskMan pauses to make sure that SQL Server has started before trying to
access databases:
Pause to ensure SQL Server is completely up. <Taskman source file>:<Source file line number>
- TaskMan successfully queried the Intranet table and retrieved the information listed here:
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 failed while trying to run a report task:
Rpt task failed. <Taskman source file>:<Source file line number>
- Informational message:
ServiceMain starting. <Taskman source file>:<Source file line number>
- The SQL Cancel of the process and task was not successful:
SQLCancel failed. Deleting TaskInfo handle. <Taskman source file>:<Source file line number>
- TaskMan cancelled a stored procedure background task:
SQLCancel of Task <tasknumber> completed. Return Code = <n>. <Taskman source file>:<Source file line number>
- A Windows error occurred:
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>
- TaskMan tried and failed to add a task message to Background Task History:
Task <tasknumber> <taskname>. Call to AddProcessErrorLogSp failed for user <userID>. Return code = <code>. <Taskman source file>:<Source file line number>
- TaskMan cannot retrieve the Report
Options information:
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>
- Informational message:
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:s
Task <tasknumber> <taskname>. Calling sp.Call <Taskman source file>:<Source file line number>
- TaskMan cannot start a stored procedure background task:
Task <tasknumber> <taskname>. Can 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>. Cannot transact. <Taskman source file>:<Source file line number>
- Informational message:
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 - the task is deleted from the active tasks table:
Task <tasknumber> <taskname>. DELETE ActiveBGTasks where TaskNumber = <n>. <Taskman source file>:<Source file line number>
- An error occurred when TaskMan started the specified command:
Task <tasknumber> <taskname>. Error <code> <message> when starting Command - <commandline>. <Taskman source file>:<Source file line number>
- TaskMan cannot copy the output file to the OutputFile folder:
Task <tasknumber> <taskname>. Error moving file <outputfile> to <new outputfile>. <Taskman source file>:<Source file line number>
Note: Ensure that permissions are set up properly and the folder exists. - The background task has finished running:
Task <tasknumber> <taskname>. Exiting RunTask: Removing Task from List. <Taskman source file>:<Source file line number>
- This message displays the return code for an executable program
background task:
Task <tasknumber> <taskname>. GetExitCodeProcess return = <n>. <Taskman source file>:<Source file line number>
- TaskMan is retrieving specific information about the run-time user
requesting this report 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>.<Taskman source file>:<Source file line number>
Note: This information is entered in the Report Options and Intranets forms. - Informational message:
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>
- TaskMan encountered a problem attempting to open the UserNames database table:
Task <tasknumber> <taskname>. Opening user names failed. <Taskman source file>:<Source file line number>
- Informational message:
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>, Email: <email address>, Number of copies: <n>, Printer: <printer name>. <Taskman source file>:<Source file line number>
- This message is entered immediately after a background task has ended:
Task <tasknumber> <taskname>. Return = <code> WaitForSingleObject return = <code>. <Taskman source file>:<Source file line number>
- Informational message:
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>
- This is the command line TaskMan executes to run a report:
Task <tasknumber> <taskname>. Running Report: <RunReport.exe command line>.<Taskman source file>:<Source file line number>
For debugging purposes, you can paste this command line into a batch file and execute it:
RunReport.exe <Command line>
- 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 Connection Timeout <n> and opening a connection for this task. <Taskman source file>:<Source file line number>
- Informational message:
Task <tasknumber> <taskname>. Setting Process Timeout <n>. <Taskman source file>:<Source file line number>
- TaskMan cannot get the SQL login information needed to process the task:
Task <tasknumber> <taskname>. Stored Procedure call GetSQLServerLoginSp failed with return code <code> and error message <message>. <Taskman source file>:<Source file line number>
- A stored procedure background task can be committed:
Task <tasknumber> <taskname>. Successful termination of Task. Performing commit. <Taskman source file>:<Source file line number>
- TaskMan could not access the RTF file using the specified path:
Task <tasknumber> <taskname>. Unable to access <document path>.
Note: Check to see that the file and path exist and that permissions allow TaskMan access to it. - As TaskMan selects a background task to run, it changes its status to running:
Task <tasknumber> <taskname>. UPDATE ActiveBGTasks SET TaskStatusCode = 'RUNNING' where TaskNumber = <n> .<Taskman source file>:<Source file line number>
- Informational message:
Task <tasknumber> <taskname>. UPDATE BGTaskHistory SET CompletionDate = <date>, CompletionStatus = <status>, TaskErrorMsg = '<message>' where TaskNumber = <n>. <Taskman source file>:<Source file line number>
- This message displays the process ID (pid) for a background task:
Task <tasknumber> <taskname>. UPDATE BGTaskHistory SET ProcessId = <pid> WHERE TaskNumber = <n>. <Taskman source file>:<Source file line number>
Note: 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. - The user ID of the run-time user requesting the current background task:
Task <tasknumber> <taskname>. UserNames.Username = '<userID>'.<Taskman source file>:<Source file line number>
- The user ID and group name of the run-time user request the current
background task:
Task <tasknumber> <taskname>. Usernames.Username = <userID> Groupname = <groupname>.<Taskman source file>:<Source file line number>
- The number of running tasks in the system does not match the task counter value:
Taskman Error: TaskCounter is not keeping accurate count of Running Tasks. <Taskman source file>:<Source file line number>
- Informational message:
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>