XMLHttpRequest: Network Error 0x80070005, Access is denied on Microsoft Edge (but not IE)

后端 未结 3 1718
[愿得一人]
[愿得一人] 2020-12-03 20:51

I have a very simple ajax request (see below). The server is using CORS and works fine in IE 10+, Chrome, Firefox and Opera. On Microsoft Edge howe

相关标签:
3条回答
  • 2020-12-03 21:32

    Just before your ajax call use this : $.support.cors = true;

    0 讨论(0)
  • 2020-12-03 21:36

    This problem should no longer exist for developers using Microsoft Edge. If you experience issues with localhost testing, navigate to about:flags, and make sure Allow localhost loopback is checked.


    Microsoft Edge does not currently support (out of the box) localhost testing. You can however enable it by following the guidance provided here: http://dev.modern.ie/platform/faq/how-can-i-debug-localhost/.

    We're working on resolving this in a future release.

    0 讨论(0)
  • 2020-12-03 21:40

    For Build 10158 the command has changed slightly, with the rebranding of Spartan fully into Microsoft Edge, so to enable it in Microsoft Edge run the following command from an administrator command prompt:

    CheckNetIsolation.exe LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe
    
    0 讨论(0)
提交回复
热议问题