Client Management Suite

 View Only
  • 1.  Silverlight enabled pages broken

    Posted Oct 14, 2010 08:49 AM

    Hey all,

     

    I've got an issue that I have actually been dealing with since about a month after we first installed CMS 7 SP1  (now upgraded to the latest version)  The Silverlight enabled pages don't seem to work, and when we performed the upgrade to the latest version, the SIM didn't even recognize that Silverlight was installed!

    I've got an open ticket with Support on this, which has supposedly been escalated to the Dev team.  However the only answer i received was to wait for the next upgrade, and that would fix it.  Well, the upgrade is here and (with some troubles) has been installed.  No change, Silverlightis still busted.

    I'm hoping someone here can help me out.  Everytime someone accesses a Silverlight enabled page on the SMC, I get a string of identical errors on the Altiris server Application Event Log.  the error is as follows:

     

    WebHost failed to process a request.
     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/37904088
     Exception: System.ServiceModel.ServiceActivationException: The service '/Altiris/SetupPortal/Service/SetupService.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.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
       at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
       at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
       at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
       at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
       at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
       at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
       at Altiris.NS.Services.SetupPortal.ServiceFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       --- End of inner exception stack trace ---
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
     Process Name: w3wp
     Process ID: 4008

     
    The Source is System.ServiceModel 3.0, Category: WebHost, EventID: 3.
     
    There are no associated errors in the Altiris log viewer that I can tell.
     
    Does anyone have any idea what this might be?


  • 2.  RE: Silverlight enabled pages broken
    Best Answer

    Posted Oct 14, 2010 09:07 AM

    I figured it out!

    it turns out that active pages such as the Silverlight enabled ones CANNOT have multiple protocol bindings!
     

    In other words, you can't add multiple HTTP Host Headers into IIS for any website that uses Silverlight (and similar) technologies on a Server 2003 IIS implementation.  I had but two host headers bound to HTTP (the IP and the host name) to ensure I could always reach the website.  It turns out that was my issue all along!  I removed the IP host header, restarted IIS, and BAM!  I'm back in business!

    Booyah!



  • 3.  RE: Silverlight enabled pages broken

    Posted Oct 27, 2010 09:57 AM

    Thanks for the information! I experienced the same error after adding a second identity (alternative tcp port) in IIS.

    Now I know why the DS portal did not work anymore :-)

     

    Thx!