Task Server Error: 'Error in SetWorkFolder ()'
search cancel

Task Server Error: 'Error in SetWorkFolder ()'

book

Article ID: 176732

calendar_today

Updated On:

Products

IT Management Suite Task Server

Issue/Introduction

Why am I getting the following error in my Altiris Agent logs?

Priority: 2
Date: 16/06/2008 13:51:23
Tick Count: 78390
Host Name: Client
Process: AeXNSAgent.exe (1576)
Thread ID: 2964
Module: SWDAgentForTS.dll
Source: SWDTSPAgent
Description: Task can run only when some user is logged on, but currently no user logged on

Priority: 1
Date: 16/06/2008 13:51:23
Tick Count: 78390
Host Name: Client
Process: AeXNSAgent.exe (1576)
Thread ID: 2964
Module: SWDAgentForTS.dll
Source: SWDTSPAgent
Description: Prerequisites are not satisfied, task will not run

Priority: 2
Date: 16/06/2008 13:51:23
Tick Count: 78437
Host Name: Client
Process: AeXNSAgent.exe (1576)
Thread ID: 2964
Module: AexPackageDelivery.dll
Source: PackageDelivery
Description: Error in SetWorkFolder(): Cannot lock work folder The process cannot access the file because it is being used by another process. (-2147024809). New folder: C:\Program Files\Altiris\Altiris Agent\SWDAgentForTS (current folder: )

Priority: 1
Date: 16/06/2008 13:57:41
Tick Count: 456437
Host Name: Client
Process: AeXNSAgent.exe (1576)
Thread ID: 4756
Module: SWDAgentForTS.dll
Source: SWDTSPAgent
Description: Failed to launch program: Failed to start SWD task: The system cannot find the file specified. (-2147024894)
Priority: 1
Date: 16/06/2008 13:57:41
Tick Count: 456437
Host Name: Client
Process: AeXNSAgent.exe (1576)
Thread ID: 4756
Module: SWDAgentForTS.dll
Source: SWDTSPAgent
Description: Failed to launch program, task will not run

Cause

We found that the package that was associated with this SWD Task Server Job did not have the correct Package Server assignment for the targeted resource, so the NSAgent was not receiving any codebases for the package.

Resolution

Once we added the correct Package server assignment to this package, it was downloaded and these errors and warnings were no longer being recorded.


Applies To

NS 6.0.6074 R7

Task Server GA and SP1