00062: Data frame contains data that does not use the same connection to an enterprise geodatabase

This error covers the following:

NoteNote:

You may encounter this analyzer even though the source enterprise geodatabase or enterprise database has already been registered with the server. The reason for this is that 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 do not match the connection properties of the enterprise geodatabase or enterprise database registered with the server. In this case, you not only register an enterprise geodatabase or enterprise database, you also register the connection to the geodatabase or database. Registration is required for each separate connection.

For example, say you have an enterprise geodatabase named DB1 that has two versions: default and v1. You only register the connection to DB1 using the default version. If you attempt to publish a map containing layers or stand-alone tables pointing to the v1 version, and you have not registered this connection to DB1, you will encounter this analyzer. This would also occur if you have different connections to the geodatabase using different user names.

Learn more about connecting to an enterprise geodatabase and database connections in ArcGIS

Solution

More information

Feature services 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 ArcGIS server.

WFS-T services require that all layers and stand-alone tables in the service reference an enterprise geodatabase using a single connection and the geodatabase is registered with the ArcGIS server.

Learn more about authoring feature services and WFS services

9/1/2015