I'm getting this error while uploading files having size > 4MB. My web app is deployed on IIS7.
This size limit it's ok for me, but I'd like to avoid the error when someone try to upload larger files. Is it possible to just show a warning message in the uploading page? What should I do?
NOTE I want to prevent user to upload files larger than 4MB, so I don't want to increase the size limit. I just want to avoid the error to be shown to user.