For HTTP: 

 

Configured Silverlight as documented here under known issues. 

 

https://support.microsoft.com/en-us/help/4024941/update-rollup-4-for-system-center-2016-operations-manager

 

– Follow the exact same workaround mentioned below to make it work with HTTP. 

1. Click Configure in the dialog box. 

2. When you are prompted to run or save the SilverlightClientConfiguration.exe file, click Save. 

3. Run the SilverlightClientConfiguration.exe file. 

4. Right-click the .exe file, click Properties, and then select the Digital Signatures tab. 

5. Select the certificate that has Digest Algorithm as SHA256, and then click Details. 

6. In the Digital Signature Details dialog box, click View Certificate. 

7. In the dialog box that appears, click Install Certificate. 

8. In the Certificate Import Wizard, change the store location to Local Machine, and then click Next. 

9. Select the Place all certificates in the following store option and then select Trusted Publishers. 

10. Click Next and then click Finish. 

11. Refresh your browser window. 

But if Customer is using HTTPS, it will fail with the below error: 

– Now trying to access the custom dashboard and got the same error as customer is facing. 

Please provide the following information to the support engineer if you have to contact Microsoft Help and Support : 

  • System.ServiceModel.CommunicationException: [HttpWebRequest_WebException_RemoteServer] 
  • Arguments: NotFound 

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50918.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer —> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] 

Arguments: NotFound 

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50918.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer —> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] 

Arguments: NotFound 

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50918.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer 

Please follow from below steps for the customer issue to resolve. 

– So now have removed the SSL binding for the default website and kept http. 

– Also uncheck SSL required it from IIS

– Now remove the https settings from web.config file and make it as like below. 

 

   <services>       <!-- Logon Service --> 

     <service behaviorConfiguration="DefaultServiceBehavior" name="Microsoft.EnterpriseManagement.Presentation.Security.Services.LogonService">         <endpoint address="" binding="customBinding" contract="Microsoft.EnterpriseManagement.Presentation.Security.Services.ILogonService" bindingConfiguration="DefaultHttpBinding"/>       </service>       <!-- Data Access service -->       <service behaviorConfiguration="DefaultServiceBehavior" name="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.DataAccessService">         <endpoint address="" binding="customBinding" contract="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.IDataAccessService" bindingConfiguration="DefaultHttpBinding"/>       </service>     </services> 

 

– Now did IISreset 

– Now tried to access the dashboard and request for Silverlight configuration and we followed the same as mentioned here under known issues. 

 

https://support.microsoft.com/en-us/help/4024941/update-rollup-4-for-system-center-2016-operations-manager

 

– Now dashboard is accessible. 

– Tried for the other dashboard as well and all are accessible without an issue. 

– Now added the https binding under default web site. 

– So now again changed the web.config file as below. 

   <services>       <!-- Logon Service -->       <service behaviorConfiguration="DefaultServiceBehavior" name="Microsoft.EnterpriseManagement.Presentation.Security.Services.LogonService">         <endpoint address="" binding="customBinding" contract="Microsoft.EnterpriseManagement.Presentation.Security.Services.ILogonService" bindingConfiguration="DefaultHttpsBinding"/>       </service>       <!-- Data Access service -->       <service behaviorConfiguration="DefaultServiceBehavior" 

name="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.DataAccessService">         <endpoint address="" binding="customBinding" contract="Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.IDataAccessService" bindingConfiguration="DefaultHttpsBinding"/>       </service>     </services> 

 

– Enable SSL settings from IIS. 

– Now Did a IISreset 

– Custom dashboards are now accessible. 

NB: If you still have issues, please check application logs for more details, you might have an error like below. 

 

  • Log Name:      Application 
  • Source:        System.ServiceModel 4.0.0.0 
  • Date:          2019-04-11 3:13:03 PM 
  • Event ID:      3 
  • Task Category: WebHost 
  • Level:         Error 
  • Keywords:      Classic 
  • User:          IIS APPPOOL\OperationsManager 
  • Computer:      server.domain.root 
  • Description: 
  • WebHost failed to process a request. 
  • Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/43205102 
  • Exception: System.ServiceModel.ServiceActivationException: The service '/MonitoringView/Services/Logon.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. If your service is being hosted in IIS you can fix the 
  • problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'. 
  • 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. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'. 
  • 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.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) 
  •   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) 
  •   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) 
  •   --- End of inner exception stack trace --- 
  •   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) 
  •   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity) 
  • Process Name: w3wp 
  • Process ID: 16148

 

 

So if the above error exist in application logs, it could be an issue with multiple bindings in IIS. So we need to remove the bindings and recreate the one which is required.

Leave a Reply

Your email address will not be published. Required fields are marked *