There seem to be as many non-working answers to this issue as their are forums to post them on. IIS is just that difficult at times. So, if the above actions didn't work for you, following is a list commands that the government agency I work for tries to get their Server 2012 machines working. They said that some of them might fail, but just ignore those and go on.
In short, these commands unlock portions of the tiered configuration system, so that you can adjust them via your application's web.config file. Included are areas pertaining to compression, static content,
Hope this helps!
IMPORTANT: Run the following commands individually in a command (DOS) window with administrator privileges (i.e. Right-click on Command Prompt and choose Run as Administrator).
%windir%\system32\inetsrv\appcmd unlock config -section:httpCompression
%windir%\system32\inetsrv\appcmd unlock config -section:staticContent
%windir%\system32\inetsrv\appcmd set config /section:urlCompression /doDynamicCompression:True
%windir%\system32\inetsrv\appcmd set config /section:urlCompression /doStaticCompression:True
%windir%\system32\inetsrv\appcmd set config /section:httpCompression /+staticTypes.[mimeType='text/*',enabled='true'] /commit:apphost
%windir%\system32\inetsrv\appcmd set config /section:httpCompression /+staticTypes.[mimeType='message/*',enabled='true'] /commit:apphost
%windir%\system32\inetsrv\appcmd set config /section:httpCompression /+staticTypes.[mimeType='image/*',enabled='true'] /commit:apphost
%windir%\system32\inetsrv\appcmd set config /section:httpCompression /+staticTypes.[mimeType='application/x-javascript',enabled='true'] /commit:apphost
%windir%\system32\inetsrv\appcmd set config /section:httpCompression /+staticTypes.[mimeType='application/javascript',enabled='true'] /commit:apphost
%systemroot%\system32\inetsrv\AppCmd unlock config /section:windowsAuthentication
%systemroot%\system32\inetsrv\AppCmd unlock config /section:anonymousAuthentication