1

Internet Explorer - script5 : Access Denied

Topic: Internet Explorer - script5 : Access Denied

Hi,

I have develop an application for internal use for the company I work for.
This web app gets the GPS location of my units and puts them on google maps.
I use the Javascript API for the code.

When I open this web app with Internet Explorer 11 some units won’t show anything on the map, even if there are GPS coordinates.
When I open the Developer Tools for debugging, I get the message SCRIPT5:Access Denied which points to the address : https://hst-api.wialon.com/wialon/post.html

That messages appears at page load.
At page load I do a login connection to Wialon.

function wialon_login(){
    wialon.core.Session.getInstance().initSession("https://hst-api.wialon.com"); // init session
    wialon.core.Session.getInstance().login("username", "pass", "", // try to login
    function (code) { // login callback
           // if error code - print error message
        if (code){ console.log(wialon.core.Errors.getErrorText(code)); return; }
    console.log("Logged successfully");           
      });
}
Can someone point me to a solution why I can’t get it to work with internet Explorer 11.

Everything work fine with Firefox & Google Chrome.

Thanks!

2

Internet Explorer - script5 : Access Denied

Re: Internet Explorer - script5 : Access Denied

Hi

Unfortunately i cant reproduce your problem.

I created small JSbin sample. For me it works in chrome & ie. Please check and confirm it works for you too.
Source http://jsbin.com/qehoqe/edit?js,output
Preview http://output.jsbin.com/qehoqe/

If this sample works fine in your IE, please try to create not working jsBin.

3

Internet Explorer - script5 : Access Denied

Re: Internet Explorer - script5 : Access Denied

Hello!

Also, try to open the Developer Tool and check if the Document Mode sets to Standards. Maybe it helps.

Br. DK

4

Internet Explorer - script5 : Access Denied

Re: Internet Explorer - script5 : Access Denied

Also, try to open browser settings and reduce the level of security.

Telegram: Обновления Wialon, Wialon updates
Google Chrome Extensions: Wialon Units Map | Gurtam Forum Notifications | Wialon Apps Launcher
Evgenij Spitsyn, Developer, flespi team
5

Internet Explorer - script5 : Access Denied

Re: Internet Explorer - script5 : Access Denied

Thank you!  Also, verify if the Document Mode is set to Standards in the Developer Tool. Perhaps it will be of assistance.