IE11 freezes during file upload using AjaxFileUpload

A strange problem appeared with IE11 a few days ago. A plugin that worked well ( https://github.com/davgothic/AjaxFileUpload ) now does not want to. After I select the file and click "Download", IE is deadly freezing. Only the killing process helps. I looked through the deep jQuery code to publish data and cannot find where to put a breakpoint before it freezes. The presented data is in order, the file received on the server, and the handler worked correctly, it returns XML with some information. But more events (such as "ajaxComplete") were not called on the client after the "context.Response.End ();" handler. Where can i find the problem? It is only in IE11 and on different machines. IE10 is working fine ... Appreciate any help!

+4
source share
4 answers

I just ran into the same issue and seems to be related to Microsoft's next security update

http://support.microsoft.com/kb/2962872/en-us

According to known issues, they indicated

“Problem 3. After installing this security update, Internet Explorer may stop responding in some applications when using web forms or when downloading files. This issue affects versions 10 and 11. Internet Explorer.

Note. We are investigating this issue and will post additional information in this article when the information becomes available. "

.

+4

. jQuery Ajax MVC, CSV . IE 11, . "async: false" Ajax , . , -! , :

  $.ajax({
        type: 'POST',
        url: ***,
        data: ***,
        processData: false,
        contentType: false,
        cache: false,
        async: false,
        success: function (response) {
           do something:
        },
        error: function () {           
        }
    });
+1

, MS windows KB2962872. , Microsoft , . , ?

0

, . , , ( ).

AngularJS .NET-. ng-file-upload (https://github.com/danialfarid/ng-file-upload), javascript FormData. : - Chrome - IE 11.20.10586 Windows 10 - IE 11.0.9600.18059 (Windows 7) IE 11.0.9600.17728 (Windows Server) , IE .

. , : , , , !

I still have no valuable explanation why this hack works, not the classic download, but after debugging and a lot about how it works on the Internet, I am pretty sure that this is an IE error.

Hope this helps!

0
source

Source: https://habr.com/ru/post/1548342/


All Articles