“Maximum request length Exceeded” error while uploading files in normal & also in umbraco

You may get error that “Maximum request length Exceeded” while uploading the files of bigger size…

By default we can upload file having size less than 4mb .

To change this …. do this things….

Please put this your web.config file inside the

Where maxRequestLength is the length of the file in kb.&
Add this inside your

Where maxAllowedContentLength is length of the file in the bytes

By setting this you will be allowed to upload files upto 100mb …

If you want to upload files greater than 100mb then just change maxRequestLength

& maxAllowedContentLength