HTTP Error 400 Bad request
Or
Unable to upload large/bigger files on to web server (IIS)
Include the following setting in your Web.config file.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1000000000" />
</requestFiltering>
</security>
</system.webServer>
It allows upto 1000MB file to be uploaded.
The same can be achieved by the following command too.
%windir%\system32\inetsrv\appcmd set config "Default Web Site/<your app>" -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000000
Or
Unable to upload large/bigger files on to web server (IIS)
Include the following setting in your Web.config file.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1000000000" />
</requestFiltering>
</security>
</system.webServer>
It allows upto 1000MB file to be uploaded.
The same can be achieved by the following command too.
%windir%\system32\inetsrv\appcmd set config "Default Web Site/<your app>" -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000000