Microsoft Content Management Server - Re: uploading a file that exceeds the maximum attachment size Error message will be sh

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2005 > Re: uploading a file that exceeds the maximum attachment size Error message will be sh





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 Re: uploading a file that exceeds the maximum attachment size Error message will be sh
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
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com