This is a migrated thread and some comments may be shown as answers.

Exception thrown and not caught - IE

2 Answers 105 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
chris
Top achievements
Rank 1
chris asked on 27 Jan 2012, 05:24 PM
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

2 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 30 Jan 2012, 06:42 PM
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
0
chris
Top achievements
Rank 1
answered on 30 Jan 2012, 10:24 PM
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
Tags
AsyncUpload
Asked by
chris
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
chris
Top achievements
Rank 1
Share this question
or