The customer has recently added an ACC (Altiris Connectivity Credentials) account or changed the password for it. After that, the client machines and Task Servers can't register to a Task Server.
Examples like the following can be seen on the agent logs:
http://SMPserver.example.com/Altiris/TaskManagement/ClientTask/ExecTSMethod.aspx?clientTaskServerGuid=2c0e4f4f-2ddd-4fbf-9f8a-4fffc56b9f37
The remote server returned an error: (401) Unauthorized.
[System.Net.WebException @ System]
at System.Net.HttpWebRequest.GetResponse()
at Altiris.DotNetLib.Helpers.AtrsHttpOps.Execute[T](Func`2 action, String url, ICredentials credentials, Boolean isPost, Int32 timeout)
Failed to handle web service request: RegisterClient
Access is denied
[System.ComponentModel.Win32Exception @ mscorlib]
NotificationServerWebConnection.PostToNotificationServer()
The remote server returned an error: (401) Unauthorized.
[System.Net.WebException @ System]
at System.Net.HttpWebRequest.GetResponse()
at Altiris.DotNetLib.Helpers.AtrsHttpOps.Execute[T](Func`2 action, String url, ICredentials credentials, Boolean isPost, Int32 timeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServer(String url, ICredentials nsCredentials, NSWebConnectionBuildRequestStreamDelegate requestStreamDelegate, Int32 nMaxAttempts, Int32 nTimeout)
Task Execution Engine inner loop cycle failed.
The remote server returned an error: (401) Unauthorized.
[System.Net.WebException @ System]
at System.Net.HttpWebRequest.GetResponse()
at Altiris.DotNetLib.Helpers.AtrsHttpOps.Execute[T](Func`2 action, String url, ICredentials credentials, Boolean isPost, Int32 timeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServer(String url, ICredentials nsCredentials, NSWebConnectionBuildRequestStreamDelegate requestStreamDelegate, Int32 nMaxAttempts, Int32 nTimeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServer(String url, NSWebConnectionBuildRequestStreamDelegate requestStreamDelegate, Stream& respStream, StreamReader& streamRdr, XmlTextReader& xmlTxtRdr, Boolean& dataEncryped, Int32 nMaxAttempts, Int32 nTimeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ExecuteMethodOnNs(String methodName, String xmlParameters)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.GetClientTaskRequests(Guid clientTaskServerGuid, String requestXml)
at Altiris.ClientTask.Server.Execution.ClientTaskExecutionEngine.GetDatabaseWorkToDo(String requestXml)
at Altiris.TaskManagement.Common.Execution.Engine.TaskExecutionEngine.ProcessWorkToDo()
at Altiris.TaskManagement.Common.Execution.Engine.TaskExecutionEngine.OnProcess()
at Altiris.TaskManagement.Common.Execution.Engine.TaskExecutionEngine.RunTaskExecutionEngineLoop()
Loaded connection settings: resource guid=2c0e4f4f-2ddd-4fbf-9f8a-4fffc56b9f37, user name=svcsmpACC
Checking "http://SMPserver.example.com/Altiris/TaskManagement/ClientTask/Authenticate.aspx" with credentials domain: "" username: "svcsmpACC"
NotificationServerWebConnection.PostToNotificationServer()
The remote server returned an error: (401) Unauthorized.
[System.Net.WebException @ System]
at System.Net.HttpWebRequest.GetResponse()
at Altiris.DotNetLib.Helpers.AtrsHttpOps.Execute[T](Func`2 action, String url, ICredentials credentials, Boolean isPost, Int32 timeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServer(String url, ICredentials nsCredentials, NSWebConnectionBuildRequestStreamDelegate requestStreamDelegate, Int32 nMaxAttempts, Int32 nTimeout)
Failed to perform re-register.
Unauthorized
[System.Web.HttpException @ Altiris.ClientTask.Server]
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ValidateCredentials(String clientTaskUrl, NetworkCredential credentials)
at Altiris.ClientTask.Server.ClientTaskServer.RegisterTaskServer(Version taskServerVersion)
at Altiris.ClientTask.Server.ClientTaskServer.ReRegister(Version taskServerVersion)
The ACC account has been locked.
Note:
The use of ACC (Altiris Connectivity Credentials) can avoid the need of Anonymous Authentication that previously was needed, as well to avoid entries like "The remote server returned an error: (401) Unauthorized":
You have to add a "NOT" domain user as ACC account on the following places: