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

Access denied issue (stopFrameSubmit) when upload fails

9 Answers 159 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Lili
Top achievements
Rank 1
Lili asked on 07 Dec 2012, 03:17 AM
We have a modal that contains the upload control and if the file is not attached successfully, when the user tries to submit the form, we get a permission denied error. 

LOG: Server response: Error trying to get server response: Error: Access is denied.

We traced that the error is caused by a code in kendo.web.min.js > stopFrameSubmit:

e.contentWindow.location.href=e.contentWindow.location.href


I've also searched similar topics and came across the IE issue of upload not working across different domains. However, this is not the case for us since we don't make use of another domain in our site. Further research led me to another forum thread saying that IE denies access to the IFrame content when the response code is not 200 OK. If this is the case for other browsers such as IE, does this mean that there should be a change in the above code to accommodate this behavior?

9 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 07 Dec 2012, 09:58 AM
Hi,

Thank you for taking the time to investigate this issue.

I'd say that you can ignore the error, if it's not visible to the user. Of course, it would be better if we can avoid it altogether.

Do you get a different result if you remove the line from the code? It's original purpose is to get rid of the stale loading indicator in older IEs. I wouldn't be surprised if it somehow triggers some of the mysterious IE access rules.

And finally, do you get different results if the upload is not in the modal dialog?

All the best,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Lili
Top achievements
Rank 1
answered on 10 Dec 2012, 12:41 AM
Thank you for your immediate reply on our concern. Yes, we removed that specific line and we don't get an error. It also worked when we're not using a modal. We can't really ignore the error though, since it stops the error message we're trying to display for required fields. And since the code is in the minified kendo js, update from our side is not wise and ideal so we're hoping that this gets addressed in your next release.
0
T. Tsonev
Telerik team
answered on 11 Dec 2012, 07:56 AM
Hello,

We'll remove this line, as it causes more trouble than it's worth. Expect this to take effect in the next internal builds and service releases.

As a token of gratitude for your involvement your Telerik points have been updated.

Greetings,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Lili
Top achievements
Rank 1
answered on 03 Jan 2013, 03:00 AM
May I know when we could expect this fix? Will this be included in the next release? Thank you.
0
T. Tsonev
Telerik team
answered on 07 Jan 2013, 07:30 AM
Hello,

The fix is available in the internal builds and we'll be included in the next release as well
A Service Pack is scheduled to go live by the end of next week.

Apologies for the caused inconvenience.

Kind regards,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Saku
Top achievements
Rank 1
answered on 11 Sep 2015, 01:42 PM

I am trying to use kendo upload control in Spring MVC/JSP application using Asynchronous upload method based on below demo url. 

 http://demos.telerik.com/kendo-ui/upload/async

 

My implementation works fine in FireFox and Chrome, but I receive below error message in IE 9. We are using Kendo version - 2015.2.805. Similar to the message discussed in this thread. Can you please help us solve this issue?

LOG: Server response: Error trying to get server response: Error: Access is denied.

  

  

 

0
T. Tsonev
Telerik team
answered on 15 Sep 2015, 03:34 PM
Hello,

I've addressed your question in the related support ticket.

Even though the error message might be similar, the mentioned issue has been long resolved. It's unlikely that the error you see is caused by it.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Stas
Top achievements
Rank 1
answered on 25 Jan 2016, 03:21 PM

Hello,

 

I have the same problem. How to solve it?

 

Regards,

Stas

 

 

0
Dimiter Madjarov
Telerik team
answered on 27 Jan 2016, 08:46 AM

Hello Stas,

The current thread is for a very old issue from 2012, which has been resolved long time ago. Could you please open a separate forum thread or ticket and elaborate further what is the exact issue that you are experiencing?

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Upload
Asked by
Lili
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Lili
Top achievements
Rank 1
Saku
Top achievements
Rank 1
Stas
Top achievements
Rank 1
Dimiter Madjarov
Telerik team
Share this question
or