Microsoft KB Archive/190139

= Unable to Find a Message for Task Exit Code in Schedlog.txt File =

Article ID: 190139

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Internet Explorer 4.01 128-Bit Edition
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 128-Bit Edition
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q190139



SYMPTOMS
When you view the Task Scheduler log file (Schedlog.txt), you may see the following entry, or one similar to it:

Result: Unable to find a message for task exit code.



CAUSE
This issue can occur if Task Scheduler was unable to locate a message in the registry for the specific exit code that the scheduled task generated. When this occurs, Task Scheduler generates a result message in the Schedlog.txt file that is the same, or is similar to, the one listed earlier in this article.



MORE INFORMATION
Task Scheduler may not be able to find a task exit message for either of the following reasons:


 * If the program is written to work with System Agent (SAGE), it returns an exit code that Task Scheduler recognizes and can interpret. If a corresponding registry value does not exist for this code, the Task Scheduler log indicates that a message for the exit code was unable to be found.

Specifically, this can occur in Microsoft Windows 95 or Windows NT 4.0 if Task Scheduler is installed on a computer that has not had System Agent previously installed. SAGE-aware programs such as ScanDisk and Disk Defragmenter return exit codes that Task Scheduler can interpret, but if System Agent was not installed on the computer previously, the corresponding string values for the exit code messages do not exist in the registry.
 * If the program is not SAGE-aware, it may still return an exit code when it finishes. When this occurs, the Task Scheduler log also displays the message listed earlier in this article, but there is no way to determine whether or not the exit code should be interpreted by Task Scheduler.

Because the exit codes a program uses can vary, an exit code of (3) may have different meanings for different programs. However, an exit code of (0) normally means that the task completed successfully, and without any errors.

To view the Task Scheduler log, double-click My Computer, double-click Scheduled Task, and then click View Log on the Advanced menu.

The following list shows examples of exit codes:


 * (3)
 * (fff9)
 * (fffe)

For information about exit codes (result codes) and their corresponding messages that are used with some SAGE-aware programs, see the following article in the Microsoft Knowledge Base:

135962 Disk Tools Run by System Agent Pause for User Input

Additional query words: 4.00 scheduled tasks

Keywords: kbui kbprb KB190139

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.