I'm trying to overwrite an existing map service in ArcGIS server 10.4.1 using ArcPy. It doesn't appear to be able to see my server and gives a value error (ValueError: GIS Servers/arcgis on MYSERVER.nuim.ie_6080 (admin)) when I run using cmd prompt.
It is failing at line 31 saying suggesting that the 'con =' parameter is invalid. I have checked this however and the input I have corresponds with my server name in ArcGIS catalogue.
Any advice would be greatly appreciated.