Questions tagged [maxrequestlength]
35 questions
0
votes
3 answers
Handling maximum request length exceeded
I would like to know, which is the best way to handle "maximum request length exceeded" error in my application. I have asp.net application in which the user is allowed to upload file(pdf or image). I would like to handle the error. I did some…

Arti
- 2,993
- 11
- 68
- 121
0
votes
1 answer
how many request can be handled by Request.Files mvc asp.net?
When I uploaded about 18 files at a time the browser showed following error:
Maximum request length exceeded.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
…

kadeer khan
- 41
- 1
- 6
0
votes
1 answer
How can you know that current request exceeds maxRequestLength in ASP.Net?
I'm developing a small web application in ASP.Net (framework version 3.5) using VS2008 and C# 3.0. There's a file upload, and I want to make sure that the whole request doesn't exceed 5 MB.
I configured the web.config file and maxRequestLength is…

Ron Klein
- 9,178
- 9
- 55
- 88
0
votes
1 answer
elegant maxrequest handler
Another question from me. This wont be an easy one!
I'm having issues with handling a simple upload.
Pre Requirements to test with:
- No Flash (hijacking)
- Basic upload field usage + form to post
- Max file size is 20MB (web.config…

PcPulsar
- 444
- 6
- 18
0
votes
3 answers
ASP.NET FileUpload failure
Trying to upload a large file (20MB), I set the maxRequestLength to a high enough level (and the expiration time too) in the httpRuntime entry of web.config. The Event Log stopped reporting that the post size exceeds allowed limits, but I still get…

bobuva
- 183
- 1
- 1
- 14