Could not load file or assembly 'Altiris.TaskManagement.Common. The system cannot find the file specified.
search cancel

Could not load file or assembly 'Altiris.TaskManagement.Common. The system cannot find the file specified.

book

Article ID: 172877

calendar_today

Updated On:

Products

Task Server

Issue/Introduction

Tasks show queued in the SMP Console.  Task Server agent logs show unable to find Altiris.TaskManagement.Common, Version=8.0.3780.0

Error Entry:

Could not load file or assembly 'Altiris.TaskManagement.Common, Version=8.0.3780.0, Culture=neutral, PublicKeyToken=99b1e4cc0d03f223' or one of its dependencies. The system cannot find the file specified.

  [System.IO.FileNotFoundException @ mscorlib]

  at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
  at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
  at System.Reflection.Assembly.Load(String assemblyString)
  at Altiris.DotNetLib.Reflection.ObjectCreator.Create[T](String typeAndAssembly)
  at Altiris.TaskManagement.Common.ClientTask.Events.AltirisServerStatusEvent.FromXml(XmlReader r)
  at Altiris.TaskManagement.ClientTask.Data.LocalClientTaskReporting.ParseClientTaskStatus(String eventList)
  at Altiris.TaskManagement.ClientTask.Data.LocalClientTaskReporting.SendPendingEvents()

Exception logged from:

  at Altiris.TaskManagement.ClientTask.Data.LocalClientTaskReporting.SendPendingEvents()
  at Altiris.TaskManagement.ClientTask.Data.LocalClientTaskReporting.WorkingThreadProc()
  at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
  at System.

Environment

ITMS 8.x

Cause

8.0 HF6 may have been partially installed or 8.0 was repaired without re-applying HF6.

Resolution

Scenario 1:
Reapply 8.0 HF6 to the SMP and push HF6 task server version to the task servers.


Scenario 2:
Resolved this issue in 8.1 RU7 by applying the Task Server update in the cumulative hotfixes for 8.1 RU7 as it upgraded /reinstalled the Task Services on the NS, and then the update was pushed to Task Servers. 

Post 8.1 RU7 Update is located here: Cumulative Post 8.1 RU7 Point Fixes: KB 150932