So this continues to be a problem for us. We publish a web layer to our Portal and then when we try to republish our layer we receive the follow error: Web Layer does not have a valid server connection and cannot be overwritten.
The problem appears to be that when the data source link to ArcGIS Server is first created in portal for the service it uses the following format:
https://<arcgis-server>/arcgis/rest/services/<name-of-service>/MapServer
In order for this service to be overwritten the port for the service needs to be included e.g.
https://<arcgis-server>:6443/arcgis/rest/services/<name-of-service>/MapServer
Does anyone know if this problem with our web adaptor setup or something else we have configured that is causing this issue? Thanks.
Just curious: for the publisher using ArcGIS Pro, are they using the web adaptor url for signing into your Portal, or the fully qualified machine name:port?
And just to confirm, is your Server federated with Portal?
Hello @Bryan_krg, have you checked this article? https://support.esri.com/en-us/knowledge-base/error-arcgis-enterprise-overwrite-web-layer-the-web-la...
The suggested steps in the solution/workaround section are worth reviewing; maybe together with your GIS admin or IT staff who have configured the ArcGIS Enterprise.
Thanks Calvin and rcGIS, for your suggestions.
In ArcPro we sign into portal using the web adaptor url (no port used). Our ArcGIS server is federated with our Portal.
From the article/workaround the serverUrl in the Portal properties text box is the same as the Server URL for the relevant Server. To be extra sure we reinstalled the web adaptor and configure it again. But unfortunately for us the problem still persists. We will create a ticket with ESRI.