Application able to record error in OnError, but we are not able to do any redirect or so to show something meaningfull to user.
Any ideas?
I know that we can set maxRequestLength in web.config, but anyway user can exceed this limit and some normal error need to be displayed.
...
I'd like to have more than 1 setting for maxRequestLength - file size upload limitation (e.g. one for File/New, other for Picture/New). All of my Actions take additional parameters (e.g. /File/New?folderId=234).
Single setting works as expected:
<httpRuntime executionTimeout="60" maxRequestLength="1024" />
I tried to have 2 settings ...
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 the same behavior in the browser (IE or FF): "The connection to the server was reset while...
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 set properly.
I'm overriding the page's OnError method.
However, while investigating the ...
If I upload a file that is larger than the configs max request length I get a "Server Response Error: Unknown Server Error" alert popup. It asks if I want to see the response page and if I click "OK" an application error window pops up saying "Maximum request length exceeded."
I found this already...
http://stackoverflow.com/questions/...