Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IE10] XMLHttpRequest: Network Error #2

Open
petrbela opened this issue Aug 5, 2013 · 4 comments
Open

[IE10] XMLHttpRequest: Network Error #2

petrbela opened this issue Aug 5, 2013 · 4 comments

Comments

@petrbela
Copy link

petrbela commented Aug 5, 2013

When IE10 is launched on Win7, some XHR requests fail. In my test case, I send GET, POST and DELETE cross-domain requests. GET and POST work every time, but DELETE fails on

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.

The funny part comes now: When I open the VM and launch IE manually, and then start karma, all the test cases pass.
Then, when I close IE and rerun the tests, the Network Error comes back. Also, when I test the whole site in that IE session, it fails on localStorage access (probably the same issue as xdissent/iectrl#2).
And again, if I stop karma, open IE manually in the VM, and then launch the tests (and the site), everything works perfectly.

This is kind of a mysterious issue, but is consistent and I suspect some IE launcher settings may be tweaked to resolve it.

@ghost
Copy link

ghost commented Oct 7, 2013

Hi All,
I am also getting the same error when I am calling HTTPS service URL(WCF service) in html script.
Service type is rest service and I had set upped required headers for service.
When Service and HTML hosted on same web server(IIS 7.5),calls are working fine. but when Service and HTML hosted on different web servers it is not able to get response from service.
In IE it shows "XMLHttpRequest: Network Error 0x80070005, Access is denied."
In Firefox shows "405 Method not allowed"
In Chrome not showing any status.

Please help how to make it work.
Thanks for your suggestions.
--Avinash

@benzen
Copy link

benzen commented Jan 23, 2014

in IE there is a config for prevent cors request to be done.

Maybe this can help

@Benxamin
Copy link

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.
This exact error is due to a response status code of 0 (zero).

This is when the request URI doesn't match the data or format (e.x.: query strings in a POST URL) and the browser recognizes that it should not be sent over the network. It will fail, and the response will be an Error object with two properties: { name: "Error", status: 0 }

http://stackoverflow.com/questions/16081267/xmlhttprequest-status-0-instead-of-401-in-ie-10

@Legends
Copy link

Legends commented May 4, 2016

Same error with IE10 (CORS request using cutom header), without using Karma:
Stackoverflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants