Overrideen ASPNet.config does not apply for legacyImpersonationPolicy
- by Grumbler85
I tried to override the <legacyImpersonationPolicy> Element, so a single application, will enable this policy (which is necessary, since this application breaks if disabled).
So my Framework64/aspnet.config states:
<configuration>
<runtime>
<legacyUnhandledExceptionPolicy enabled="false" />
<legacyImpersonationPolicy enabled="false" />
<alwaysFlowImpersonationPolicy enabled="false" />
<SymbolReadingPolicy enabled="1" />
<shadowCopyVerifyByTimestamp enabled="true"/>
</runtime>
<startup useLegacyV2RuntimeActivationPolicy="true" />
</configuration>
And a local aspnet.config file has this change:
<legacyImpersonationPolicy enabled="false" />
Procmon tells me the file is read by the w3wp.exe, but the settings will not apply.
Can anyone point out a way how to correctly override the setting?
*The Server has been restarted meanwhile, but still no changes.