Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > AsyncUpload > Exception thrown and not caught - IE

Answered Exception thrown and not caught - IE

Feed from this thread
  • chris avatar

    Posted on Jan 27, 2012 (permalink)

    Hello everyone,

    I am using The AsyncUpload in a Asp.Net app and it seems that only in IE we are having a problem when we try to upload a file. We have had testers try to upload a file that is 55MB's and we are only allowing 3MB files to be uploaded. What happens is that when the file is in the process of being uploaded we get a Javascript error and the file just stops uploaded but we cannot disable a message or anything to the user to tell them what happened. 

    This is the error that I am getting:

    Exception thrown and not caught  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=LogoffWarning1_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.3.1305.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ac331b262-facd-47ae-9de3-709a764247d7%3a16e4e7cd%3af7645509%3a8674cba1%3a7c926187%3ab7778d6c%3ac08e9f8a%3a59462f1%3aa51ee93e%3a24ee1bba%3a52af31a4%3af46195d3%3a874f8ea2%3a19620875%3a490a9d4e%3abd8f85e4, line 7191 character 1 

    I looked in the code and the error is firing on the actual Catch statement. 

    Line 7190: try(B=a.parseJSON(z.body.innerHTML);
    Line 7191: } catch(A){j(y);

    Any ideas?

    Thank you,
    Chris

    Reply

  • Answer Bozhidar Bozhidar admin's avatar

    Posted on Jan 30, 2012 (permalink)

    Hi Chris,

    In order to troubleshoot this issue, please specify the exact version of the controls that you are using. Also once your page is loaded please try execute the following java script
    var async = $find("AsyncUpload1");
    async.get_loadedModuleName();
    in order to get the name of the uploaded module which has been utilized by the RadAsyncUpload.
     
    All the best,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • chris avatar

    Posted on Jan 30, 2012 (permalink)

    Bozhidar ,

    It seems with some further testing and finding out the module name that the problem was caused by 1 issues. 

    1. I was trying to execute $row.insertAdjacentHTML() on browsers that did not support it. 
    2. We where getting a 404.14 error when the file was uploading because the file was larger than what our request length offered. 

    This problem has been fixed now. 

    Thank you.

    -Chris

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > AsyncUpload > Exception thrown and not caught - IE
Related resources for "Exception thrown and not caught - IE"

ASP.NET AsyncUpload Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]