Error in loop of sending events. Will be retried in 120 seconds. Unrecognized Guid format.

book

Article ID: 224740

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

The customer started noticing the following error messages in the Agent logs on 2 of their Task Servers:

Error in loop of sending events. Will be retried in 120 seconds.
Unrecognized Guid format.
[System.FormatException @ mscorlib]
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at Altiris.ClientTask.Server.Communication.NSConnectionSettings.BaseSettings.Load()
at Altiris.DotNetLib.Constructs.TimedNullableValue`1.GetValue(DateTime utcNow)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ResolveConnectionData(String& clientTaskUrl, Guid& cnnProfileId)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.Initialize()
at Altiris.ClientTask.Server.Data.RemoteClientTaskReporting.WorkingThreadProc()

Exception logged from:
at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
at Altiris.ClientTask.Server.Logging.NSAgentLog.ReportMessage(Severity severity, String moduleName, String source, Exception exception, String message, Object[] arguments)
at Altiris.ClientTask.Server.Data.RemoteClientTaskReporting.WorkingThreadProc()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

-----------------------------------------------------------------------------------------------------
Date: 9/21/2021 4:02:11 PM, Tick Count: 10118984 (02:48:38.9840000), Size: 1.97 KB
Process: AtrsHost.exe (3760), Thread ID: 4192, Module: AtrsHost.exe
Priority: 1, Source: RemoteClientTaskReporting

 

Timed update failed.
Object reference not set to an instance of an object.
[System.NullReferenceException @ Altiris.ClientTask.Server]
at Altiris.ClientTask.Server.ClientTaskServer.OnUpdateTimer(Object unused)

Exception logged from:
at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
at Altiris.ClientTask.Server.Logging.NSAgentLog.ReportMessage(Severity severity, String moduleName, String source, Exception exception, String message, Object[] arguments)
at Altiris.ClientTask.Server.ClientTaskServer.OnUpdateTimer(Object unused)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

-----------------------------------------------------------------------------------------------------
Date: 9/21/2021 4:01:38 PM, Tick Count: 10085625 (02:48:05.6250000), Size: 1.29 KB
Process: AtrsHost.exe (3760), Thread ID: 4888, Module: AtrsHost.exe
Priority: 1, Source: Altiris.ClientTask.Server.ClientTaskServer.OnUpdateTimer

 

Environment

ITMS 8.5, 8.6

Resolution

Few things to check:

  1. Please check the registry on the problematic computer:
    Check that "MachineGuid" in "HKLM\SOFTWARE\Altiris\eXpress\NS Client\NSs" exists and it is not empty.
  2. As well, check that you are not by mistake manually targeting the Altiris Agent installation over and over this machine.
  3. The last resource, reinstall the Altiris Agent and its plug-ins.