Symptoms
You may be experiencing issues when working within IMan:
- Pressing the Refresh button to refresh the Preview grid does not display any results or errors.
- When an integration is scheduled immediately i.e. frequency ‘Now’, the integration runs, the audit report email is received but no results are displayed in the right hand pain.
- Pressing the Check button for the VBScript syntax check does not display success or error.
- Other UI functions are not working, and neither are they generating an error.
Probable Cause – Multiple Http Bindings to the Same Site
An issue exists with .net 3.5 where multiple http hosts are bound to a single website preventing webservices hosted in IIS from running correctly. Where there are multiple hosts each webservice request fails logging an error to the server’s Application Event Log.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/9582529 Exception: System.ServiceModel.ServiceActivationException: The service '/IMan/Schedule/JobScheduleResultsService.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 Realisable.IManWebUI.JsonServiceFactory.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: 4076 |
Viewing the IIS setup shows the two Http bindings.
Resolution
IMan must be running in a site that has a single binding for the http protocol. Where a website has two http bindings either:
- Remove one of the http bindings from the website and restart the website or;
- Create a new website with a single http binding and install IMan to that site.
Unlikely Cause – WCF Http Activation Not Installed
WCF Http Activation allows the webservice providing the audit report data to function.
Clicking on the Javascript error icon at the bottom of browser may display an error similar to:
1 2 3 4 5 |
Message: Exception thrown and not caught Line: 477 Char: 13 Code: 0 URI: http://localhost/IMan/jscript/json2.js |
Resolution
Install WCF Http Activation through Server Manager/Features.