How to solve the error “SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.” in IE

后端 未结 4 1889
滥情空心
滥情空心 2020-12-10 09:56

In my web site, I created a map with ALK Maps, I display the points (Markers) and roads (routings) and all this works fine in Firefox and Chrome, but in IE I display the map

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 11:01

    As others have mentioned, CORS came into play. In my case, IE was sending an additional header to the server (Content-Type) that the other browsers weren't, and this header wasn't allowed by my policy. Adding the header to the policy fixed the issue.

提交回复
热议问题