|
Home > Archive > IIS Server > November 2004 > Handling Errors in Large File Uploads
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Handling Errors in Large File Uploads
|
|
| Rajeev Tipnis 2004-11-10, 5:50 pm |
|
Using IIS 6.0 / ASP.NET 1.1
My problem has to do with not being able to have custom
error handlers when the file size exceeds what the IIS is
configured to handle.
I do understand that one can change the attributes:
maxRequestLength (along with the executionTimeout) of the
httpRuntime section in web.config or machine.config to
control how much and (how long) to open up the IIS gates.
However, for the cases when the size is larger than this
configuration, we want to be able to install custom error
handlers. Is it possible to do so (it seems that IIS is
returning a generic error when this happens).
In my opinion this is a bug. Is anything being done to
fix this? Does 6.0 or its patches have anything (we could
use beta versions as well).
Thanks in advance,
Rajeev
..
| |
| [Tony Devere] 2004-11-29, 5:53 pm |
| I am not 100% sure I understand what you're saying... but I think I have an
idea of what could help you...
The metabase determines the limit for file uploads through asp in the key
ASPMaxRequestEntityAllowed
Try setting this to a higher number such as 1073741824
As far as putting in custom error handling inbetween IIS Source and the
metabase... I doubt it - I think you'd be better off getting the size of
the file (if possible) before it's uploaded - Does this make much sense?
Thank you,
Tony DeVere [MSFT]
Microsoft IIS
Newsgroup Support
tdevere@online.microsoft.com
"Please do not send email directly to this alias. This is our online
account name for newsgroup participation only."
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
|
|
|
|
|