Tag Info

New answers tagged

0

If the uploaded file is larger than allowed by IIS, it will never reach the ASP.NET runtime and your exception handling is useless. You should set uploadReadAheadSize to much higher than you want to allow, ideally only for the specific URL. And then check for the upload size in your code and display your own message. If the user uploads a huge file larger ...



Top 50 recent answers are included