<?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: import arcgis in Flask with fastcgi in IIS in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259766#M19994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, and I'm also getting a 500 error, but it may be for a different reason. It would be helpful to post the "detailed error information" that you see in your browser, especially the error code (not 500). The error code I get is&amp;nbsp;&lt;SPAN&gt;0xc0000005, an access violation, which apparently indicates a memory error that the operating system doesn't know how to deal with. I'm still looking for a solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that you're using Pro's default conda environment. I assume you've installed wfastcgi there, although Esri apparently discourages changing anything in that environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2020 18:43:47 GMT</pubDate>
    <dc:creator>JasonWise1</dc:creator>
    <dc:date>2020-09-25T18:43:47Z</dc:date>
    <item>
      <title>import arcgis in Flask with fastcgi in IIS</title>
      <link>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259765#M19993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have anyone attempted to import arcgis running in flask while hosted in IIS via fastCGI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kept getting a 500 error with the import ArcGIS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running it in flask without fastCGI works fine.&lt;/P&gt;&lt;H4 style="color: #000000; font-size: 1.2em; margin: 10px 0px 5px;"&gt;arcgispro-py3\python.exe - The FastCGI process exited unexpectedly&lt;/H4&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 06:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259765#M19993</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2020-07-03T06:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: import arcgis in Flask with fastcgi in IIS</title>
      <link>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259766#M19994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, and I'm also getting a 500 error, but it may be for a different reason. It would be helpful to post the "detailed error information" that you see in your browser, especially the error code (not 500). The error code I get is&amp;nbsp;&lt;SPAN&gt;0xc0000005, an access violation, which apparently indicates a memory error that the operating system doesn't know how to deal with. I'm still looking for a solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that you're using Pro's default conda environment. I assume you've installed wfastcgi there, although Esri apparently discourages changing anything in that environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 18:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259766#M19994</guid>
      <dc:creator>JasonWise1</dc:creator>
      <dc:date>2020-09-25T18:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: import arcgis in Flask with fastcgi in IIS</title>
      <link>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259767#M19995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/150390"&gt;Jason Wise&lt;/A&gt;‌, thank you for the reply &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;. The conda environment is a clone using a different file path. I have resolved the issue since then have gotten arcpy and arcgis python api to run in flask on iis.&amp;nbsp; It was just making sure the permissions are correctly set in the identity pool in IIS (Plus a whole lot of workaround to get it to work &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 23:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259767#M19995</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2020-09-25T23:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: import arcgis in Flask with fastcgi in IIS</title>
      <link>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259768#M19996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't gotten this to work, so I asked&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/message/956072-are-wfastcgi-python-api-compatible"&gt;my own question&lt;/A&gt;. Are you using wFastCGI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcgis-in-flask-with-fastcgi-in-iis/m-p/259768#M19996</guid>
      <dc:creator>JasonWise1</dc:creator>
      <dc:date>2020-09-28T20:48:31Z</dc:date>
    </item>
  </channel>
</rss>

