IIS 7.5 ignoring HttpCompression settings in web.config

view story

http://serverfault.com – I'm trying to enable dynamic compression for the mime type application/json. In applicationHost.config, I've made the following change: <section name="httpCompression" allowDefinition="AppHostOnly" overrideModeDefault="Allow" /> I also tried unlocking the section with the following command: appcmd unlock config /section:system.webserver/httpcompression My web.config settings (same as applicationHost.config but with additional mimetype): <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> <scheme name="gzip" dll="%Windir%\sy (HowTos)