You are sharing a Map Image layer with an associated Feature layer or WFS layer with the Enable transactions option as a web layer or in a web map. Your map or selected layer contains layers or stand-alone tables that reference different enterprise geodatabases or databases, and at least one of the geodatabases or databases referenced in the data frame is registered with the federated server.
This error may occur even though the source enterprise geodatabase or enterprise database is registered with the federated server. This is because the connection properties (user name, password, version, and so on) used by a layer or stand-alone table referencing the source enterprise geodatabase or enterprise database does not match the connection properties of the enterprise geodatabase or enterprise database registered with the federated server. In this case, you need to register the connection to the enterprise geodatabase or database in addition to registering the enterprise geodatabase or database. Registration is required for each connection.
For example, you have an enterprise geodatabase named DB1 that has two versions: default and v1. You only registered the connection to DB1 using the default version. If you attempt to publish a map containing layers or stand-alone tables referencing the v1 version, and you have not registered this connection to DB1, this error will occur. It will also occur if you have connections to the geodatabase using different user names.
Copy or move all the datasets you want to make available in the service into one of the enterprise geodatabases or enterprise databases registered on the federated server.
- Once you have all your data in a single enterprise geodatabase or enterprise database, set the data source for the layers so that they all reference this geodatabase or database using the same database connection.
- If you are sharing a web map, divide the sublayers of the map image layer so that only one source is used in each map image layer. For more information, see Configure a web map.
Web feature layers associated with a map image layer require that all layers and stand-alone tables in the service reference an enterprise geodatabase or a standard enterprise database using a single connection. The enterprise geodatabase or standard enterprise database must be registered with the federated server.