<?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: Publishing a feature service using a versioned feature class in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681211#M25939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an old thread, but I found this information to be extremely helpful as well when trying to figure out how to register versioned data:&amp;nbsp; &lt;A class="link-titled" href="http://support.esri.com/en/technical-article/000012208" title="http://support.esri.com/en/technical-article/000012208"&gt;How To: Register different versions of the same database&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2017 23:28:52 GMT</pubDate>
    <dc:creator>HeatherSavage</dc:creator>
    <dc:date>2017-08-03T23:28:52Z</dc:date>
    <item>
      <title>Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681202#M25930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been successfully publishing map services with data from my Enterprise SDE (SQL Server) geodatabase.&amp;nbsp; The database is registered for use with Server map services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am now attempting to create a feature service for editing data within my Flex viewer.&amp;nbsp; The feature class is trails and the feature class is versioned for editing.&amp;nbsp; I have created a new public version for the trails feature class and it is the only layer in my mxd.&amp;nbsp; Permissions to the trails data have my ArcGIS Server account (a Windows domain account) granted with select, insert, update, and delete.&amp;nbsp; When I go to publish the mxd as a feature service, the Analyze process throws an error saying the feature service requires a registered database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that my version is not recognized as being registered, even though the SDE database in which this feature class is stored is registered.&amp;nbsp; Are there some extra steps when publishing a feature service using a versioned feature class?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 21:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681202#M25930</guid>
      <dc:creator>BrianOevermann</dc:creator>
      <dc:date>2012-10-24T21:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681203#M25931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; ... It appears that my version is not recognized as being registered, even though the SDE database in which this feature class is stored is registered. Are there some extra steps when publishing a feature service using a versioned feature class? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Short answer is "no" to your question. I suspect what happened is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. You defined your data store that references your ArcSDE geodatabase, by referencing a .sde connection file. The connection file referenced a specific version in the geodatabase (e.g., possibly the DEFAULT version).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. You created a new public version for the trails feature class, and attempt to publish this in a map service with feature access enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. When ArcMap performs the analyze, it throws the "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;feature service requires a registered database&lt;/SPAN&gt;&lt;SPAN&gt;" error, because it is checking for the specific version in the geodatabase that is specified in the connection file used by your data store. &lt;/SPAN&gt;&lt;STRONG&gt;This is a different version than the one being referenced by the trails feature class.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try defining a new data store, that uses a different .sde connection file - that references your new public version used by the trails feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 05:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681203#M25931</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2012-10-26T05:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681204#M25932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your assumptions accurately describe the situation.&amp;nbsp; Can you point me to a help document that describes how one creates a .sde connection file to a specific version of a feature class?&amp;nbsp; The 'Add Database Connection' is straightforward but appears to not have the granularity to reach "inside" a geodatabase to specify a particular version.&amp;nbsp; I am obviously missing something that is likely very simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 13:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681204#M25932</guid>
      <dc:creator>BrianOevermann</dc:creator>
      <dc:date>2012-10-26T13:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681205#M25933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Can you point me to a help document that describes how one creates a .sde connection file to a specific version of a feature class? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Create ArcSDE Connection File&lt;/SPAN&gt;&lt;SPAN&gt; tool in ArcToolbox &amp;gt; Data Management toolbox &amp;gt; Workspace toolset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000pt000000"&gt;&lt;BR /&gt;Create ArcSDE Connection File (Data Management)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can select a different version to connect to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 17:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681205#M25933</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2012-10-26T17:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681206#M25934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the pointer.&amp;nbsp; I am using direct connections to SDE so needed to use the 'Create Database Connection' instead.&amp;nbsp; But your response got me on the right track.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 21:15:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681206#M25934</guid>
      <dc:creator>BrianOevermann</dc:creator>
      <dc:date>2012-11-01T21:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681207#M25935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a feature setup. All seems to be setup properly. However, getting this error and unable to commit updates through the feature service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Internal Server Error. Error handling service request: Could not service request. java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a local arcgis account on the GIS server that is running the Service.&amp;nbsp; we are using DB auth. Does the DB need to have this same user account with edit permissions? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 20:44:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681207#M25935</guid>
      <dc:creator>BenjaminDwinal</dc:creator>
      <dc:date>2012-11-05T20:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681208#M25936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Benjamin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I have a local arcgis account on the GIS server that is running the Service.&amp;nbsp; we are using DB auth. Does the DB need to have this same user account with edit permissions? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the late reply, I was out on business travel. Yes, you'll need to add the ArcGIS account as a valid database user for DB authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 16:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681208#M25936</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2012-11-19T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681209#M25937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4 years later and this is still helpful! My issue was number 1). I had to copy the connection file referencing a specific version to my server, then registered data base via that connection file and the source was recognized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3176"&gt;Derek Law&lt;/A&gt;​!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 21:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681209#M25937</guid>
      <dc:creator>LangdonSanders2</dc:creator>
      <dc:date>2016-02-25T21:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681210#M25938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Langdon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad to hear that you found the info helpful and that your issue is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 17:18:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681210#M25938</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2016-02-28T17:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing a feature service using a versioned feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681211#M25939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an old thread, but I found this information to be extremely helpful as well when trying to figure out how to register versioned data:&amp;nbsp; &lt;A class="link-titled" href="http://support.esri.com/en/technical-article/000012208" title="http://support.esri.com/en/technical-article/000012208"&gt;How To: Register different versions of the same database&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 23:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-a-feature-service-using-a-versioned/m-p/681211#M25939</guid>
      <dc:creator>HeatherSavage</dc:creator>
      <dc:date>2017-08-03T23:28:52Z</dc:date>
    </item>
  </channel>
</rss>

