XMLHttpRequest cannot load

2817
8
Jump to solution
10-21-2015 02:38 PM
AndrewTerwiel
Occasional Contributor II

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
Occasional Contributor II

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
Occasional Contributor II

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
Occasional Contributor II

Yes.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Andrew,

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

0 Kudos
AndrewTerwiel
Occasional Contributor II

Thanks for your help.

0 Kudos
AndrewTerwiel
Occasional Contributor II

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