We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • GZIP Compression in IIS 7.5 is not working, How to trubleshoot? Please Help ....!

    Nov 03, 2010 03:02 AM|Manoochehr|LINK

     Hi experts.

    Here is my problem:

    I'm trying to enable GZIP compression on IIS 7.5
    bun no success after hours of googleing.

    I think all the settings are ok

     In ApplicationHost.config I have this httpCompression section:

    <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" minFileSizeForComp="0">
           <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
           <staticTypes>
                 <add mimeType="text/*" enabled="true" />
                 <add mimeType="message/*" enabled="true" />
                 <add mimeType="application/x-javascript" enabled="true" />
                 <add mimeType="application/atom+xml" enabled="true" />
                 <add mimeType="application/xaml+xml" enabled="true" />
           </staticTypes>
    </httpCompression>

    And this urlCompression section:

    <urlCompression dostaticcompression="true" />

     

    and Here is Failed Request Tracing result:

       STATIC_COMPRESSION_NOT_SUCCESS     
      Reason="UNKNOWN_ERROR"  

     

    Any help would be appreciated

    urlCompression GZip httpCompression STATIC_COMPRESSION_NOT_SUCCESS Reason="UNKNOWN_ERROR"