Failed to load resource 3.7compact

650
1
01-23-2014 08:13 AM
KarenRobine
Occasional Contributor II
I've got an app using http://js.arcgis.com/3.7compact
Occasionally I receive the following:
Waiting for js.arcgis.com
Then, after a minute or so, I get:
Failed to load resource
Then I get:
Uncaught ReferenceError: dojo is not defined.

So seems like occasionally the app doesnt load the ESRI JavaScript.  Thoughts on how to fix this?
I wonder if using a local copy of this might be in order? If so, what's the URL to grab the Compact version?

Do other folks see this error as well?
0 Kudos
1 Reply
JeffPace
MVP Alum
dojo not defined is the error you get when the api fails to load

You could load one locally, but my guess is that is not your problem

If it loads occasionally, then it sounds like your app is configured properly.  Are you behind a corporate firewall or running antivirus (particularly I have seen issues with Kaspersky).  I would rule those networking type issues out before you commit to bringing the API local
0 Kudos