Task Server installed on Site Server is not registering to itself. Also clients don't register to it.
search cancel

Task Server installed on Site Server is not registering to itself. Also clients don't register to it.

book

Article ID: 155009

calendar_today

Updated On:

Products

Task Server

Issue/Introduction

Task Server installed on Site Server is not registering to itself and clients can not register to it as well.
Following are some error messages that can be found in the Agent Logs (other error types can be shown as well):

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: File Monitoring
Event ID: 1185
Date: 8.9.2011
Time: 9:27:47
User: N/A
Computer: <CUSTOMER COMPUTER NAME>
Description:
Failed to start monitoring changes to '<AGENT INSTALLATION DRIVE>:\Altiris\Altiris Agent\Package Server Agent' because access is denied.

Application virtual path: '/Altiris/ClientTaskServer'

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

=================================================================================================================

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1334
Date: 8.9.2011
Time: 9:27:45
User: N/A
Computer: <CUSTOMER COMPUTER NAME>
Description:
Failed to initialize the AppDomain:/LM/W3SVC/1/Root/Altiris/ClientTaskServer

Exception: System.IO.FileLoadException

Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.

StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

=================================================================================================================

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1088
Date: 8.9.2011
Time: 9:27:45
User: N/A
Computer: <CUSTOMER COMPUTER NAME>
Description:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Environment

ITMS 8.x

Cause

This issue is caused by a lack of permissions for the ASPNET account on the Task server and/or package server folders under Altiris agent folder.

Resolution

Add "ASPNET" and "NETWORK SERVICE" account of the local host to "Client Task Agent" and "Package server agent" folders allowing - Read & Execute - List Folder - Read.

Then restart IIS.