Hi
I have a python script which is used to determines areas of a tile cache that need to be updated. I am having issues with ManageMapServerCacheTiles accepting my server connection. I have saved the username and password to the connection file and set the type as 'publisher'. I have overwritten the map service with the same connection credentials, but i am still getting an error 'ERROR 001265: Admin or publisher connection required. Failed to execute (ManageMapServerCacheTiles).'
Dont know what else to try
Solved! Go to Solution.
Found the issue
Turns out the inputService parameter has to be in a list, even though it was only 1 map service....
ESRI can you please update the reference on this page
Peter
Is your ArcGIS Server (AGS) environment federated with a Portal?
Hi Michael
No it is not.
Here is my inputServer variable
service = r"C:\Users\gistaskscheduler\AppData\Roaming\Esri\Desktop10.7\ArcCatalog\arcgis on spar01 (publisher)\GXInternalMaps\GXBasemapCache_ArcGISPro.MapServer"
I used the example found here
https://pro.arcgis.com/en/pro-app/tool-reference/server/create-map-server-cache.htm
I noticed that it does not inlcued the '.ags' file extension.
Also do you think it matters if the server connection was created in ArcMap as opposed to ArcGIS Pro?
Cheers
Peter
Found the issue
Turns out the inputService parameter has to be in a list, even though it was only 1 map service....
ESRI can you please update the reference on this page
Peter
Peter,
I'm having similar issue can you show an example of how your input parameter looks as a list?
Thank you
I'm having a similar issue but my AGS environment is federated with my Portal, which doesn't allow me to establish an admin/publisher connection (only user). Do you happen to know what the protocol is in this situation?