<?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 Fail to create replica when def. query by date (DBMS error) in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/fail-to-create-replica-when-def-query-by-date-dbms/m-p/577664#M22247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Server 10.3.1 fails to create replica when feat. service SDE feat. class contains a definition query on a date type field.&lt;/P&gt;&lt;P&gt;-We are getting this error with both SQL Server Express 2012 and 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Workflow&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. SDE feat. class has editor tracking enabled &lt;/P&gt;&lt;P&gt;2. apply a definition query to the feat. class, editor tracking field here's the syntax: created_date &amp;gt; '2016-02-19 21:33:35'&lt;/P&gt;&lt;P&gt;3. Service is sync enabled&lt;/P&gt;&lt;P&gt;4. Publish feat. service to Server 10.3.1; secured with tokens&lt;/P&gt;&lt;P&gt;5. Add feat. service to AGOL as item, store user credentials with item&lt;/P&gt;&lt;P&gt;6. add item to new web map, save&lt;/P&gt;&lt;P&gt;7. Attempt to download the webmap for offline use using either iOS or Android&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Error in Collector (platform specific variation):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Failed to download map. Failed to create replica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Error in Server Manager:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Underlying DMBS error [[Microsoft][SQL Server Native Client 11.0][SQL Server]Conversion failed when converting date and/or time from character string.][SDE feat. class name]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2016 16:33:20 GMT</pubDate>
    <dc:creator>danbecker</dc:creator>
    <dc:date>2016-04-15T16:33:20Z</dc:date>
    <item>
      <title>Fail to create replica when def. query by date (DBMS error)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/fail-to-create-replica-when-def-query-by-date-dbms/m-p/577664#M22247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Server 10.3.1 fails to create replica when feat. service SDE feat. class contains a definition query on a date type field.&lt;/P&gt;&lt;P&gt;-We are getting this error with both SQL Server Express 2012 and 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Workflow&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. SDE feat. class has editor tracking enabled &lt;/P&gt;&lt;P&gt;2. apply a definition query to the feat. class, editor tracking field here's the syntax: created_date &amp;gt; '2016-02-19 21:33:35'&lt;/P&gt;&lt;P&gt;3. Service is sync enabled&lt;/P&gt;&lt;P&gt;4. Publish feat. service to Server 10.3.1; secured with tokens&lt;/P&gt;&lt;P&gt;5. Add feat. service to AGOL as item, store user credentials with item&lt;/P&gt;&lt;P&gt;6. add item to new web map, save&lt;/P&gt;&lt;P&gt;7. Attempt to download the webmap for offline use using either iOS or Android&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Error in Collector (platform specific variation):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Failed to download map. Failed to create replica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Error in Server Manager:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Underlying DMBS error [[Microsoft][SQL Server Native Client 11.0][SQL Server]Conversion failed when converting date and/or time from character string.][SDE feat. class name]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 16:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/fail-to-create-replica-when-def-query-by-date-dbms/m-p/577664#M22247</guid>
      <dc:creator>danbecker</dc:creator>
      <dc:date>2016-04-15T16:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to create replica when def. query by date (DBMS error)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/fail-to-create-replica-when-def-query-by-date-dbms/m-p/577665#M22248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do yo have an answer for your question? "Fail to create replica when def.query by data (DBMS error)"&lt;SPAN style="font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: xx-large;"&gt;. &lt;/SPAN&gt;Were you able to resolve your problem? I am having a similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/fail-to-create-replica-when-def-query-by-date-dbms/m-p/577665#M22248</guid>
      <dc:creator>AbiDhakal</dc:creator>
      <dc:date>2018-07-05T20:07:30Z</dc:date>
    </item>
  </channel>
</rss>

