Overrideen ASPNet.config does not apply for legacyImpersonationPolicy

Posted by Grumbler85 on Server Fault See other posts from Server Fault or by Grumbler85
Published on 2014-06-11T09:02:39Z Indexed on 2014/06/11 9:26 UTC
Read the original article Hit count: 215

Filed under:
|
|
|

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.

© Server Fault or respective owner

Related posts about iis

Related posts about iis7.5