00059: Layer’s data source is not registered with the geodatabase
In this topic
Your layer references a data source that is not registered with the geodatabase and you are publishing a map service with feature access or WFS capabilities.
Solution
- Register the layer with the geodatabase.
Learn more about registering a layer or table with the geodatabase
- Alternatively, you can remove the layer from the data frame.
Note:
You may receive this error for virtual layers such as x,y or route event layers. In this case, your only solution is to delete the virtual layer since you cannot register a virtual layer with the geodatabase.
More information
All data in the map must be registered with the geodatabase if you are publishing a map service with feature service or WFS capabilities. Registering a table with the geodatabase adds records to the geodatabase system tables and allows you to use geodatabase functionality.
Learn more about authoring feature services or WFS services
Caution:
This is not the same as registering the data source with the server. Registering a data source with the server helps ensure that the server has access to all the data that the GIS service references. If a data source is not registered with the server, the data referenced by a layer in a map that you are publishing will be copied to the server. If you are publishing a map service with either feature access or transaction-enabled WFS (WFS-T) capabilities, data will be copied to the geodatabase registered on the ArcGIS server using the Server only connection type.
Learn more about registering the data source with the server