Default Limits for IIS Express

iis-7iis-express

I need to test a file upload component that will be accepting very large files. I want to test locally in my development environment but since I use IIS Express instead of IIS 7 I am not sure where to make the global change.

In IIS 7 the change cannot be made via the web.config but needs to be changed through the IIS Manager Tool. See this IIS article for an example.

Does anyone know how to make the same global change using IIS Express (in Visual Studio 2013)?

Best Solution

If the web.config change ppascualv suggested doesn't work, try putting it in the IIS Express applicationhost.config, which can be found at

%userprofile%\my documents\iisexpress\config\applicationhost.config

under

<system.webServer>

put

<security>
    <requestFiltering>
        <requestLimits maxAllowedContentLength="524288000"/>
    </requestFiltering>
</security>

This should set it as a global, unless a web.config from an application overrides it.