Re: uploading a file that exceeds the maximum attachment size Error message will be sh
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Re: uploading a file that exceeds the maximum attachment size Error message will be sh




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: uploading a file that exceeds the maximum attachment size Error message will be sh  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-08-05 07: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
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:13 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register