Increasing Max Upload File Size on IIS7/Win7 Pro

Posted by Jay Querido on Stack Overflow See other posts from Stack Overflow or by Jay Querido
Published on 2010-05-03T16:14:08Z Indexed on 2010/05/03 16:18 UTC
Read the original article Hit count: 647

Filed under:
|
|
|

I'm setting up a server for a client (something I don't typically do), and I'm running into issues with uploading larger files (11MB). The server is running Windows 7 Professional with IIS added.

In web.config I've tried setting

<system.web>
    <httpRuntime maxRequestLength="65536" /> <!-- 64MB -->
</system.web>

... and that doesn't work.

I've set

<system.webSecurity>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="68157440" />
        </requestFiltering>
    </security>
</system.webSecurity>

... and that doesn't work either.

What am I missing here? As I've said, I don't typically set up servers, so I may be missing something obvious... no suggestion will be scoffed at!

Thanks in advance.

© Stack Overflow or respective owner

Related posts about iis

Related posts about ASP.NET