Client Management Suite

 View Only
Expand all | Collapse all

Cant create scheduled Tasks

  • 1.  Cant create scheduled Tasks

    Posted Jan 20, 2022 04:42 AM
    In the Console i get an Error Message: An unexpected error occurred while saving this schedule. See the Altiris log for more information.
    My System:
    SMP Version 8.6
    Window Server 2019

    Tryed Solution:
    i already granted everyone modify permission and Administrators ans SYSTEM full control for "Windows\system32\Tasks"

    in the Altiris log Viewer i see Following Error Messages:

    1.
    Unable to create scheduled task: 'NS.Run PDF24 on Schedule.{3a706d38-d196-410b-9063-c33ad6f5a0e8}'

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    [System.UnauthorizedAccessException @ Altiris.Common]
    at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.PersistTask(String taskName, TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.<>c__DisplayClass6_0.<SetTask>b__0(TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.WithTaskDefinition[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, ECreateOrUpdateResult re, String profileCategory)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.SetTask(String taskName, String taskData, ECreateOrUpdateResult re)
    at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task, ECreateOrUpdateResult re)

    Exception logged from:
    at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String, String, Altiris.NS.Scheduling.ScheduleManager+ECreateOrUpdateResult)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(Altiris.Profiling.CodeProfiling.CodeProfiler, Altiris.NS.Scheduling.ScheduleManagerInteropContext, String, Altiris.NS.ItemManagement.IItemScheduling, Altiris.NS.Scheduling.ScheduleManager+ECreateOrUpdateResult, String)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(Altiris.NS.Scheduling.ScheduleManagerInteropContext, Altiris.NS.ItemManagement.IItem, String, Boolean)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(Altiris.NS.ItemManagement.IItem, String, Boolean)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(Altiris.NS.ItemManagement.ItemNotificationType, Altiris.NS.ItemManagement.IItem, String)
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(Altiris.NS.ItemManagement.ItemNotificationType, String)
    at Altiris.NS.ItemManagement.Item.SaveItemSchedule(Altiris.NS.ItemManagement.Item, Boolean)
    at Altiris.NS.ItemManagement.Item.OnSave(Boolean)
    at Altiris.TaskManagement.UI.TaskSchedule.OnSave(Boolean)
    at Altiris.NS.ItemManagement.Item.Save()
    at Altiris.NS.ItemManagement.Item.Create(System.Guid)
    at Altiris.TaskManagement.TaskExecutionHelper.ModifySchedule(Altiris.TaskManagement.UI.TaskSchedule, String, System.Guid)
    at Altiris.TaskManagement.UI.Controls.TaskSchedulingControl.Apply(Altiris.TaskManagement.UI.TaskSchedule&, Altiris.TaskManagement.Data.ITaskExecutionInstance&)
    at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object, EventArgs)
    at Altiris.WebControls.ButtonState.RaiseClick()
    at Altiris.WebControls.ButtonListControl.RaisePostBackEvent(String)
    at System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext)
    at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
    at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
    at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
    at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

    User [IIS APPPOOL\SMP Server AppPool], Auth [infra\fathm], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871424318276059]

    HTTP [POST]: http://sdeglaltiris.infra.krueger.local/Altiris/TaskManagement/TaskScheduleMaintenance.aspx?ItemGuid=e31971a5-84f9-49a6-97f4-53282a1af3fd&PageInstance=adb77e05-1da4-4908-b6fb-0898ab4375d4
    ip: [172.16.41.124]; languages: [de,de-DE;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6]; content-length: [55155];
    timings: [[R] 00:00:01.3854213(W: 00:00:00)];
    response: [200 OK]; x-smp-nsversion: [8.6.2184.0];

    -----------------------------------------------------------------------------------------------------
    Date: 20.01.2022 09:54:30, Tick Count: 68383921 (18:59:43.9210000), Host Name: SDEGLALTIRIS, Size: 5,13 KB
    Process: w3wp (17196), Thread ID: 85, Module: Altiris.NS.dll
    Priority: 2, Source: Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask
    File: C:\ProgramData\Symantec\SMP\Logs\a.log

    2.
    Unable to update the scheduling data associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    [System.UnauthorizedAccessException @ Altiris.Common]
    at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.PersistTask(String taskName, TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.<>c__DisplayClass6_0.<SetTask>b__0(TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.WithTaskDefinition[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, ECreateOrUpdateResult re, String profileCategory)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.SetTask(String taskName, String taskData, ECreateOrUpdateResult re)
    at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task, ECreateOrUpdateResult re)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(CodeProfiler cp, ScheduleManagerInteropContext tasks, String xml, IItemScheduling ische, ECreateOrUpdateResult re, String name)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(ScheduleManagerInteropContext tasks, IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)

    Exception logged from:
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(Altiris.NS.ItemManagement.ItemNotificationType, Altiris.NS.ItemManagement.IItem, String)
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(Altiris.NS.ItemManagement.ItemNotificationType, String)
    at Altiris.NS.ItemManagement.Item.SaveItemSchedule(Altiris.NS.ItemManagement.Item, Boolean)
    at Altiris.NS.ItemManagement.Item.OnSave(Boolean)
    at Altiris.TaskManagement.UI.TaskSchedule.OnSave(Boolean)
    at Altiris.NS.ItemManagement.Item.Save()
    at Altiris.NS.ItemManagement.Item.Create(System.Guid)
    at Altiris.TaskManagement.TaskExecutionHelper.ModifySchedule(Altiris.TaskManagement.UI.TaskSchedule, String, System.Guid)
    at Altiris.TaskManagement.UI.Controls.TaskSchedulingControl.Apply(Altiris.TaskManagement.UI.TaskSchedule&, Altiris.TaskManagement.Data.ITaskExecutionInstance&)
    at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object, EventArgs)
    at Altiris.WebControls.ButtonState.RaiseClick()
    at Altiris.WebControls.ButtonListControl.RaisePostBackEvent(String)
    at System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext)
    at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
    at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
    at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
    at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

    User [IIS APPPOOL\SMP Server AppPool], Auth [infra\fathm], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871424318276059]

    HTTP [POST]: http://sdeglaltiris.infra.krueger.local/Altiris/TaskManagement/TaskScheduleMaintenance.aspx?ItemGuid=e31971a5-84f9-49a6-97f4-53282a1af3fd&PageInstance=adb77e05-1da4-4908-b6fb-0898ab4375d4
    ip: [172.16.41.124]; languages: [de,de-DE;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6]; content-length: [55155];
    timings: [[R] 00:00:01.4010472(W: 00:00:00)];
    response: [200 OK]; x-smp-nsversion: [8.6.2184.0];

    -----------------------------------------------------------------------------------------------------
    Date: 20.01.2022 09:54:30, Tick Count: 68383937 (18:59:43.9370000), Host Name: SDEGLALTIRIS, Size: 5,00 KB
    Process: w3wp (17196), Thread ID: 85, Module: Altiris.NS.dll
    Priority: 1, Source: Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify
    File: C:\ProgramData\Symantec\SMP\Logs\a95.log

    3.
    Unable to update the scheduling information associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8

    Unable to update the scheduling data associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8
    [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(ItemNotificationType notificationType, String oldItemName)

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    [System.UnauthorizedAccessException @ Altiris.Common]
    at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.PersistTask(String taskName, TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.<>c__DisplayClass6_0.<SetTask>b__0(TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.WithTaskDefinition[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, ECreateOrUpdateResult re, String profileCategory)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.SetTask(String taskName, String taskData, ECreateOrUpdateResult re)
    at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task, ECreateOrUpdateResult re)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(CodeProfiler cp, ScheduleManagerInteropContext tasks, String xml, IItemScheduling ische, ECreateOrUpdateResult re, String name)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(ScheduleManagerInteropContext tasks, IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)

    Exception logged from:
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(Altiris.NS.ItemManagement.ItemNotificationType, String)
    at Altiris.NS.ItemManagement.Item.SaveItemSchedule(Altiris.NS.ItemManagement.Item, Boolean)
    at Altiris.NS.ItemManagement.Item.OnSave(Boolean)
    at Altiris.TaskManagement.UI.TaskSchedule.OnSave(Boolean)
    at Altiris.NS.ItemManagement.Item.Save()
    at Altiris.NS.ItemManagement.Item.Create(System.Guid)
    at Altiris.TaskManagement.TaskExecutionHelper.ModifySchedule(Altiris.TaskManagement.UI.TaskSchedule, String, System.Guid)
    at Altiris.TaskManagement.UI.Controls.TaskSchedulingControl.Apply(Altiris.TaskManagement.UI.TaskSchedule&, Altiris.TaskManagement.Data.ITaskExecutionInstance&)
    at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object, EventArgs)
    at Altiris.WebControls.ButtonState.RaiseClick()
    at Altiris.WebControls.ButtonListControl.RaisePostBackEvent(String)
    at System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext)
    at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
    at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
    at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
    at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

    User [IIS APPPOOL\SMP Server AppPool], Auth [infra\fathm], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871424318276059]

    HTTP [POST]: http://sdeglaltiris.infra.krueger.local/Altiris/TaskManagement/TaskScheduleMaintenance.aspx?ItemGuid=e31971a5-84f9-49a6-97f4-53282a1af3fd&PageInstance=adb77e05-1da4-4908-b6fb-0898ab4375d4
    ip: [172.16.41.124]; languages: [de,de-DE;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6]; content-length: [55155];
    timings: [[R] 00:00:01.4010472(W: 00:00:00)];
    response: [200 OK]; x-smp-nsversion: [8.6.2184.0];

    -----------------------------------------------------------------------------------------------------
    Date: 20.01.2022 09:54:30, Tick Count: 68383937 (18:59:43.9370000), Host Name: SDEGLALTIRIS, Size: 5,22 KB
    Process: w3wp (17196), Thread ID: 85, Module: Altiris.NS.dll
    Priority: 1, Source: ItemManager::SetNewItem
    File: C:\ProgramData\Symantec\SMP\Logs\a95.log

    4.

    Item save to DB failed: 3a706d38-d196-410b-9063-c33ad6f5a0e8, (fromClone=False, user=infra\fathm)

    Unable to update the scheduling information associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8
    [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(ItemNotificationType notificationType, String oldItemName)
    at Altiris.NS.ItemManagement.Item.SaveItemSchedule(Item me, Boolean bExistingItem)
    at Altiris.NS.ItemManagement.Item.OnSave(Boolean bExistingItem)
    at Altiris.TaskManagement.UI.TaskSchedule.OnSave(Boolean bExistingItem)
    at Altiris.NS.ItemManagement.Item.Save()

    Unable to update the scheduling data associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8
    [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(ItemNotificationType notificationType, String oldItemName)

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    [System.UnauthorizedAccessException @ Altiris.Common]
    at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.PersistTask(String taskName, TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.<>c__DisplayClass6_0.<SetTask>b__0(TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.WithTaskDefinition[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, ECreateOrUpdateResult re, String profileCategory)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.SetTask(String taskName, String taskData, ECreateOrUpdateResult re)
    at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task, ECreateOrUpdateResult re)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(CodeProfiler cp, ScheduleManagerInteropContext tasks, String xml, IItemScheduling ische, ECreateOrUpdateResult re, String name)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(ScheduleManagerInteropContext tasks, IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)

    Exception logged from:
    at Altiris.NS.ItemManagement.Item.Save()
    at Altiris.NS.ItemManagement.Item.Create(System.Guid)
    at Altiris.TaskManagement.TaskExecutionHelper.ModifySchedule(Altiris.TaskManagement.UI.TaskSchedule, String, System.Guid)
    at Altiris.TaskManagement.UI.Controls.TaskSchedulingControl.Apply(Altiris.TaskManagement.UI.TaskSchedule&, Altiris.TaskManagement.Data.ITaskExecutionInstance&)
    at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object, EventArgs)
    at Altiris.WebControls.ButtonState.RaiseClick()
    at Altiris.WebControls.ButtonListControl.RaisePostBackEvent(String)
    at System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext)
    at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
    at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
    at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
    at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

    User [IIS APPPOOL\SMP Server AppPool], Auth [infra\fathm], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871424318276059]

    HTTP [POST]: http://sdeglaltiris.infra.krueger.local/Altiris/TaskManagement/TaskScheduleMaintenance.aspx?ItemGuid=e31971a5-84f9-49a6-97f4-53282a1af3fd&PageInstance=adb77e05-1da4-4908-b6fb-0898ab4375d4
    ip: [172.16.41.124]; languages: [de,de-DE;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6]; content-length: [55155];
    timings: [[R] 00:00:01.4010472(W: 00:00:00)];
    response: [200 OK]; x-smp-nsversion: [8.6.2184.0];

    -----------------------------------------------------------------------------------------------------
    Date: 20.01.2022 09:54:30, Tick Count: 68383937 (18:59:43.9370000), Host Name: SDEGLALTIRIS, Size: 5,45 KB
    Process: w3wp (17196), Thread ID: 85, Module: Altiris.NS.dll
    Priority: 1, Source: Resource.SaveResourceToDatabase
    File: C:\ProgramData\Symantec\SMP\Logs\a95.log

    5.

    Unexpected exception creating new task schedule

    Unable to update the scheduling information associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8
    [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(ItemNotificationType notificationType, String oldItemName)
    at Altiris.NS.ItemManagement.Item.SaveItemSchedule(Item me, Boolean bExistingItem)
    at Altiris.NS.ItemManagement.Item.OnSave(Boolean bExistingItem)
    at Altiris.TaskManagement.UI.TaskSchedule.OnSave(Boolean bExistingItem)
    at Altiris.NS.ItemManagement.Item.Save()
    at Altiris.NS.ItemManagement.Item.Create(Guid productGuid)
    at Altiris.TaskManagement.TaskExecutionHelper.ModifySchedule(TaskSchedule sched, String scheduleXml, Guid sharedScheduleGuid)
    at Altiris.TaskManagement.UI.Controls.TaskSchedulingControl.Apply(TaskSchedule& schedule, ITaskExecutionInstance& instance)
    at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object sender, EventArgs e)

    Unable to update the scheduling data associated with the item: 3a706d38-d196-410b-9063-c33ad6f5a0e8
    [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)
    at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(ItemNotificationType notificationType, String oldItemName)

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    [System.UnauthorizedAccessException @ Altiris.Common]
    at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
    at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.PersistTask(String taskName, TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.<>c__DisplayClass6_0.<SetTask>b__0(TaskDefinition tdef)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.WithTaskDefinition[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, ECreateOrUpdateResult re, String profileCategory)
    at Altiris.NS.Scheduling.ScheduleManagerInterop2.SetTask(String taskName, String taskData, ECreateOrUpdateResult re)
    at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task, ECreateOrUpdateResult re)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(CodeProfiler cp, ScheduleManagerInteropContext tasks, String xml, IItemScheduling ische, ECreateOrUpdateResult re, String name)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(ScheduleManagerInteropContext tasks, IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(IItem item, String oldItemName, Boolean forceOldRemove)
    at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)

    Exception logged from:
    at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object, EventArgs)
    at Altiris.WebControls.ButtonState.RaiseClick()
    at Altiris.WebControls.ButtonListControl.RaisePostBackEvent(String)
    at System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest(Boolean, Boolean)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(System.Web.HttpContext)
    at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext)
    at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
    at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
    at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
    at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

    User [IIS APPPOOL\SMP Server AppPool], Auth [infra\fathm], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871424318276059]

    HTTP [POST]: http://sdeglaltiris.infra.krueger.local/Altiris/TaskManagement/TaskScheduleMaintenance.aspx?ItemGuid=e31971a5-84f9-49a6-97f4-53282a1af3fd&PageInstance=adb77e05-1da4-4908-b6fb-0898ab4375d4
    ip: [172.16.41.124]; languages: [de,de-DE;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6]; content-length: [55155];
    timings: [[R] 00:00:01.4166722(W: 00:00:00)];
    response: [200 OK]; x-smp-nsversion: [8.6.2184.0];

    -----------------------------------------------------------------------------------------------------
    Date: 20.01.2022 09:54:30, Tick Count: 68383953 (18:59:43.9530000), Host Name: SDEGLALTIRIS, Size: 5,46 KB
    Process: w3wp (17196), Thread ID: 85, Module: Altiris.TaskManagement.Web.dll
    Priority: 1, Source: Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click
    File: C:\ProgramData\Symantec\SMP\Logs\a95.log

    Also i get following error:
    Failed report task data, could not contact the service 'Altiris Client Task Data Loader'. Please make sure that service is started and functional.
    There was no endpoint listening at net.pipe://localhost/rss/ClientTaskDataReportingRemotingRequestService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
    [System.ServiceModel.EndpointNotFoundException @ mscorlib]

    Server stack trace:
    at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
    at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
    at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
    at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Altiris.DotNetLib.IRemotingRequestService.HandleRequest(String service, Hashtable parameters)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream()

    The pipe name could not be obtained for net.pipe://localhost/rss/ClientTaskDataReportingRemotingRequestService.
    [System.ServiceModel.AddressAccessDeniedException @ System.ServiceModel]
    at System.ServiceModel.Channels.PipeSharedMemory.Open(String sharedMemoryName, Uri pipeUri)
    at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)

    The pipe name could not be obtained for the pipe URI: Access is denied. (5, 0x5)
    [System.IO.PipeException @ ]


    Exception logged from:
    at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.WarnDataLoaderUnreached(Exception e)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream()
    at Altiris.DotNetLib.Threading.StringBuilderCache.ToXml(Action`1 fu)
    at Altiris.TaskManagement.Common.XmlHttp.BaseXmlXmlHttpCallback.WriteResponseRaw(XmlTextWriter xwr)
    at Altiris.TaskManagement.Common.XmlHttp.BaseXmlHttpCallback.ProcessRequest(HttpContext context)
    at Altiris.TaskManagement.ClientTask.BaseWeb.BaseNsXmlHttpHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)


    -----------------------------------------------------------------------------------------------------
    Date: 20.01.2022 09:56:44, Tick Count: 68517796 (19:01:57.7960000), Host Name: SDEGLALTIRIS, Size: 4,78 KB
    Process: w3wp (38872), Thread ID: 111, Module: w3wp.exe
    Priority: 2, Source: Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.WarnDataLoaderUnreached
    File: C:\ProgramData\Symantec\SMP\Logs\a95.log


  • 2.  RE: Cant create scheduled Tasks

    Broadcom Employee
    Posted Jan 20, 2022 04:56 AM
    Edited by Igor Perevozchikov Jan 20, 2022 05:12 AM

    Hi Mike Fidersek!

    Could you please check whether there are scheduled tasks available on NS machine in Task Scheduler?

    Try to create a scheduled task manually from "Task Scheduler". Same error?

    There is a KB article available about same error

    From this KB above, do not perform "Start the "?:\Program Files\Altiris\Notification Server\bin\AeXConfig.exe /Configureall" command, to rebuild the missing scheduled tasks. " and perform only these steps below:

    The Windows Task Scheduler needs to be re-enabled on the Notification Server.
    Or, set the permissions on C:\Windows\Tasks to read, read and execute, write for SYSTEM and Administrators.
    Once the Task Scheduler has been re-enabled, log on the the Notification Server with the Console Session (ID 0).

    After this open SMP Console -> "Settings" -> "Notification Server" -> "Shared Schedule"
    Find there "Weekly" schedule, edit it -> click "OK" in Schedule Editor dialog (so this Weekly schedule should be created and available now in "Task Scheduler"


    Manually run this Weekly schedule, so it will re-create all other shared schedules which are available in your Symantec_CMDB database and all these schedules will be available in "Task Scheduler"

    Best regards,
    IP.



    ------------------------------
    [JobTitle]
    [CompanyName]
    [State]
    ------------------------------



  • 3.  RE: Cant create scheduled Tasks

    Posted Jan 20, 2022 06:23 AM
    Its not exacly the Same. 
    I can create Scheduled Tasks in the MMC.

    If i go to for example a quick delivery task and choose schedule than i gotthat error.
    If i use run now it work. 




  • 4.  RE: Cant create scheduled Tasks

    Broadcom Employee
    Posted Jan 20, 2022 07:19 AM

    You are currently logged in on this NS server under same "Local" or "Domain" account which is also NSAppIdentity account and Altiris Services are running under this same account?

    For example Altiris Services are running under my domain account which is administrator level in Domain and locally on this NS machine.



    ------------------------------
    [JobTitle]
    [CompanyName]
    [State]
    ------------------------------



  • 5.  RE: Cant create scheduled Tasks

    Posted Jan 20, 2022 07:29 AM
    Yes. I log with RDP on the NS with the NS User:

    zbv_alti is domain Admin and local Admin



  • 6.  RE: Cant create scheduled Tasks

    Broadcom Employee
    Posted Jan 20, 2022 09:50 AM

    Yes, I see that services are running under zbv_alti but according to logs, there is another domain account accessing TaskManagement web

    User [IIS APPPOOL\SMP Server AppPool], Auth [infra\fathm], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871424318276059]

    Check whether this account is also local admin on your NS server and has permissions to "Windows\system32\Tasks"

    Check Identity in advanced settings for AppPools in IIS


    Do you use any proxy servers on Notification Server settings page?

    Best regards,

    IP.



    ------------------------------
    [JobTitle]
    [CompanyName]
    [State]
    ------------------------------



  • 7.  RE: Cant create scheduled Tasks

    Posted Jan 21, 2022 01:27 AM
    Hi Igor,

    My SMP Server AppPool looks like yours.

    fathm is the User who logged in in the Webconsole and try start the the scheduled job.
    That happens even with the "zbv_alti" User

    fathmis no local Admin on the NS and has no direct access to Tasks. (i give Everyone read and execute)

    Yes i have an Proxy Configured.

    could it be the the "IIS APPPOOL\SMP Server AppPool" the wrong authenficator?


  • 8.  RE: Cant create scheduled Tasks

    Posted Jan 21, 2022 01:33 AM
    and i have Error that a net pipe not reachable.
    Maybe it sticks together?

    looks like a permission is wrong? Because the errors say denied access.

    1.

    Failed report task data, could not contact the service 'Altiris Client Task Data Loader'. Please make sure that service is started and functional.
    There was no endpoint listening at net.pipe://localhost/rss/ClientTaskDataReportingRemotingRequestService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
    [System.ServiceModel.EndpointNotFoundException @ mscorlib]

    Server stack trace:
    at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
    at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
    at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
    at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Altiris.DotNetLib.IRemotingRequestService.HandleRequest(String service, Hashtable parameters)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream()

    The pipe name could not be obtained for net.pipe://localhost/rss/ClientTaskDataReportingRemotingRequestService.
    [System.ServiceModel.AddressAccessDeniedException @ System.ServiceModel]
    at System.ServiceModel.Channels.PipeSharedMemory.Open(String sharedMemoryName, Uri pipeUri)
    at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)

    The pipe name could not be obtained for the pipe URI: Access is denied. (5, 0x5)
    [System.IO.PipeException @ ]


    Exception logged from:
    at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.WarnDataLoaderUnreached(Exception e)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream()
    at Altiris.DotNetLib.Threading.StringBuilderCache.ToXml(Action`1 fu)
    at Altiris.TaskManagement.Common.XmlHttp.BaseXmlXmlHttpCallback.WriteResponseRaw(XmlTextWriter xwr)
    at Altiris.TaskManagement.Common.XmlHttp.BaseXmlHttpCallback.ProcessRequest(HttpContext context)
    at Altiris.TaskManagement.ClientTask.BaseWeb.BaseNsXmlHttpHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)


    -----------------------------------------------------------------------------------------------------
    Date: 21.01.2022 00:09:22, Tick Count: 119675812 (1.09:14:35.8120000), Host Name: SDEGLALTIRIS, Size: 4,79 KB
    Process: w3wp (38872), Thread ID: 140, Module: w3wp.exe
    Priority: 2, Source: Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.WarnDataLoaderUnreached
    File: C:\ProgramData\Symantec\SMP\Logs\a97.log

    2.
    Failed report task data.

    The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
    [System.ServiceModel.CommunicationObjectFaultedException @ mscorlib]

    Server stack trace:
    at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Altiris.DotNetLib.IRemotingRequestService.HandleRequest(String service, Hashtable parameters)
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream()

    Exception logged from:
    at Altiris.TaskManagement.Logging.AltirisServerLog.ReportException(Int32, String, String, Exception, String, Object[])
    at Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream()
    at Altiris.DotNetLib.Threading.StringBuilderCache.ToXml(System.Action<System.Xml.XmlTextWriter>)
    at Altiris.TaskManagement.Common.XmlHttp.BaseXmlXmlHttpCallback.WriteResponseRaw(System.Xml.XmlTextWriter)
    at Altiris.TaskManagement.Common.XmlHttp.BaseXmlHttpCallback.ProcessRequest(System.Web.HttpContext)
    at Altiris.TaskManagement.ClientTask.BaseWeb.BaseNsXmlHttpHandler.ProcessRequest(System.Web.HttpContext)
    at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
    at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
    at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
    at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

    User [INFRA\zbv_alti], Auth [INFRA\zbv_alti], AppDomain [/LM/W3SVC/1/ROOT/Altiris/TaskManagement-1-132871425128647465]

    HTTP [POST]: http://sdeglaltiris.infra.krueger.local/Altiris/TaskManagement/ClientTask/ReportTaskData.aspx?clientTaskServerGuid=b7d1c655-ff97-4f07-9478-11867912f4b4&priority=0&count=1&size=542
    ip: [172.16.153.167]; x-sma-version: [8.6.2093.0]; content-length: [542];
    timings: [[R] 00:00:00.0210447(W: -00:00:00.0015032)];
    response: [200 OK]; x-smp-nsversion: [8.6.2184.0];

    -----------------------------------------------------------------------------------------------------
    Date: 21.01.2022 00:09:22, Tick Count: 119675828 (1.09:14:35.8280000), Host Name: SDEGLALTIRIS, Size: 3,42 KB
    Process: w3wp (38872), Thread ID: 328, Module: Altiris.TaskManagement.dll
    Priority: 1, Source: Altiris.TaskManagement.ClientTask.BaseWeb.ReportTaskData.LoadStatusXmlStream
    File: C:\ProgramData\Symantec\SMP\Logs\a97.log


  • 9.  RE: Cant create scheduled Tasks

    Posted Jan 21, 2022 09:55 AM
    If i change the Application Pool Identity from "ApplicationPoolIdentity" to "local Service" i can schedule Task. So it Looks like that the Application User have not sufficent rights.


    After Testing in turn it back. because i dont knowwhat happen if i use "local service"



  • 10.  RE: Cant create scheduled Tasks
    Best Answer

    Posted Jan 28, 2022 04:48 AM

    Hi,

    the Problem is solved now. I must deactivate Digest Authentication im IIS for the Site

    Taskmanagment
    Clienttaskmanagment

    Regards