2 Replies Latest reply on May 25, 2009 8:06 PM by cknott

    Task Scheduler Error


      Good morning,


      I have a user that when he tries to schedule a task gets the following error:


      Time: 11/13/2008 9:44:18 AM
      Core: LANDESK


      Object reference not set to an instance of an object.


      System.NullReferenceException: Object reference not set to an instance of an object.
         at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskFolder.SummaryPanel.get_Task()
         at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskFolder.SummaryPanel.GetTaskUserList(User user)
         at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskFolder.SummaryPanel.InitOwnerComboBox()
         at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskFolder.SummaryPanel.OnLoad()
         at LANDesk.ManagementSuite.PanelObjectInterface.PanelObject.DoLoad(PanelManager panelManager)
         at LANDesk.ManagementSuite.ldPropertySheet.ldPropertySheetCtrl.loadPanelObject(String classPath, Assembly currentAssembly)
         at LANDesk.ManagementSuite.ldPropertySheet.ldPropertySheetCtrl.ParseXML(XmlNodeList psList, TreeNode parent, Assembly currentAssembly, String assemblyName)
         at LANDesk.ManagementSuite.ldPropertySheet.ldPropertySheetCtrl.LoadXMLFile(String sourceFile)
         at LANDesk.ManagementSuite.ldPropertySheet.ldPropertySheetDialog.LoadXMLFile(String file)
         at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.ScheduledTaskPanelManager..ctor(TaskNode taskNode, String xmlFileName, String connectionString)
         at LANDesk.ManagementSuite.SoftwareDistribution.WinUI.TaskScheduler.TaskNode.OnProperties()


      We've rebuilt his computer, his profile on the Landesk server we deleted his layout profile (C:\Program Files\Landesk\ManagementSuite\layouts\) as well.  If we delete his Landesk profile it works for about a day and then we have to delete the profile again.

      Anybody else see this problem?  How do I fix it?




        • 1. Re: Task Scheduler Error

          Possibly unrelated, but could the fact that the time seems to be 6 months out of date be related?


          Time: 11/13/2008 9:44:18 AM
          Core: LANDESK



          Mark McGinn

          Verismic Software - http://www.verismic.com

          Precision Engineering for Systems Management

          Check Our New Power Manager Solution

          • 2. Re: Task Scheduler Error
            cknott SupportEmployee

            Mark, I have a few questions and suggestions.


            1.  Is the issue user specific?  If a different user logs into the machine, do you get the same error when you try and schedule a job?


            2.  Is this going through a terminal server session?


            3.  Is the machine set to get time from an internet provider?  I wonder if the time being off is causing any issues.  Maybe try setting it to use local time or point to a different internet time server.


            4.  Its possible that his account is messed up.  You might want to try removing his account from the LANDesk Management Suite group on the core, deleting the account out of LANDesk, and then adding it back in.


            Also run dbrepair.exe and clean up any corruption, and a coredbutil.exe /build components would not hurt.


            Hope that helps!