Upgrading CS2007 to CS2008 - DynamicStyle.aspx in IE6
Posted by Anders Vindberg
in Lunarmedia Blog
on the 19 Aug. 2008 (54,285 views).
When upgrading a website it is usual to setup a test site of the new version. In doing so, it is important to get all IIS settings moved aswell. When Http Compression (IIS6.0) is enabled at a website running Community Server it is crucial that you disable compression on the DynamicStyle.aspx file located in your Themes/[your theme]/style/ folder. An error in IE6 will make your website display wrongly when you click using the main navigation menu. It will only display correctly (and load the DynamicStyle.aspx file) when you do a hard ctrl+F5 refresh.
To disable HTTP compression on a single file, i've made the following simple batch file: IIS6 HTTP compression on single file.zip Remember to edit the file and change the "[Identifier number]" part to your website identifier number (can be found in IIS Manager when listing all sites).
For general information about IIS6 Compression check my earlier post: IIS6 Http Compression in four easy steps