You attempted to publish a web layer from a map that references a feature class in a mobile geodatabase. This is not supported.
The <value> parameter refers to the name of the feature class.
To include the feature class in a web layer, you must create a copy of the feature class in a type of geodatabase that is supported. Remove the feature class that is stored in the mobile geodatabase from the map, and replace it with the feature class that is stored in the supported geodatabase type.
- If you are publishing a map image layer, you can copy the feature class to a file geodatabase or enterprise geodatabase.
- If you are publishing a feature layer, copy the feature class to an enterprise geodatabase.
Register the file or enterprise geodatabase with your active ArcGIS Enterprise portal or stand-alone ArcGIS Server site before you publish again.
See Mobile geodatabases for information about supported functionality in this type of geodatabase.
See Copy feature datasets, feature classes, and tables to a geodatabase for information about how to create a copy of your feature class in a geodatabase type that supports publishing.