Are there any special considerations that need to be made when upgrading websites from
Windows 2008 R2 / IIS 7.5
to
Windows 2012 / IIS 8.0 ?
Some information that might be pertinent, I don't know, but in my sites, I use Negotiate:Kerberos
as my Windows Authentication Provider and that is combined with an SPN
inside my Service Endpoint Identity.
Here's my error:
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Now, the error is complaining about this line under the <system.webServer>
config section:
<windowsAuthentication enabled="true" authPersistNonNTLM="true" useKernelMode="false">
Here is a condensed version of the <system.webServer>
config section :
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="false" />
<basicAuthentication enabled="false" />
<clientCertificateMappingAuthentication enabled="false" />
<digestAuthentication enabled="false" />
<iisClientCertificateMappingAuthentication enabled="false" />
<windowsAuthentication enabled="true"
authPersistNonNTLM="true"
useKernelMode="false">
<extendedProtection tokenChecking="None" />
<providers>
<clear />
<add value="Negotiate:Kerberos" />
</providers>
</windowsAuthentication>
</authentication>
</security>
<!--required for impersonation-->
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
Here is a condensed version of the <system.serviceModel>
config section :
<system.serviceModel>
<services>
<service name="Deploy.Web.Services.Service"
behaviorConfiguration="DeployServiceBehavior">
<endpoint binding="basicHttpBinding"
bindingConfiguration="DeployBasicHttpBinding"
behaviorConfiguration="DeployEndpointBehavior"
contract="Deploy.Web.Services.IService">
<identity>
<dns value="" />
<servicePrincipalName value="HTTP/SERVERNAME" />
</identity>
</endpoint>
</service>
</services>
</system.serviceModel>