Console error on WAB app startup

1128
3
Jump to solution
10-06-2016 07:45 AM
LeoLadefian5
Occasional Contributor II

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/#

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

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?

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

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?

LeoLadefian5
Occasional Contributor II

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.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Leo,

   Registering a mime type is a one time action on your IIS Server