Task Server error: Invalid URI
search cancel

Task Server error: Invalid URI

book

Article ID: 176058

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Task Server is unable to register with SMP server.

9/16/2019 6:16:33 PM","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.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()  ","NotificationServerWebConnection","AtrsHost.exe","3440","Errors"


"9/16/2019 6:16:33 PM","Checking ""/TaskManagement/ClientTask/Authenticate.aspx"" with credentials domain: ""domain"" username: ""service_account""","Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ValidateCredentials","AtrsHost.exe","3440","Informational"

Environment

SMP 8.1, 8.5

Cause

Missing registry entry in [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\eXpress\NS Client\NSs]

Resolution

Export/Import registry key and values from machine without communication issues.

Or perform new installation from package