[Error calling webservice. Details: 'System.ServiceModel.ServiceActivationException'.
Symptoms
After installation of the Active Navigation application and successful application of a license key, attempts to load the application web interface generates frequent web service errors of this form:
Error calling webservice. Details: 'System.ServiceModel.ServiceActivationException'
If you open a service definition page directly (e.g. http://localhost:805/Services/SchedulingAjaxService.svc) then a more detailed error message includes this information or similar:
The extended protection settings configured on IIS do not match the settings configured on the transport. The ExtendedProtectionPolicy.PolicyEnforcement values do not match. IIS has a value of WhenSupported while the WCF Transport has a value of Never.
Cause
This problem has been seen to occur when the Windows Authentication settings for Extended Protection at the root level in IIS are set to a non default value.
By default Windows Authentication is disabled at this level and Extended Protection is set to Off. If Extended Protection is set to a non default value, even if Windows Authentication is disabled, then the WebScriptServiceHostFactory class that is used to configure AJAX web services creates an incompatible configuration that leads to the errors shown above.
Resolution
The WebScriptServiceHostFactory provided by Microsoft to configure AJAX web services cannot create a configuration that is compatible with explicit settings for Windows Authentication -> Extended Protection.
For the Active Navigation web services to be able to function correctly you must restore the default global settings for Windows Authentication in IIS, or if the setting cannot be changed on the current server you will need to install the application to a different server.
To restore the required setting, open the IIS Manager, select the root element of the IIS configuration, open the Windows Authentication feature and select the Advanced Settings page as shown below:
On the Advanced Settings page set Extended Protection to Off as shown below:
Finally, restart IIS to ensure the global settings are updated. You should then be able to access the Active Navigation web application without the previous errors being shown.
Applies to
Release 4.3.x