I was trying to create a scheduled task, I right clicked the distribution package and clicked 'create' but then my console crashed and hung. I restarted both my machine and the core, but the task is still listed in 'my tasks' and 'all tasks'. If I try to delete it, I get:
An error occurred
A software distribution task must have a valid name, a main distribution package, and a delivery method.
LANDesk.ManagementSuite.SoftwareDistribution.Business.InvalidSoftwareDistributionTask: A software distribution task must have a valid name, a main distribution package, and a delivery method.
at LANDesk.ManagementSuite.SoftwareDistribution.Business.SoftwareDistributionTask.InitPackageAndDeliveryMethod(Int32 packageId, Int32 deliveryMethodId)
Does anyone know how I can clear this corrupted task?
This happened to me recently. Was planning on opening a trouble ticket about it because I don't know how to get rid of the task nor really understand what caused it either.
I too have ran accross this issue before. The only way I was able to delete the task was by going into the database and removing the task from LD_TASK table.
You can execute this command below
delete from LD_TASK
where TASK_NAME = 'Task name goes here'
or you can do it by task id like
delete from LD_TASK
where LD_TASK_IDN = 'TaskID'
Thanks, that is what I figured had to be done with removing it from the table. More curious though at why it occurred though.
In my case, they have been older tasks and it looked like the package that it was using no longer existed. Don't know how that would happen since LANDesk won't let you delete a package that is scheduled.
In my case it was a brand new task. It is possible that the person building the distribution package in another location was editing or something else as I was creating the scheduled task though.
which LANDesk version do you use (LD9?) with which Service Pack 2/3 and MCP?
LANDesk told us, after SP3 you should install LD90-SP3-CP_BASE-2012-0127 too... s. here too: http://community.landesk.com/support/message/74038#74038