<?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 create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1042816#M39184</link>
    <description>&lt;P&gt;We are also facing a similar issue. The arcpy function to create arcgis server connection file - CreateGISServerConnectionFile is no longer exposed or available with python 3.x? The automated python solution to enable one touch deployment on our CI/CD servers are dependent on creating .ags files on the fly. Any idea if this is exposed with python 3.x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 11:00:45 GMT</pubDate>
    <dc:creator>nutscrewbolt</dc:creator>
    <dc:date>2021-04-01T11:00:45Z</dc:date>
    <item>
      <title>How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1032848#M38144</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Has anyone found a way on how to create an arcgis server connection file (*.ags) with the python environment coming with ArcGIS Pro? I mean with python 3.x and not the old python 2.7 from ArcMap.&lt;/P&gt;&lt;P&gt;There is an function to create a connection file, but this only runs with python 2.7 (old stuff).&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/creategisserverconnectionfile.htm" target="_blank" rel="noopener"&gt;https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/creategisserverconnectionfile.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 14:25:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1032848#M38144</guid>
      <dc:creator>LorenzMeyer1</dc:creator>
      <dc:date>2021-03-04T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1042816#M39184</link>
      <description>&lt;P&gt;We are also facing a similar issue. The arcpy function to create arcgis server connection file - CreateGISServerConnectionFile is no longer exposed or available with python 3.x? The automated python solution to enable one touch deployment on our CI/CD servers are dependent on creating .ags files on the fly. Any idea if this is exposed with python 3.x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 11:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1042816#M39184</guid>
      <dc:creator>nutscrewbolt</dc:creator>
      <dc:date>2021-04-01T11:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047831#M39792</link>
      <description>&lt;P&gt;agreed. this has been a major bummer for automation.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;the following works:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# in the same conda environment where i normally import arcpy:

import arcgisscripting
arcgisscripting._createGISServerConnectionFile("ADMINISTER_GIS_SERVICES", "C:/admin", "new.ags", "https://maxscoolserver.org/raster", "ARCGIS_SERVER", True, "C:/admin", "sitemanager", "password123")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaxSquires_1-1618518511995.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11042iC7430846F54EA229/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaxSquires_1-1618518511995.png" alt="MaxSquires_1-1618518511995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaxSquires_2-1618518531573.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11043iD16FFD9CC61E98A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaxSquires_2-1618518531573.png" alt="MaxSquires_2-1618518531573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;warning: this is a private method so may not be a great idea, but i'm going to do it until something better comes along.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 20:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047831#M39792</guid>
      <dc:creator>MaxSquires</dc:creator>
      <dc:date>2021-04-15T20:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047850#M39793</link>
      <description>&lt;P&gt;I think&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-connection.htm" target="_self"&gt;arcpy.management.CreateDatabaseConnection&lt;/A&gt; might be what you are looking for?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 21:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047850#M39793</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2021-04-15T21:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047867#M39794</link>
      <description>&lt;P&gt;i don't think so.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 21:52:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047867#M39794</guid>
      <dc:creator>MaxSquires</dc:creator>
      <dc:date>2021-04-15T21:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047996#M39803</link>
      <description>&lt;P&gt;Great, thanks.&lt;/P&gt;&lt;P&gt;Exactly what I was looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 06:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047996#M39803</guid>
      <dc:creator>LorenzMeyer1</dc:creator>
      <dc:date>2021-04-16T06:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047998#M39804</link>
      <description>&lt;P&gt;Thank you so much. Exactly what I was looking for&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16627"&gt;@MaxSquires&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 06:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1047998#M39804</guid>
      <dc:creator>nutscrewbolt</dc:creator>
      <dc:date>2021-04-16T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1073164#M42577</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16627"&gt;@MaxSquires&lt;/a&gt;&amp;nbsp;i am getting a runtime error when i am using this function in a jupyter notebook. my instance lookes somtehing like this . what could be the issue?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcgisscripting
acrcgissripting._createGISServerConnectionFile("PUBLISH_GIS_SERVICES", "/arcigs/home", "test.ags", "https://serverurl", "ARCGIS_SERVER", True, "/arcgis/home", "username", "password","SAVE_USERNAME")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 13:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1073164#M42577</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2021-06-28T13:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an arcgis server connection file with the python 3.x environment (from ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1344488#M74728</link>
      <description>&lt;P&gt;Excellent!&amp;nbsp; I will try this until there is a better alternative.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 16:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-an-arcgis-server-connection-file/m-p/1344488#M74728</guid>
      <dc:creator>MichaelLakey</dc:creator>
      <dc:date>2023-11-01T16:09:05Z</dc:date>
    </item>
  </channel>
</rss>

