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

Kendo UI MVC Upload in IE & Windows Authentication

12 Answers 331 Views
Upload
This is a migrated thread and some comments may be shown as answers.
David Hruby
Top achievements
Rank 1
David Hruby asked on 13 Sep 2013, 11:59 AM
Hello, I have a problém with Kendo UI MVC Upload component, which doesn't work correctly in IE10 when using Windows authentication. The result is this: http://screencast.com/t/jw7Ph3MNfm.

The actions are not called for these files, because of 401 error. In Chrome everything works as expected and all actions are correctly called for all files. And when I turn off Windows authentication, everything works ok in IE too.

Is there any solution to this problém? I've found this http://stackoverflow.com/questions/18626258/ie-11-or-10-kendo-ui-file-upload-will-not-upload-unless-i-refresh-the-page-ct, but it doesn't seem to work.

Thank you.

Best regards
Ondra Burisin

12 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 17 Sep 2013, 10:48 AM
Hi David,


I tried to reproduce the issue on my side by enabling the windows authentication and applying the Authorize attribute to the Save and Remove actions. Everything is working as expected with the following configuration.
E.g.
[Authorize(Users = @"...")]
public ActionResult Save(IEnumerable<HttpPostedFileBase> files)
{ ... }
 
[Authorize(Users = @"...")]
public ActionResult Remove(string[] fileNames)
{ ... }

Could you please let me know if I am testing with the correct setup? If that is not the case, please send me a small sample runnable project, where the issue is reproducing so I could inspect it locally and assist you further?

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
David Hruby
Top achievements
Rank 1
answered on 17 Sep 2013, 12:10 PM
Hello Dimiter,

please see the attachments, the image shows the result of performing upload of multiple files. For all the files that have strange percentage numbers, the controller's action is not even called.

Thank you
Ondra Burisin
0
Dimiter Madjarov
Telerik team
answered on 19 Sep 2013, 08:17 AM
Hello David,


We tested the project and tried to reproduce the issue on several machines with IE 10, under localhost and over the network, but did not manage to reproduce the behavior from the provided screencast. We were using IIS 7.5 for the purposes of the test. Could you please specify which web server are you using on your side and which version? Is the issue reproducing on localhost or in production? A possible reason for the problem could also be a proxy server. Is there such in the configuration on your side? 

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
David Hruby
Top achievements
Rank 1
answered on 26 Sep 2013, 03:19 PM
Hello Dimiter,

thanks for response. I got to another testing to make sure, that we have Authorize attribute in place and all the settings right. I made a short video of the problem here: http://screencast.com/t/haxdTRuhFb

Our configuration is as follows:
MVC4 application
jQuery (1.9.1)
Kendo 2013.2.716 (also tried the new SP1 2013.2.918)

Visual Studio 2012, using local IIS Express and you can see the content of web.config as well as configuration of the project in the video. Moreover we tried full IIS7.5 as well, but the result was the same.
Browser is IE 10.0.9200.16686

There is no proxy server or something else and the strangest thing is, that it works well in Google Chrome and it also seems to work on subsequent refreshes of the page. For files that have over 100% upload, the action method Save never gets called.

Best regards
Ondrej Burisin
0
Dimiter Madjarov
Telerik team
answered on 30 Sep 2013, 11:06 AM
Hi David,


Thank you for the additional information about the current configuration and the screencast. After further testing we managed to reproduce the issue in IE 10 under localhost, when multiple files are sent simultaneously. Nevertheless the issue is not reproducible, when the application is hosted on full IIS and the site is not opened through localhost, but through the server name over the network. If you would like to support the localhost scenario, I would suggest you to enable the batch option of the async upload, which will force the files to be uploaded in a single request.

Please let me know if this information was helpful for you.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
PANW
Top achievements
Rank 1
answered on 18 Jun 2014, 11:21 PM
Hello Dimiter,

We have exactly the same problem as the above. Please see the attached error file.(Screenshot was from FF)
Upload works as expected in Chrome. We have the problem in IE too.
What's strange is that it works sometimes and sometimes not. But we have never seen this issue in localhost scenario, only in the server.

Our configuration:
MVC4 application(Windows Authentication)
jQuery (1.9.1)
Kendo 2014.1.318.440
IIS 8.0

David,
   Did you get this work? Or do you find any workaround solution for the problem?

Thanks,
Gayathri 

















0
T. Tsonev
Telerik team
answered on 20 Jun 2014, 12:32 PM
Hello,

This is an interesting development, as we considered this issue limited to localhost deployment.
Does the upload succeed eventually, despite the incorrect progress info?

The original thread on StackOverflow seems to contain a solution that relies on a kind of "preflight" request. Perhaps this is worth giving a try.

We'll try to follow up on this issue with Microsoft on Connect.

Regards,
T. Tsonev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Arnaud Vallette
Top achievements
Rank 1
Iron
answered on 31 Aug 2015, 11:08 AM

Hello,

    

0
Arnaud Vallette
Top achievements
Rank 1
Iron
answered on 31 Aug 2015, 11:11 AM

Hello,

 I'm still having the same issue at the moment, from my personal project with latest stable versions, but also from the demo website itself. After multiple files are added , the component suddendly stops to work

I'm using IE11 (see the attached picture)

Thanks in advance for your help

0
Dimiter Madjarov
Telerik team
answered on 31 Aug 2015, 03:33 PM

Hello Arnaud Vallette,

At the moment there is still no official fix provided for Internet Explorer 11. If such is released, we will document it at the Upload troubleshooting page.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ss
Top achievements
Rank 1
answered on 10 Mar 2016, 05:40 PM

We are using Telerik.Upload(), using windows authentication, from IE11/10  fails to upload in the load balancer . With a single server it works fine. Is there a workaround?

0
Dimiter Madjarov
Telerik team
answered on 11 Mar 2016, 11:55 AM

Hello ss,

No, currently there is no workaround. This issue is related to Internet Explorer's handling of multiple requests in the current scenario, and not the Upload widget specifically.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Upload
Asked by
David Hruby
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
David Hruby
Top achievements
Rank 1
PANW
Top achievements
Rank 1
T. Tsonev
Telerik team
Arnaud Vallette
Top achievements
Rank 1
Iron
ss
Top achievements
Rank 1
Share this question
or