<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to construct an admin input service for Manage Map Server Cache Tiles between Python 2.7 &amp;amp; 3.6 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1213777#M65613</link>
    <description>&lt;P&gt;No - from what I read &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/projects/connect-to-a-gis-server.htm" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;- a ArcGIS Enterprise federated server means that ArcGIS Pro only supports connections that allow you to use services, not publish or administer them.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 12:39:55 GMT</pubDate>
    <dc:creator>Kara_Shindle</dc:creator>
    <dc:date>2022-09-19T12:39:55Z</dc:date>
    <item>
      <title>How to construct an admin input service for Manage Map Server Cache Tiles between Python 2.7 &amp; 3.6</title>
      <link>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1006744#M59206</link>
      <description>&lt;P&gt;So I had an old model that was converted to Python from ArcMap 10.4, meaning it was exported in 2.7.&lt;/P&gt;&lt;P&gt;The model includes the Manage Map Server Cache Tiles tool, and running it in 2.7 works.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this script needs converted to 3.6 and will not work due to the following error:&lt;/P&gt;&lt;P&gt;Error: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 001265: Admin or publisher connection required.&lt;BR /&gt;Failed to execute (ManageMapServerCacheTiles).&lt;/P&gt;&lt;P&gt;I am working off of the &lt;A href="https://desktop.arcgis.com/en/arcmap/10.4/tools/server-toolbox/manage-map-server-cache-tiles.htm" target="_self"&gt;ESRI tool reference&lt;/A&gt;&amp;nbsp;page, but I cannot get this Admin input service to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples include the connection File being speicifed (and I have tried including that), but naturally the tool export does not.&lt;/P&gt;&lt;P&gt;I've tried it two different ways - with the 6080 port specified and below, which is the redirected server address.\&lt;/P&gt;&lt;P&gt;This is what model exported as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"GIS Servers\\arcgis on &amp;lt;MyServer&amp;gt;_6080 (admin)\\FranklinHostedGIS\\FC_TaxRecords.MapServer"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are my various attempts&lt;/P&gt;&lt;P&gt;Try 1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"GIS Servers\\arcgis on &amp;lt;MyServer&amp;gt; (admin)\\FranklinHostedGIS\\FC_TaxRecords.MapServer"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try 2:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;connectionFile = r"C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\ESRI\Desktop10.4\ArcCatalog"
server = "arcgis on MyServer_6080 (admin)"
serviceName = "FC_TaxRecords.MapServer"
inputService = connectionFile + "\\" + server + "\\" + serviceName&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try 3:&lt;/P&gt;&lt;P&gt;Try using the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/server/manage-map-server-cache-status.htm" target="_self"&gt;ArcPro documentation&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;connectionFile = r"C:\Users\arcgis\AppData\Roaming\ESRI\Desktop10.4\ArcCatalog"
server = "admin on &amp;lt;myServer&amp;gt;.ags"
serviceName = "FC_TaxRecords.MapService"
inputService = connectionFile + "\\" + server + "\\" + serviceName&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 19:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1006744#M59206</guid>
      <dc:creator>Kara_Shindle</dc:creator>
      <dc:date>2020-12-03T19:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to construct an admin input service for Manage Map Server Cache Tiles between Python 2.7 &amp; 3.6</title>
      <link>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1006867#M59213</link>
      <description>&lt;P&gt;The reference page for Pro is&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/server/manage-map-server-cache-tiles.htm" target="_blank"&gt;Manage Map Server Cache Tiles (Server)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 03:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1006867#M59213</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-12-04T03:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to construct an admin input service for Manage Map Server Cache Tiles between Python 2.7 &amp; 3.6</title>
      <link>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1006967#M59216</link>
      <description>&lt;P&gt;Yes thank you, that was Try 3 -&amp;nbsp; My issue is trying to format the first variable for these tools.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 15:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1006967#M59216</guid>
      <dc:creator>Kara_Shindle</dc:creator>
      <dc:date>2020-12-04T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to construct an admin input service for Manage Map Server Cache Tiles between Python 2.7 &amp; 3.6</title>
      <link>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1213552#M65601</link>
      <description>&lt;P&gt;Did you ever figure this out? I am having the same problem. The tool won't recognize my .ags connection as being an admin in Pro.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 19:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1213552#M65601</guid>
      <dc:creator>dgiersz_cuyahoga</dc:creator>
      <dc:date>2022-09-16T19:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to construct an admin input service for Manage Map Server Cache Tiles between Python 2.7 &amp; 3.6</title>
      <link>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1213777#M65613</link>
      <description>&lt;P&gt;No - from what I read &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/projects/connect-to-a-gis-server.htm" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;- a ArcGIS Enterprise federated server means that ArcGIS Pro only supports connections that allow you to use services, not publish or administer them.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 12:39:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-construct-an-admin-input-service-for-manage/m-p/1213777#M65613</guid>
      <dc:creator>Kara_Shindle</dc:creator>
      <dc:date>2022-09-19T12:39:55Z</dc:date>
    </item>
  </channel>
</rss>

