KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My page, when I try to upload a large file (over 10MB) displays me: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. My web.config has this <httpRuntime requestValidationMode="2.0" maxRequestLength="15000" /> and <customErrors mode="RemoteOnly" defaultRedirect="~/Errorhandling.aspx"> <error statusCode="404" redirect="~/NotFound.html" /> <error statusCode="413" redirect="~/TooBig.html" /> </customErrors> Why doesn't it redirect me to TooBig.html instead of displaying the afore-mentioned message? Note The default ASP.NET allows is 4MB, that's why I changed the maxRequestLength to 15000. (Changing it to 150000 does not make any difference at this point since I'm only testing with a maximum of 10MB)
Tags (comma-separated)
Save Edits
Cancel