When adding a task to a job the console gets an unhandled exception
search cancel

When adding a task to a job the console gets an unhandled exception


Article ID: 165210


Updated On:


Task Server


When adding a task to a job the console gets an unhandled exception:

Unhandled error

Object reference not set to an instance of an object.
   [System.NullReferenceException @ Altiris.TaskManagement.Web]
   at Altiris.TaskManagement.Web.PreviewItemPicker.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


ITMS 7.6 and later


The web picker files are corrupted.


Verify that the following files are updated to the correct version:


To fix this you may need to reinstall Task Management then clear the temporary .net files and restart IIS.

  1. On the Symantec Management Platform (SMP) Server, logged in as the Application Identity, launch a command window.
  2. Browse to: C:\Program Files\Altiris\Symantec Installation Manager\Installs\Altiris (change the drive letter and path if the default was not kept).
  3. Find the latest version of altiris_taskmanagement, such as altiris_taskmanagement_7_6_x64.msi. You may need to do this in Windows Explorer before using the below command line. There may be a HF version.
  4. Run (latest HF version): msiexec /x altiris_taskmanagement_7_6_hf7_x64.msi SKIPAIM=1
  5. Run: msiexec /x altiris_taskmanagement_7_6_x64.msi SKIPAIM=1
  6. Once complete, run the following commands:
    1. msiexec /i altiris_taskmanagement_7_6_x64.msi SKIPAIM=1
    2. msiexec /i altiris_taskmanagement_7_6_hf7_x64.msi SKIPAIM=1
  7. Go to %temp%\Temporary ASP.NET Files and delete the contents.
  8. Back at the command window, run: iisreset

If that does not address the issue then contact support for the proper version of files for you installation.