Permission errors?

474
3
08-16-2013 11:58 AM
JessicaKnight1
New Contributor III
I have been using Firefox as the main browser for testing my web application, and things are working smoothly there, as well as Chrome. But in both IE and Safari I seem to be having permissions issues that I can't really figure out.

I am using this code: https://developers.arcgis.com/en/javascript/jssamples/query_buffer.html and changing it to fit my data. In IE, the results from the query do not display and I just get an "Access is denied" error. No other information. The data shows up via the Table of Contents just fine. And the buffer also displays. Everything else works otherwise. The sample also works in IE.

I'm also using this code: http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109. Works fine everywhere except Safari. I get no + or - buttons to expand the ToC, so I can't get to any data to turn layers on or off. The query buffer tool works fine though. I get this error: XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/info?f=json. Origin file:// is not allowed by Access-Control-Allow-Origin.

I am pretty novice with coding, but would really like for my application to work on all of the major browsers. If anyone has any thoughts, please let me know. If I need to post my code, let me know as well and I will.
0 Kudos
3 Replies
JessicaKnight1
New Contributor III
Anyone have any ideas?
0 Kudos
JessicaKnight1
New Contributor III
No one?

I'm getting some new errors, now in Firefox and Chrome, with the Basemap Gallery sample. This is what comes up: Error: Permission denied for <file://> to create wrapper for object of class UnnamedClass

And the basemap gallery is empty. If I remove the basemap gallery code, that error goes away. Any thoughts? I really want to get things working!
0 Kudos
KenBurcham
Occasional Contributor
Hi Jessica,

  Perhaps you could post your code for us all to look at?  Make sure to remove any sensitive information.  I have been able to use the basemap gallery successfully cross-browser, so maybe looking at your code will help see what's up.

Thanks!

ken.
0 Kudos