Maximum Request length exceeded

Hello Frd's

Sometimes on production server there are maxrequest length increase to 4 megabyte.
 4 megabyte request length by default set by request length is increase then we can get "Maximum request length exceeded" Error Message.

Solution :-

 The reason behind this error is The file size exceeds the ASP.NET maximum request length restriction.  By default this value is 4 megabytes.

if you want to support request greater then it then u need to
Increase limit in web.config file. open your web.config file and find below section and chnage the value.

< configuration >

    < system.web >

       < httpRuntime maxRequestLength="1048576" / >
   < /system.web >
< /configuration >

this will increase your request limit to 1 GB.

Posted in |


Post a Comment