Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an IIS7 server, which people download exe files from.

When people are using Internet explorer the download dialog box says that the size is unknown.

What setting in IIS will allow the clients to know the size of the file?

share|improve this question
Are the files being served up by an application (e.g. ASP.NET), or are they straight links to the actual exe files in question? – Cocowalla Sep 3 '10 at 10:34

IIS 7 has chunked encoding enabled by default - and according to RFC 2616 you cannot use the Content-Length header (which is used to let the client know how big the content being sent is) with chunked encoding.

I think you need to disable chunked encoding under ASP settings in IIS.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.