jdkitzmi

Permission errors?

Discussion created by jdkitzmi on Aug 16, 2013
Latest reply on Sep 9, 2013 by kenburcham
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.

Outcomes