You are either publishing a map service with Feature Access (feature service) capability, a WFS capable map service with transaction support (WFS-T), or an Image Service with editing capability enabled, and you have not registered an enterprise geodatabase with the ArcGIS server.
The service type will be indicated by the name in the section labeled <value> in the error message.
Solution
Use the Data Stores tab of the ArcGIS Server Properties to register your enterprise geodatabase with the ArcGIS server.
- If you want the service to reference data copied to a specified enterprise geodatabase, register a server-managed database. In this case, the data your layers currently reference will be copied to the enterprise geodatabase you just registered. The layers in the service will reference data from this enterprise geodatabase and not from the original data source.
- Click the Add drop-down menu next to the Registered Databases list box and select Register Server Managed Database to open the Register Database dialog box.
- Enter a name for the database registration.
- Click Edit to register a new server database connection, or click Import to browse to, and use, an existing database connection.
- If you want the service to reference the same data as your map, register this enterprise geodatabase with the ArcGIS server.
- Click Add next to the Registered Databases list box to open the Register Database dialog box.
- Enter a name for the database registration.
- Check Same as publisher database connection.
- Under Publisher database connection, click Add to enter a new database connection, or click Import to browse to and use an existing database connection.
- If you want the service to reference a different enterprise geodatabase than your map, you will need to register both the enterprise geodatabase used by the map and the enterprise geodatabase to be used by the service.
- Click Add next to the Registered Databases list box to open the Register Database dialog box.
- Enter a name for the registered database.
- Uncheck Same as publisher database connection.
- Under Publisher database connection, click Add to enter a new database connection, or click Import to browse to and use an existing database connection.
- Under Server database connection, click Add to enter a new database connection, or click Import to browse to and use an existing database connection.
Learn more about registering your geodatabase with ArcGIS for Server
More information
Feature, WFS-T, and edit-enabled Image services require that all layers in the service reference a single enterprise geodatabase using the same database connection. This enterprise geodatabase connection must also be registered with the ArcGIS server.
Data registration provides the server with a list of locations where the source data for your services originates. Data registration is an optional step that provides two main benefits:
- Data registration helps you validate whether your services are using data locations known and approved by the server administrator.
- In some cloud scenarios, data registration can provide automatic remapping of the paths to your data when you publish (and thereby upload) your map, globe, or other resource to the server.
Learn more about data storage considerations for, deployment scenarios for, and making your data accessible to the server