The page was not displayed because the request entity is too large. RRS feed

  • Question

  • User1510859543 posted

    We have a website to allow customers to upload up to 7 images.  If the total size is large we get the above error.  I looked up the error and it was suggested to add the line below to the web.config file.  When I did that the website blew an http 500 error with no trace of why. If I took the line out of web.config the error 500 went away.  What can I do to fix this and also, is there a way in js or jQuery where I can check the size of files before uploading?

    <serverRuntime uploadReadAheadSize="10485760" />

    Monday, July 22, 2019 11:14 PM

All replies