<?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: Can not create a feature service from shapfile in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102493#M7897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ravi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Kareem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the item uploaded does not contain a shapefile in the format that is expected.&amp;nbsp; Shapefiles must be compressed as a .zip file containing .shp, .shx, .dbf, and .prj files. can you confirm if you are doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//019300000085000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//019300000085000000&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 14:28:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-02-14T14:28:00Z</dc:date>
    <item>
      <title>Can not create a feature service from shapfile</title>
      <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102492#M7896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: kareem.morsy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed Portal for GIS 10.2.1 and i have windows authentication configured to access the Portal. I have Federated my Portal with ArcGIS server 10.2.1 and i have also added it as a hosting server which has a managed sde database&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added a CSV file to my content and i was able to publish it as a feature service. and i am able to see the features on the map . and the data at my sde oracle database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to add a valid geometry&amp;nbsp; shapefile directly to the map but i get this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; "Unable to import this shapefile. (Generate Features error: Server tool execution failed : ERROR 999999: Error executing function. No shape file found in item. Failed to execute (Generate Features for Portal). Failed.)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to add the same shape file to my content and publish it as a feature service. but the service is never created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have check ArcGIS Server Logs and it says&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt; Error executing tool.: ERROR 999999: Error executing function. No shape file found in item. Failed to execute (Publish Portal Service)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Unable to process request. Service Hosted/Tempo/MapServer not found&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;No shape file found in item.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;I have tried to add the same shapefile to the ArcGIS Online and it works perfectly fine as well as the feature service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Request your support on this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 10:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102492#M7896</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-13T10:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create a feature service from shapfile</title>
      <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102493#M7897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ravi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Kareem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the item uploaded does not contain a shapefile in the format that is expected.&amp;nbsp; Shapefiles must be compressed as a .zip file containing .shp, .shx, .dbf, and .prj files. can you confirm if you are doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//019300000085000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//019300000085000000&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 14:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102493#M7897</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-14T14:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create a feature service from shapfile</title>
      <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102494#M7898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Ravi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. Yes the .zip file contains all the 5 files. I have even uploaded it successfully to ArcGIS online. but it is not working with the portal for GIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 19:51:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102494#M7898</guid>
      <dc:creator>KareemMorsy</dc:creator>
      <dc:date>2014-02-14T19:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create a feature service from shapfile</title>
      <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102495#M7899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jhboyle&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello Ravi&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. Yes the .zip file contains all the 5 files. I have even uploaded it successfully to ArcGIS online. but it is not working with the portal for GIS.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make sure the .zip file does not have the 5 files nested in a folder, this is the default way windows creates .zips.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]file.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]the 5 files[/INDENT][/INDENT][/INDENT] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is wrong&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]file.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]the 5 files[/INDENT][/INDENT] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is right.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 17:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102495#M7899</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-17T17:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create a feature service from shapfile</title>
      <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102496#M7900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Jacob&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two Thank you. one for your reply. and another one because this worked perfectly fine. but i am confused why the same old file works on the ArcGIS Online.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to do two more changes to ArcGIS Server Security Configuration in order to make it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\arcgisserver\config-store\security\security-config.json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"securityEnabled": false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"sslEnabled": false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because every time i am asked for a token even if i made it last longer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but anyways Thanks guys for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 03:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102496#M7900</guid>
      <dc:creator>KareemMorsy</dc:creator>
      <dc:date>2014-02-18T03:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can not create a feature service from shapfile</title>
      <link>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102497#M7901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jhboyle&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yeah, i'm not sure why either...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when i was troubleshooting another issue, i mentioned it to the analyst and he suggested that might be the underlying issue with the imports.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 22:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-not-create-a-feature-service-from-shapfile/m-p/102497#M7901</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-19T22:04:51Z</dc:date>
    </item>
  </channel>
</rss>

