I'm getting a init.js:182 error on startup of a web app. Not sure if it has to do with a secured layer, or app registration.
init.js:182 Error: You do not have permissions to access this resource or perform this operation. at Error (native) at Object.g.load (http://js.arcgis.com/3.16/init.js:1042:343) at http://js.arcgis.com/3.16/init.js:181:69 at c (http://js.arcgis.com/3.16/init.js:66:221) at d (http://js.arcgis.com/3.16/init.js:66:10) at resolve.callback (http://js.arcgis.com/3.16/init.js:67:350) at c (http://js.arcgis.com/3.16/init.js:66:436) at d (http://js.arcgis.com/3.16/init.js:66:10) at resolve.callback (http://js.arcgis.com/3.16/init.js:67:350) at http://js.arcgis.com/3.16/init.js:185:300
Here's my app below:
http://gis.atlantaga.gov/dpcdviewer/#
Leo,
The first thing I would do is get rid of the woff error on your site. Make sure you have registered woff as a mime type with your web server as discussed it the thread you were just posting to.
Do you have any secure layers in your web map?
Registering a mime type is a one time action on your IIS Server
Thanks Robert, do I need to register with each individual web app or the main web.config file on the server.
I actually just went and checked my AGOL map and there was an item I needed to update sharing on. Seemed to fix it.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.