Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Upload > Uploading with RadUpload showing Page cannot be displayed error
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Uploading with RadUpload showing Page cannot be displayed error

Feed from this thread
  • nirmal avatar

    Posted on Apr 29, 2011 (permalink)

    Hi,

    I am trying to set the upload limit of a website by using the following the setting in web.config file.
    <httpRuntime maxRequestLength="5120" />
    Now when I am uploading a file of size greater than 5MB from a page(url example -http://testServer/TestProject/testPage.aspx), i get the 'Page cannot be displayed' error with the URL as http://testServer/TestProject/testPage.aspx?RadUrid=3fab3f89-6828-4dec-9fb8-84ad4cccea8e
    Now if I step through the code in debugger, I can catch the error when debug point is set at the start of the functionApplication_Error in Global.asax. But as soon as I press F11 it takes me to testPage on the browser with RadUrid appended to the URL. I want to know if I can anyway check in RadUpload if the size of selected file is greater than the maxRequestLength and then take some corrective action. If nothing then just if its possible to handle this error gracefully where I can show an error page.

  • Dimitar Terziev Dimitar Terziev admin's avatar

    Posted on May 5, 2011 (permalink)

    Hi Nirmal,

    On how to handle such server errors please refer to the following blog post here.

    All the best,
    Dimitar Terziev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Upload > Uploading with RadUpload showing Page cannot be displayed error