Task Server fails to register. Error: Invalid URI: The format of the URI could not be determined.
search cancel

Task Server fails to register. Error: Invalid URI: The format of the URI could not be determined.

book

Article ID: 173947

calendar_today

Updated On:

Products

Task Server IT Management Suite

Issue/Introduction

Task Server is unable to register with SMP server.

"Checking ""/TaskManagement/ClientTask/Authenticate.aspx"" with credentials domain: ""**********"" username: ""********""","Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ValidateCredentials","AtrsHost.exe","5552","Informational""

"Invalid URI: The format of the URI could not be determined.
   [System.UriFormatException @ System]
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at Altiris.DotNetLib.Interop.AeXNetComms.Web.AeXWebRequest..ctor(String requestUriString)
   at Altiris.DotNetLib.Interop.AeXNetComms.Web.AeXWebRequest.Execute(String requestUriString, Guid cnnProfileId, TimeSpan timeout, NetworkCredential credentials, Boolean isPost, String data)
   at Altiris.DotNetLib.Helpers.AtrsHttpOps.Execute(String url, Guid cnnProfileId, TimeSpan timeout, NetworkCredential credentials, Boolean isPost, String data)
   at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServerWithRetry(String url, Guid cnnProfileId, NetworkCredential credentials, String data, Int32 nMaxAttempts, TimeSpan timeout)

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.Communication.NotificationServerWebConnection.PostToNotificationServerWithRetry(String url, Guid cnnProfileId, NetworkCredential credentials, String data, Int32 nMaxAttempts, TimeSpan timeout)
   at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ValidateCredentials(String clientTaskUrl, Guid cnnProfileId, NetworkCredential credentials)
   at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.Initialize()
   at Altiris.ClientTask.Server.ClientTaskServer.RegisterTaskServer(Version taskServerVersion)
   at Altiris.ClientTask.Server.ClientTaskServer.ReRegister(Version taskServerVersion)
   at Altiris.ClientTask.Server.ClientTaskServer.ProcessRegistrationThreadProc()
   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()

","NotificationServerWebConnection","AtrsHost.exe","5552","Errors"

Environment

ITMS 8.1 and above

Cause

Missing registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\eXpress\NS Client\NSs] with server keys and subkeys containing vital information.

Resolution

Re-import missing registry key from a client machine which is managed by same SMP server.