The service you are attempting to publish includes data but the site has been purposely configured by the site administrator such that data cannot be copied to the server. In order to publish, the data source referenced by this layer, or data that is joined or related to this layer, must be registered with the server.
Solution
Register the data source referenced by the layer, or the data that is joined or related to the layer, with ArcGIS Server.
Learn more about how to register your data with ArcGIS Server
Learn more about registering the data sources with ArcGIS Server
More information
Registering a data source with the server helps ensure that the server has access to all the data that the GIS service references.
Learn more about data storage considerations for, deployment scenarios for, and making your data accessible to ArcGIS Server