Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ian 32 posts 82 karma points
    Jan 22, 2013 @ 15:08
    Ian
    0

    Can't handle Application_Error

    I'm trying to catch the 'Maximum request length exceede' exception which is thrown by ASP.net if you attempt to upload too large a file. I've tried putting...

     

        void Application_Error(object sender, EventArgs e)
        {
            // Code that runs when an unhandled error occurs     
        }

    ... in Global.asax with and without inheriting from 'umbracoGlobal' and I've tried creating an HttpModule and nothing has so far worked. Any ideas?

Please Sign in or register to post replies

Write your reply to:

Draft