I would like to increase this value
<httpRuntime maxRequestLength="2024000" executionTimeout="300"/>
But i am not sure how it is measured, MB, KB? not sure. I would like to be able to accept requests up to 50 MB.
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The property maxRequestLength indicates the maximum file upload size supported by ASP.NET. This limit can be used to prevent denial of service attacks caused by users posting large files to the server. The size specified is in kilobytes. The default is 4096 KB (4 MB). MSDN
For 50 MB you will need to set it to 51200.
Edit based on comments
The OP does not ask about executionTimeout but @barnes did in comments below. I feel to add some details about
executionTimeoutas well which is otherhttpRuntimeattribute.executionTimeout: