I keep losing layers from my web maps/apps. Why?

2987
7
09-21-2016 01:57 PM
charliemix1
New Contributor III

This has happened to me on several story maps and other apps. I will add layers to the map, save the project and when I return to my app or web map after days/weeks of not touching it, it will be missing data. This only happens to layers/services hosted on my organization's server, which is a SQL + ArcGIS Server combo. If lost, the layers will still be running in ArcGIS Server and in "my content" on ArcGIS.com. Has anyone ever  this happened and found the cause? 

Thanks,

Charlie 

7 Replies
MichaelRobb
Occasional Contributor III

Hi Charlie,

I would start by going through ArcGIS Server logs.  There, you may encounter lost connection to SQL Database, in which case, it would be an IT Issue and/or a SQL Database Admin to further investigate.

This of course, is that when you mean add a layer, you actually mean, adding a Mapping Service or FeatureAccessService  and that the service 'data' is empty.  which would still show as 'layers' in the web map, but no data.

Id do a query through the mapping service (MapServer) directly to see if records are pulled.

e.g.  arcgis/rest/services/[Folder]/[MapServerName]/MapServer/[TableIndex]/query

e.g. ObjectID > 0     GET  

charliemix1
New Contributor III

Yes, they are feature and map services. What you are referring to I have had on other occasions, where the feature service/map service layer is still in the map but does draw the data. What I am experiencing is a complete loss of the layers in my map. I am waiting to hear back from our IT team to see what they found. I'll post back here when we resolve the issue. Thanks! 

0 Kudos
MichaelRobb
Occasional Contributor III

So it is not missing data, but rather, the web map is missing the layer completely.  Bit confusing when you state " it will be missing data"

When you open the saved web map (in portal im assuming? - you dont mention this - but I assume because you mention web map AND web App) are you getting the failed to connect to layer? or not at all? If the latter, Id look at being a Portal Specific issue.  F12 is also useful to see what is going on when attempting to load the web application.

Id start with IT and networking at this point for layers (portal) not being able to see arcgis server REST services.  there are lots of possibles here such as are you going through web adaptors , NLBs, HTTPS, proxy, etc...

0 Kudos
BaffourAwuah
New Contributor III

Hi Charlie, were you able to solve this problem? I have been having the same problem but have not had any head way.

0 Kudos
charliemix1
New Contributor III

Not completely but I am highly suspicious that this is caused by sharing services from ArcGIS Desktop to one's organization when uploading to server. It's apparently better to add the service to your web map or ArcGIS organization using the rest URL versus the "share" button in Desktop when uploading. Also, many of my applications do not work with the latest version of chrome, but do jive well with Microsoft Edge. Hope this helps...

0 Kudos
BaffourAwuah
New Contributor III

Hi Charlie, mine is fixed. I only changed the background map, and everything is now stable.

SanneMikkelsen
Occasional Contributor

Hi Baffour. Which background map was the problem?

0 Kudos