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

[Solved] Access id denied error while uploading files

4 Answers 216 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kedar
Top achievements
Rank 1
Kedar asked on 01 Jul 2012, 06:29 PM
Hi,

I am getting error " Line: 1 Error : Access is denied." on click of upload button. This happens only on IE. And the error points to telerik.upload.min.js and the code line is y[0].submit.

Any inputs would be of great help.
Thanks in advance,
Kedar.

4 Answers, 1 is accepted

Sort by
0
Theo
Top achievements
Rank 1
answered on 12 Jul 2012, 04:01 PM
I'm getting exactly the same error (only when using IE).
It happens when I trigger a hidden upload by clicking an image : the file navigator appears but the chosen file is not submitted (access denied, points to telerik.upload.min.js at the same point).

 Any help is welcome,
  Thanks,
Theo.

0
Matt
Top achievements
Rank 1
answered on 20 Sep 2012, 01:46 AM
same problem. i make a custom button because i have no use for a dropzone or an ugly stock button that triggers .click() on the correct element. ie throws an access is denied error.
0
Stéphane
Top achievements
Rank 1
answered on 22 Oct 2012, 06:40 PM
Hi,

I juste solved a similar issue with IE5: Access Denied with async file upload using the Kendu UI 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...
0
Bhavesh
Top achievements
Rank 1
answered on 14 Dec 2012, 02:43 PM
Hi Stephane

I am facing the same problem when trying to upload a file, can you please advise how do you really go about changing the X-FRAME-OPTIONS: SAMEORIGIN.

Is this a code change i.e. @(Html.Telerik().Upload() or config change in web.config.?

The Telerik Version that I am using is 2012.1.214.340 (Telerik.Web.MVC)

Please advise?

Thanks
Bhavesh

Tags
Upload
Asked by
Kedar
Top achievements
Rank 1
Answers by
Theo
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Stéphane
Top achievements
Rank 1
Bhavesh
Top achievements
Rank 1
Share this question
or