alancnet alancnet - 11 months ago 73
ASP.NET (C#) Question

Local IIS & IIS Express hang while serving content files (JS & CSS)

On a brand new installation of Windows 7 with IIS 7.5 and Visual Studio 2013 Express, IIS and IIS Express seem to hang while serving basic content files.

The content is very simple. It consists of:

  • index.html (356 bytes)

  • cssTest.css (1,122 bytes)

  • jsTest.js (274,370 bytes)

Depending on the size of the file (but not the content), and whether I'm using Local IIS or IIS Express, browsers will freeze while downloading the content files linked to from index.html.

Internet Explorer 11 hanging on download

I've made additional screenshots and source code available at

Answer Source

It turns out this was being caused by IIS Compression Icon Compression.

In IIS, if I turned off compression, the error would cease to occur.

Disabling Compression