Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 a website running on IIS7.5 on a Windows 2008 R2 server. I'm attempting to download a file from the site that is 3GB. But the download just stops at 2GB. No error in the log.

What I have done:

Set maxRequestEntityAllowed to 10000000 for the site.
Set maxRequestEntityAllowed to 10000000 for IIS.

Any ideas?

share|improve this question
Were you using IE 7 at the time of this question? – Ek0nomik Jun 17 '14 at 16:26
@Ek0nomik -- HAHAHAHA. Nope. – NitroxDM Jun 17 '14 at 16:56
You never accepted an answer or answered your own question. Did you end up resolving the issue? If so, you should add answer. The current answer seems irrelevant as that's for request filtering. – Ek0nomik Jun 17 '14 at 18:54
@Ek0nomik -- It's still an issue. Thus the lack of a accepted answer or an answer provided by me. – NitroxDM Jun 18 '14 at 17:28

I am not entirely sure what maxRequestEntityAllowed does, but, I know maxAllowedContentLength should work, just make sure you add it to the correct place inside your web.config file.

As you said you do not have an existing web.config file create one with the following:

<?xml version="1.0" encoding="utf-8"?>
                <requestLimits maxAllowedContentLength=”9999999999″ />
share|improve this answer
There isn't a config for this site... so I'll give it a go with a blank config and see what happens. – NitroxDM Nov 4 '11 at 22:55
@NitroxDM How did you do the setting in the site like you said in your question? :/ – William Hilsum Nov 4 '11 at 23:04 -- I'm guessing that is just for caching... but it's the closest thing I have found so far. – NitroxDM Nov 4 '11 at 23:17
Doesn't seam to matter where I put it I get an error "the configuration section 'Security' cannot be read because it is missing a section declaration." – NitroxDM Nov 4 '11 at 23:25
@NitroDM, ... Ok, I have updated the question, copy and paste exactly in to a new web.config file, and put it in the same folder as the file. – William Hilsum Nov 4 '11 at 23:30

I tried all these things plus the asp limits thing - you have to have the following in a web.config file in the root of the website:

           <mimeMap fileExtension=".ad3" mimeType="application/octet-stream" />
           <mimeMap fileExtension=".torrent" mimeType="application/octet-stream" />
           <mimeMap fileExtension=".*" mimeType="application/octet-stream" />

That's a day and night fix for me...

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .