Hi,
Been battling this for a couple days now. Here's the scenario...
I have a "fake" upload button that when clicked, will invoke the click() event on the Asyncfileupload control (latest may release) which is hidden. Well, not entirely hidden, just moved off the page with absolute positioning.
It works fine and uploads the file in latest chrome and firefox 5. When it comes to IE9, I can browse and select the file but then while uploading, it throws a javascript error in the console window....
SCRIPT5: Access is denied.
SearchStart.aspx?_TSM_HiddenField_=ToolkitScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.50401.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a5da0a7c3-4bf6-4d4c-b5d5-f0137ca3a302%3ade1feab2%3af9cec9bc%3ae4bd8421, line 12 character 6725
when i dig deeper into the error it comes up on this line here:
setTimeout(function(){c.submit();g._waitTimer=setTimeout(function(){g._wait()},100)},0);
Again... this control works fine in all the other browsers... Has anyone managed to get around this issue for IE?
Comments: Hi, I juste solved a similar issue with IE5: Access Denied with async file upload. As recommended by our security guys we added the following header: x-frame-options: DENY The intent was to prevent other sites to include ours inside an IFrame. But it also prevented the file uploads using an IFrame like Kendo from working... We were able to fix it by changing the value like this: x-frame-options: SAMEORIGIN You might want to check your headers just to be shure...
Been battling this for a couple days now. Here's the scenario...
I have a "fake" upload button that when clicked, will invoke the click() event on the Asyncfileupload control (latest may release) which is hidden. Well, not entirely hidden, just moved off the page with absolute positioning.
It works fine and uploads the file in latest chrome and firefox 5. When it comes to IE9, I can browse and select the file but then while uploading, it throws a javascript error in the console window....
SCRIPT5: Access is denied.
SearchStart.aspx?_TSM_HiddenField_=ToolkitScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.50401.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a5da0a7c3-4bf6-4d4c-b5d5-f0137ca3a302%3ade1feab2%3af9cec9bc%3ae4bd8421, line 12 character 6725
when i dig deeper into the error it comes up on this line here:
setTimeout(function(){c.submit();g._waitTimer=setTimeout(function(){g._wait()},100)},0);
Again... this control works fine in all the other browsers... Has anyone managed to get around this issue for IE?
Comments: Hi, I juste solved a similar issue with IE5: Access Denied with async file upload. As recommended by our security guys we added the following header: x-frame-options: DENY The intent was to prevent other sites to include ours inside an IFrame. But it also prevented the file uploads using an IFrame like Kendo from working... We were able to fix it by changing the value like this: x-frame-options: SAMEORIGIN You might want to check your headers just to be shure...