The only thing I know of is in the application's error event
(Application_Error method in global.asax), you should be able to check
Server.GetLastError().InnerException it should be of type HttpException
with a message "Maximum request length exceeded"... you could check for
that particular error, clear the error (server.ClearError()) and redirect
back to the input page with a value in the querystring to indicate the
error.
Karl
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Hello,
How do I handle a user uploading a file from the browser that exceeds the
limit set by
web or machine config files
global.asax or handlers or module
How can I return to the same upload page with some error to the user
Thanks
SAM