You should change the server config file. The field you are looking for is
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000"/>
</requestFiltering>
</security>
</system.webServer>
If it doesn't exist, adding it should override the defaults.