ERROR

Overwrite Web Layer The selected web layer does not have a valid server connection and cannot be overwritten

Last Published: December 10, 2021

Error Message

In some instances, when attempting to overwrite or add a web layer to a map in ArcGIS Pro with Portal for ArcGIS, the following error message returns:

Error: 
Overwrite Web Layer
The selected web layer does not have a valid server connection and cannot be overwritten.
The error message: Overwrite Web Layer The selected web layer does not have a valid server connection and cannot be overwritten is returned when attempting to overwrite a web layer in ArcGIS Pro

Cause

The ArcGIS Web Adaptor used to federate ArcGIS Server is configured with incorrect information. This happens when the original web adaptor is removed, and the new web adaptor does not use the correct server URL.

Solution or Workaround

Note: 
The following workaround stops services. It is recommended to carry out the workflow below outside the local machine usage hours. Consult the assistance and permission of a system administrator if necessary.

Follow the steps below to resolve the error.

  1. Log in to ArcGIS Server Administrator Directory with an administrator account. Navigate to the following path:
https://gisserver.domain.com:6443/arcgis/admin
  1. In the Portal properties text box, take note of the serverUrl.
  2. Log in to ArcGIS Portal Directory with an administrator account. The user's information page is displayed upon logging in.
  3. Scroll to the bottom and click Servers. Click the relevant Server ID, and compare the Server URL with the serverUrl in Step 2.
  4. If the server URL information is different, proceed to unregister the ArcGIS Server web adaptor. Refer to ArcGIS Enterprise: Unregister ArcGIS Web Adaptor with ArcGIS Server for the steps to do so.
  5. Install and configure new Web Adaptor. Refer to ArcGIS Enterprise: Install ArcGIS Web Adaptor and ArcGIS Enterprise: Configure ArcGIS Web Adaptor for more information.
  6. Navigate to ArcGIS Server Administrator Directory Home > security > config.
  7. At the bottom of the page, click Update.
  8. In the Portal properties textbox, edit "serverUrl" by inputting the correct server URL.
  9. Click Update.

Article ID:000025470

Software:
  • Portal for ArcGIS
  • ArcGIS Web Adaptor

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options