<?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 ArcGIS Server 11.5: can't run a geoprocessing service with custom python environment in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1659877#M43298</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to "Specify a Python environment for a single geoprocessing service" following carefully the documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/11.5/publish-services/windows/deploying-custom-python-packages.htm" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/server/11.5/publish-services/windows/deploying-custom-python-packages.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I cloned the default environment&amp;nbsp;in the ArcGIS Server installation's Python environment directory as "&lt;SPAN&gt;&lt;SPAN class=""&gt;newenvname&lt;/SPAN&gt;&lt;/SPAN&gt;". The cloned environement is functionnal.&lt;/P&gt;&lt;P&gt;Then, after updating the geoprocessing property on the REST Admin interface (ie: adding property&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;"condaEnvironmentPath": "newenvname"&lt;/SPAN&gt;&lt;/SPAN&gt;), tried to run the tool and it returns&amp;nbsp;"The tool is not valid".&lt;/P&gt;&lt;P&gt;Removing the property "&lt;SPAN&gt;&lt;SPAN class=""&gt;condaEnvironmentPath&lt;/SPAN&gt;&lt;/SPAN&gt;" and the tool is back functional.&lt;/P&gt;&lt;P&gt;I tried on both a StandAlone ArcGIS Server and part of an ArcGIS Enterprise, same outcome.&lt;/P&gt;&lt;P&gt;I am running ArcGIS Server 11.5 on Windows Server 2022.Tried on WS2025 but the issue remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody facing the same issue ? Did I miss anything ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 09:05:00 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2025-10-23T09:05:00Z</dc:date>
    <item>
      <title>ArcGIS Server 11.5: can't run a geoprocessing service with custom python environment</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1659877#M43298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to "Specify a Python environment for a single geoprocessing service" following carefully the documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/11.5/publish-services/windows/deploying-custom-python-packages.htm" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/server/11.5/publish-services/windows/deploying-custom-python-packages.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I cloned the default environment&amp;nbsp;in the ArcGIS Server installation's Python environment directory as "&lt;SPAN&gt;&lt;SPAN class=""&gt;newenvname&lt;/SPAN&gt;&lt;/SPAN&gt;". The cloned environement is functionnal.&lt;/P&gt;&lt;P&gt;Then, after updating the geoprocessing property on the REST Admin interface (ie: adding property&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;"condaEnvironmentPath": "newenvname"&lt;/SPAN&gt;&lt;/SPAN&gt;), tried to run the tool and it returns&amp;nbsp;"The tool is not valid".&lt;/P&gt;&lt;P&gt;Removing the property "&lt;SPAN&gt;&lt;SPAN class=""&gt;condaEnvironmentPath&lt;/SPAN&gt;&lt;/SPAN&gt;" and the tool is back functional.&lt;/P&gt;&lt;P&gt;I tried on both a StandAlone ArcGIS Server and part of an ArcGIS Enterprise, same outcome.&lt;/P&gt;&lt;P&gt;I am running ArcGIS Server 11.5 on Windows Server 2022.Tried on WS2025 but the issue remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody facing the same issue ? Did I miss anything ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1659877#M43298</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2025-10-23T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 11.5: can't run a geoprocessing service with custom python environment</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1660491#M43311</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/408959"&gt;@NicolasGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to confirm while&amp;nbsp;running a script tool as a geoprocessing service, the tool fails, does returns the error message: ERROR 000816: The tool is not valid.&lt;/P&gt;&lt;P&gt;If Yes, You can check this document:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/000023081" target="_blank" rel="noopener"&gt;https://support.esri.com/en-us/knowledge-base/000023081&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If No, Could you run the script successfully in ArcGIS Pro?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 14:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1660491#M43311</guid>
      <dc:creator>Priya_Das</dc:creator>
      <dc:date>2025-10-24T14:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 11.5: can't run a geoprocessing service with custom python environment</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1660554#M43313</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/830607"&gt;@Priya_Das&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I confirm the tool does return "&lt;SPAN&gt;ERROR 000816: The tool is not valid.”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The thing is that I made a simple toolbox with no additional dependencies as it was not working and the error remains ! It is working successfully with default '&lt;EM&gt;arcgispro-py3&lt;/EM&gt;' environment configured but as soon as I configure it to run with the clone environment following closely:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/deploying-custom-python-packages.htm" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/deploying-custom-python-packages.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It fails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Anyway, support was able to reproduce and logged the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUG-000180379:&amp;nbsp;ERROR 000816: The tool is not valid.” returned for geoprocessing services published from Python toolboxes (PYT) when using cloned Python environments&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now I am more looking a workaround as I guess I can't hope for a patch for that, can I ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 15:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-11-5-can-t-run-a-geoprocessing/m-p/1660554#M43313</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2025-10-24T15:59:26Z</dc:date>
    </item>
  </channel>
</rss>

