Problem
- Schedule a patch repair task.
- Copy the scheduled task so there is a duplicate of it.
- Delete either copy of the task and an error occurs.
- The scheduled task can no longer be deleted.
Exception of type 'LANDesk.SWD.Package.Data.EPackage+TaskReferencesMe' was thrown. LANDesk.SWD.Package.Data.EPackage+TaskReferencesMe: Exception of type 'LANDesk.SWD.Package.Data.EPackage+TaskReferencesMe' was thrown. at LANDesk.SWD.Package.Data.EPackage.VerifyCanDelete(Int32 pkgId) at LANDesk.SWD.Package.Data.EPackage.OnDeleteFromDB() at LANDesk.ManagementSuite.Data.Exportable.DeleteFromDB() at LANDesk.ManagementSuite.Data.ETask.OnDeleteFromDB() at LANDesk.ManagementSuite.Data.Exportable.DeleteFromDB() at LANDesk.ManagementSuite.SoftwareDistribution.Business.Task.Delete() at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.FilteredTasksGroup.OnDeleteChildren(TreeListNodeCollection nodes)
Cause
There is a defect in 9.6 that causes this behavior.
This will be corrected in 9.6 SP1.
Solution / Workaround
Until 9.6 SP1 is released, avoid duplicating repair tasks, and instead create new tasks as needed.
If you have experienced this issue already, and have orphaned tasks, contact LDMS support for information on how to manually remove them from the database.