search cancel

Error: System.Net.WebException: The remote server returned an error: (401) Unauthorized - when attempting to open /Altiris/NS/Services/NSConfigurationWebService.asmx


Article ID: 158394


Updated On:


IT Management Suite


After the initial framework of an SMP 7.1 installation is completed the database and configuration must be performed. But the configuration process fails.

Entries similar to the following are seen in the NS logs:
* Description: Initializing WebService (NSConfigurationWebServiceProxy) at Url:
*  Description: Exception encountered while verifying webservice: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Symantec.Installation.WebServiceFactory.ServiceAvailable(Type t, String webServiceRootUrl)


 There were two “A” record entries in DNS which resolve the server to two different host names:
The first second entry was the actual FQDN of the server. The first one was an alias. Therefore the installation process was first given “” as the FQDN to which to attempt to call the NSConfigurationWebService.asmx page. This caused the server to construct an authentication token as if it was attempting to access another server and not its self.
A test was performed to see if this condition existed by opening IE (while logged on as the SMP service account) and attempted to access the page using the two different FQDN records {The result was being challenged to authenticate. Even if given the proper credentials it did not give access to the page}   {Access to the configuration portal was immediately granted}


Changed the value of the following two registry strings to “” and attempted the reconfiguration of the platform in SIM

Also changing the record for the correct FQDN to use from an “A” record to a “C” record (in DNS) would probably also correct the problem.

Applies To

Symantec Management Platform 7.1 SP2 MP1