Open petrbela opened 11 years ago
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
in IE there is a config for prevent cors request to be done.
Maybe this can help
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
Same error with IE10 (CORS request using cutom header), without using Karma: Stackoverflow
When IE10 is launched on Win7, some XHR requests fail. In my test case, I send
GET
,POST
andDELETE
cross-domain requests.GET
andPOST
work every time, butDELETE
fails onThe 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 onlocalStorage
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.