I am getting error "Error: Access is denied." in IE11 during ajax request. I was trying to solve it by using window.XDomainRequest
but it's also not available in IE11. Kindly help me.
$.ajax({
type: "GET",
cache: false,
crossDomain: false,
url: "dataFile.xml",
dataType: "xml",
success: function(xml) {
alert('success')
},
error: function(ex) {
alert(ex.statusText); //Giving error "Error: Access is denied."
}
});
Probably by now (more than a year after) you have found a solution, but just in case... As others have noted you don't write enough details about the issue, but since I encountered just now something similar and I was searching for a solution, maybe these will help:
https://davidwalsh.name/iframe-permission-denied
Or this:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.