Error: "Method not found:'Int32 LANDesk.ManagementSuite.Data.ETask.get_TargetAllUsers()' " with Software Distribution Task Properties Dialog

Version 2

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.xEndpoint Manager 2017.x

    Issue

    When performing either of the actions below from Ivanti EPM Console, you see the following error popup (can be intermittent).

     

        - Opening the properties of a software distribution task.

        - Creating a new scheduled task from 'Scheduled tasks' toolbox.

     

    System.MissingMethodException: Method not found: 'Int32 LANDesk.ManagementSuite.Data.ETask.get_TargetAllUsers()'.
       at

    LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskFolder.DistributionPackage.EnableChooseUser(Boolean bEnabled)
       at

    LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskFolder.DistributionPackage.OnLoad()

    Cause

    LANDesk.ManagementSuite.Data.dll is corrupted or not the proper build for the core server.

     

    Resolution

    1. Backup LANDesk.ManagementSuite.Data.dll at \LANDesk\ManagementSuite\ from the core server.
    2. Copy LANDesk.ManagementSuite.Data.dll from a working core server of the same version.

    3. Replace LANDesk.ManagementSuite.Data.dll with the one from the working core.