If you try to access one of the links used to authenticate with the ITMS Admin app via an internet browser (in the actual SMP itself), in this case http://localhost/altiris/ITMSAdmin/v1/ITMSAdmin.svc/auth, the following error message appears in the browser:
Server Error in '/Altiris/ITMSAdmin' Application.
This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: [ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item] System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item) +15764300 System.Collections.Generic.SynchronizedCollection`1.Add(T item) +65 System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses) +62 System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +266 System.ServiceModel.Web.WebServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +10 System.ServiceModel.Activation.WebServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +42 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +427 System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +759 System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +46 System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +654 [ServiceActivationException: The service '/Altiris/ITMSAdmin/v1/ITMSAdmin.svc' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item.] System.ServiceModel.AsyncResult.End(IAsyncResult result) +15778272 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +15698617 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +265 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
Thanks for your feedback. Let us know if you have additional comments below. (requires login)