Select to view content in your preferred language

XMLHttpRequest cannot load

3102
8
Jump to solution
10-21-2015 02:38 PM
AndrewTerwiel
Frequent Contributor

I'm wondering why I get this error in the dev tools console when I load webappviewer/?config=config.json. Does anyone know what causes this and how to fix it please?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
AndrewTerwiel
Frequent Contributor

Removal of this line from \client\stemapp\config.json has fixed this error.

"geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",

See this link for geometryService explanation: App configuration—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers

View solution in original post

8 Replies
RobertScheitlin__GISP
MVP Emeritus

Andrew,

   So the url you are attempting to use is "http://dpc0159:3344/webappviewer/?config=config.json"?

This url work fine for me "http://gislap183:3344/webappviewer/?config=config.json"

Try this url and see if it returns the json "http://dpc0159:3344/webappviewer/config.json"

0 Kudos
AndrewTerwiel
Frequent Contributor

Hi Robert,

Yes, that URL returns the config.json successfully.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Andrew,

   Does the viewer show up when you just use http://dpc0159:3344/webappviewer/

0 Kudos
AndrewTerwiel
Frequent Contributor

Yes.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Andrew,

   Well I an clueless then... sounds like a support ticket.

0 Kudos
AndrewTerwiel
Frequent Contributor

Thanks for your help.

0 Kudos
AndrewTerwiel
Frequent Contributor

Removal of this line from \client\stemapp\config.json has fixed this error.

"geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",

See this link for geometryService explanation: App configuration—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers

RobertScheitlin__GISP
MVP Emeritus

Andrew,

  OK that makes sense. I always change that url to my own geometry service.

0 Kudos