0

I have built a video site using Webmatrix 2 but when I try and upload a min of two videos .webm and .mp4 (in this case both files add up to about 34mb) I get this error... "The request filtering module is configured to deny a request that exceeds the request content length."

The site is running locally on my machine with an instance of IIS 8. I have tried adding Maxrequest and executeTimeout without any luck.

     web.config <httpRuntime maxRequestLength="2000000" executionTimeout="600" />

Any help would be appreciated

leppie
  • 115,091
  • 17
  • 196
  • 297
NickP
  • 357
  • 1
  • 7
  • 18

1 Answers1

2

For anyone interested I applied the following that sorted it out.

Read this article that explains it well:

<system.webServer>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="524288000"/>
        </requestFiltering>
    </security>
 </system.webServer>
NickP
  • 357
  • 1
  • 7
  • 18