<?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: ArcGIS doesn't work on IIS &amp;gt; Not signed into Portal in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575505#M45086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank @Rebecca Strauch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2017 06:38:54 GMT</pubDate>
    <dc:creator>NghiepNeoLab</dc:creator>
    <dc:date>2017-11-16T06:38:54Z</dc:date>
    <item>
      <title>ArcGIS doesn't work on IIS &gt; Not signed into Portal</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575503#M45084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I am trying to configure and use arcpy on IIS. I can run basic Python code but I cannot import arcpy. The error message is "Not signed into Portal".&lt;/P&gt;&lt;P&gt;Actually I have signed in on ArcGIS application..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-centered j-img-original" src="https://puu.sh/ylM9k.png" style="width: 620px; height: 598px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I installed ArcGIS at location:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;C:/Program Files/ArcGIS/Pro/bin/Python/envs/arcgispro-py3/python.exe&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My IIS&amp;nbsp;is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-6 jive-image j-img-centered j-img-original" src="https://puu.sh/yhbkZ.png" style="width: 620px; height: 330px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;My CGI configuration is&amp;nbsp;&lt;IMG alt="" class="image-7 jive-image j-img-centered j-img-original" src="https://puu.sh/yhd6z.png" style="max-width: 620px; height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I write basically Python script&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2 j-img-centered j-img-original" src="https://puu.sh/yhdDH.png" style="width: 620px; height: 521px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;When I try to run my script on Windows Command Prompt without IIS environment. It works well.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3 j-img-centered j-img-original" src="https://puu.sh/yhcXo.png" style="width: 620px; height: 364px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;When I try to run my script on browser of IIS (for example Chrome). It doesn't work&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image j-img-centered image-4 j-img-original" src="https://puu.sh/yhd1j.png" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;But if I remove "import arcpy" outside my python script, and try again. It works&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-5 j-img-centered j-img-original" src="https://puu.sh/yhdFi.png" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I don't know why. I have searched to find the solution but I cannot fix it.&lt;/P&gt;&lt;P&gt;I really need to resolve it soon because School deadline is short. If someone know how to fix please help me&lt;/P&gt;&lt;P&gt;Thank a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p/s:&amp;nbsp;I am sorry about my English.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 02:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575503#M45084</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-15T02:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS doesn't work on IIS &gt; Not signed into Portal</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575504#M45085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not an IIS expert, but I don't think arcpy is meant to run in a browser in that manner.&amp;nbsp; Typically you would create a geoprocessing service to run in a web app (or Desktop app).&amp;nbsp; It might help to explain a little more about what you are trying to do. What ArcGIS software and versions you have access too, etc.&amp;nbsp; Also, posting your code using &lt;A href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting?sr=search&amp;amp;searchId=347edb37-9b0e-4ffc-81c4-f4d1da269e99&amp;amp;searchIndex=1"&gt;/blogs/dan_patterson/2016/08/14/script-formatting?sr=search&amp;amp;searchId=347edb37-9b0e-4ffc-81c4-f4d1da269e99&amp;amp;searchIndex=1&lt;/A&gt;‌&amp;nbsp; would help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also tagging &lt;A href="https://community.esri.com/community/gis/applications/arcgis-pro?sr=search&amp;amp;searchId=c318f72e-68a6-4d1e-919b-0570559e722a&amp;amp;searchIndex=1"&gt;https://community.esri.com/community/gis/applications/arcgis-pro?sr=search&amp;amp;searchId=c318f72e-68a6-4d1e-919b-0570559e722a&amp;amp;searchIndex=1&lt;/A&gt;‌ &lt;A href="https://community.esri.com/groups/arcgis-pro-tasks?sr=search&amp;amp;searchId=c318f72e-68a6-4d1e-919b-0570559e722a&amp;amp;searchIndex=2"&gt;https://community.esri.com/groups/arcgis-pro-tasks?sr=search&amp;amp;searchId=c318f72e-68a6-4d1e-919b-0570559e722a&amp;amp;searchIndex=2&lt;/A&gt;‌ since you mention you have that installed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575504#M45085</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-11-15T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS doesn't work on IIS &gt; Not signed into Portal</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575505#M45086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank @Rebecca Strauch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 06:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-doesn-t-work-on-iis-gt-not-signed-into/m-p/575505#M45086</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-16T06:38:54Z</dc:date>
    </item>
  </channel>
</rss>

