Overwrite Map Service by Copy to Referenced Registered Folder

2320
10
11-25-2020 02:52 PM
KrystalPhaneuf2
Occasional Contributor

We have published a service mistakenly with the data copied to the server rather than by reference.  We moved the data to a registered folder on the server and tried to overwrite.  However, it continues to fail with an error 001369 Failed to Create the Service and Failed to execute (Publish Service Definition).  We are able to publish a new service as registered to the referenced folder.  Is there any reason why the overwrite should fail when going from non referenced/copied data to referenced data?

ArcGIS Enterprise 10.8.1

Publishing from Pro 2.6.2

MicrosoftTeams-image (7).png

0 Kudos
10 Replies
JohnGalambos
New Contributor II

I can confirm we used the same approach as Daniel to manage the Portal items and it seems to be working well. Even though it's not documented, this stuff is also good to know even when not using the  _new/_old hot swap approach. Even a failed normal overwrite publish can result in multiple portal  items, a temporary service, and your original service associated with multiple portal items including the "derived" one.  Using this information you can clear up the portal items and remove the extra temporary service while still preserving your original service's Portal item id which is helpful in some situations.

Just an update related to the composite locator rename issue--there is now an open issue with ESRI: BUG-000142148.