Hi there,
I seem to be having an issue with publishing. When trying to publish a feature service, I see every single layer published in my map service, but in the feature service, layers are missing. Has anyone experienced this before?
After installing ArcGIS Pro SP 3.5.2, map services no longer display layers. The service is published without errors, however, the symbology is displayed in REST but does not contain the layers & tables.My colleagues did not install SP, they publish on the same technological infrastructure and do not experience the error, everything works fine.
My colleagues publish on the same infrastructure and do not experience the error, their publication is correct.
I had a similar issue, where all layers were showing in the map service, but the feature service was only showing layers from 1 GDB (FileGDB in this case) at the REST endpoint. Interestingly, when I opened the feature service in AGOL, I was pleasantly surprised to see ALL layers were in the map. When inspecting the web traffic from the WebMap, I noticed it was using the .../FeatureServer/layers URL to get the layer list, which can also be found by clicking the "All Layers and Tables" link at the top of the REST endpoint. So while I thought not all the layers were publishing, they actually were, but they just weren't showing at the root of the REST endpoint. Hope this helps someone. I don't have a resolution to getting them to show up in the FS endpoint.
I was also running into this issue, but I had a slightly different case. The symbology for my layer had values that were not present in the domain for the symbology field.This resulted in the same outcome after publishing: layers with this issue were present in the Map Service but not in the Feature Service. No error messages were thrown from the analyze/publish tools.The problem was resolved once the values that were not in the domain were removed.
I, too, had some faulty symbology; fixing this solved my issue. Thank you for the suggestion.
So in my case, I had a faulty symbology definition applied to the missing layer in my feature service. See below. I had a symbology class with no associated value. Fine for a map service, not OK for a feature service.The drawbacks of reusing / importing symbology across projects has been felt and noted haha.Something that helped trace the cause was checking the server logs for the service and seeing a severe message: "Initialization of Layer: Storm Main failed."Hope this helps future users!
Also running into this issue.
What's werid in my case is the missing layer is a copy of another layer included in the FS (different def queries on the same layer).
I am wondering whether it could be symbology related? When I go to publish I get warnings about symbols being downgraded but in the past this warning hasn't resulted in missing FS layers...
Same issue here.....
I second what @GavinMcGhie says - I am also having this same issue and wondering if anyone ever found a solution.
Thanks
Old thread yes, but I just ran into this same issue. Any resolutions?
Hi Jayanta. No luck... I enable feature access from server manager and then get an error once the service is published saying service was published with errors.Layers are still not present in the feature service. Any other ideas that could help?
Are you publishing from ArcMap to your GIS Server?
Try publishing only the Map Service (Don't enable "Feature Access" while publishing). Once the map is published successfully, Edit the Service > Capabilities > Enable "Feature Access" > Save and Restart.
Refresh the REST directory URL, if required. Does the issue persist?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.