we.config
<configuration> ... <system.web> ... <httpRuntime maxRequestLength="1048576"/> ... </system.web> ... </system.webServer> ... <security> <requestFiltering> <requestLimits maxAllowedContentLength="1073741824" /> </requestFiltering> </security> ... </system.webServer> ... </configuration>
set to 1 gigabyte
maxAllowedContentLength -> bytes;
maxRequestLength -> kilobytes.