| Stefan [MSFT] 2005-08-08, 2:49 am |
| Hi Sam,
I would suggest to add an Application_Error event handler to your
global.asax.cs.
Here you are able to catch all exceptions.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Sam" <zoujialiu@gmail.com> wrote in message
news:1123460413.179984.139870@g49g2000cwa.googlegroups.com...
> The MCMS project i am currently working on is having a issue with
> uploading big files by using attachment placeholder and imgae
> placeholder.The situation was that we could define the maximum size in
> web.config file, but it will showing "The Http exception of Maximum
> request length exceeded." or "the page error of The page cannt be
> display" once it exceeds the size we defined.
>
> Is there anyway that we could catch that exception or error? so that we
> could produces our own friendly error message like "The data you
> provided exceeds the maximum limit. Please try a smaller dataset."
>
> Any thought will be much appreciated
>
|