Getting error 'Failed to retrieve remote server guid' when trying to setup Hierarchy
search cancel

Getting error 'Failed to retrieve remote server guid' when trying to setup Hierarchy

book

Article ID: 176861

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

When trying to setup Hierarchy, after finishing adding the required information, the following message appears:

Hierarchy Node Process failed. Please review the log for details.

Looking on the NS logs, the following error messages were found:

Error 1:
Priority: 1
Tick Count: 91746171
Host Name: SMPSERVER
Process: AeXSvc (5040)
Thread ID: 71
Module: AeXSVC.exe
Source: Altiris.NS.Replication.Hierarchy.AsynchronousHierarchyOperations.AddNode_Synchronous
Description: Failed to retrieve remote server guid

( Exception Details: System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<html><head><title>Error</title></head><body>No authority could be contacted for authentication.
</body></html>
--.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Altiris.NS.Replication.SystemInformation.SystemInformationWebServiceProxy.GetServerGuid()
   at Altiris.NS.Replication.SystemInformation.SystemInformationHelper.GetServerGuid(String server, String url, Int32 timeout, ICredentials credentials)
   at Altiris.NS.Replication.Hierarchy.AsynchronousHierarchyOperations.AddNode_Synchronous(HierarchyNode node, Hashtable state) )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(String strMessage, Exception exception)
   at Altiris.NS.Replication.Hierarchy.AsynchronousHierarchyOperations.AddNode_Synchronous(HierarchyNode node, Hashtable state)
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Altiris.NS.TaskManagement.TaskThread.LaunchTask()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
 )
( Extra Details:  Type=System.InvalidOperationException Src=System.Web.Services )

Error 2
Priority: 1
Tick Count: 91747218
Host Name: SMPSERVER
Process: w3wp (3280)
Thread ID: 1
Module: w3wp.exe
Source: Altiris.NS.UI.Admin.Configuration.Hierarchy.HierarchyOperations.GetAsynchronousNodeOperationPercentage
Description: Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<html><head><title>Error</title></head><body>No authority could be contacted for authentication.
</body></html>
--.

( Exception Details: System.Web.Services.Protocols.SoapException: Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<html><head><title>Error</title></head><body>No authority could be contacted for authentication.
</body></html>
--. )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(String strMessage, Exception exception)
   at Altiris.NS.UI.Admin.Configuration.Hierarchy.HierarchyOperations.GetAsynchronousNodeOperationPercentage(String operationID)
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
   at System.Web.Services.Protocols.WebServiceHandler.Invoke()
   at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
   at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
   at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
   at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
   at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
 )
( Extra Details:  Type=System.Web.Services.Protocols.SoapException Src= )

Environment

ITMS 7.x, 8.x

Cause

According to the NS logs, the issue was caused by using the wrong credentials for the Child NS server.

Resolution

Make sure that the credentials for the Child SMP server are typed correctly. Avoid using the following format:
.\username

The valid format should be:
Domain\username
computername\username