I created a simple JavaScript sample in a text editor as an HTML file saved to a local drive that I try to open with IE.
When I do open it, I get this error:
SCRIPT5: Access is denied.
File: 3.15, Line: 153, Column: 375
I can open it in Chrome but not IE.
How can I resolve this?
Thanks,
Mele
Hi Mele,
Are you running from your local file system or a local web server?
I am accessing an .html file from my local file system. I just created some sample scripts to test out some functionality in a file before trying to deploy it.
Thanks,
Mele
Could you put the file in a local web server and run it again?
Try fetching it from CDN. Let us know what IE says.
I am accessing it from the CDN.
<script src="https://js.arcgis.com/3.15/"></script>
When I try to open the .html file from my local file system. I get this message:
After clicking "Allow Blocked Content" nothing shows in IE but if I look into the debugger I see this:
Thanks,
Mele
That worked and resolved the error message I was seeing.
Mele
Hi Mele,
I'm getting similar issue on IE. How did you resolve it?
Roshni,
What I was able to do was add my HTML file to an IIS web server running locally on my machine and then I was able to use IE to view it. I was never able to view the file in IE directly if the HTML was on a local file system.
If you have Chrome installed, Chrome will allow you to view the HTML file on a local file system without error.
Mele
Hi Mele,
I put the file in jetty server and when I run it , I see the following error:
SCRIPT5007: Unable to get property '_getInfo' of undefined or null reference
File: 3.19, Line: 569, Column: 467
Did you notice any such issue?
I'm unable to run the application in IE.