<?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: Cannot insert duplicate key row in object '...cases.REPORTING AREAS' in Coronavirus disease 2019 (COVID-19) Questions</title>
    <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/1009142#M340</link>
    <description>&lt;P&gt;Hey Mike, could you kindly help me!!!&lt;BR /&gt;i try to import XML to database, it works well for FileDB (Schema and Data), but for SDB give me this error &lt;U&gt;&lt;EM&gt;"Underlying DBMS error [[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Violation of PRIMARY KEY constraint 'R108_pk'. Cannot insert duplicate key in object 'dbo.GISVW_SAFE_DISTANCE'. The duplicate key value is (1).] [XML.DBO.GISVW_SAFE_DISTANCE] "&lt;/EM&gt;&lt;/U&gt;&amp;nbsp;&lt;BR /&gt;it works well for schema only but for schema and data the previous error appears...&lt;/P&gt;</description>
    <pubDate>Sun, 13 Dec 2020 14:36:43 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-12-13T14:36:43Z</dc:date>
    <item>
      <title>Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129853#M45</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the Case Reporter up and going. I have followed this workflow, except I did a copy and paste to get the boundary in there. I did make sure there was a Name in the Name field. No matter what I set as the name, I get the same error. The only difference is that the duplicate key value changes to whatever the name is that I have changed it to.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://solutions.arcgis.com/local-government/help/coronavirus-response/workflows/tabulate-coronavirus-cases/" title="https://solutions.arcgis.com/local-government/help/coronavirus-response/workflows/tabulate-coronavirus-cases/"&gt;Tabulate Coronavirus Cases - Coronavirus Response | ArcGIS Solutions for Local Government&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/486420_image.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 20:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129853#M45</guid>
      <dc:creator>JenniferBorlick</dc:creator>
      <dc:date>2020-03-27T20:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129854#M46</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/6066"&gt;Jennifer Borlick&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the delay on this thread. I'd recommend re-deploying the solution (make sure you uncheck the Use Existing Items In The Organization in the Options menu of the Deploy an ArcGIS Solution step). Then test to see if you still receive the insert duplicate error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll keep an eye on this thread so feel free to ask follow up questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:30:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129854#M46</guid>
      <dc:creator>MikeDagle</dc:creator>
      <dc:date>2020-03-30T17:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129855#M47</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not seeing "Use Existing Items"?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/486821_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 18:32:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129855#M47</guid>
      <dc:creator>JenniferBorlick</dc:creator>
      <dc:date>2020-03-30T18:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129856#M48</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/486822_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 18:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129856#M48</guid>
      <dc:creator>JenniferBorlick</dc:creator>
      <dc:date>2020-03-30T18:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129857#M49</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennifer - It's in the hamburger Options menu to the right of the search box. Just above the scroll bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 18:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129857#M49</guid>
      <dc:creator>MikeDagle</dc:creator>
      <dc:date>2020-03-30T18:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129858#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. Thanks. When I attempted to re-deploy, it said that it finished, but instead of a green check mark, I got a red X.&lt;BR /&gt;I went into the organization and nothing had been overwritten. I deleted the Cases feature layer and the survey (The survey from Survey123 Connect) and tried it again. It worked the second time. My guess is that there was a schema lock. Let's hope I don't have to do that again. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 18:56:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/129858#M50</guid>
      <dc:creator>JenniferBorlick</dc:creator>
      <dc:date>2020-03-30T18:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/1009142#M340</link>
      <description>&lt;P&gt;Hey Mike, could you kindly help me!!!&lt;BR /&gt;i try to import XML to database, it works well for FileDB (Schema and Data), but for SDB give me this error &lt;U&gt;&lt;EM&gt;"Underlying DBMS error [[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Violation of PRIMARY KEY constraint 'R108_pk'. Cannot insert duplicate key in object 'dbo.GISVW_SAFE_DISTANCE'. The duplicate key value is (1).] [XML.DBO.GISVW_SAFE_DISTANCE] "&lt;/EM&gt;&lt;/U&gt;&amp;nbsp;&lt;BR /&gt;it works well for schema only but for schema and data the previous error appears...&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 14:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/1009142#M340</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-12-13T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key row in object '...cases.REPORTING AREAS'</title>
      <link>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/1011810#M341</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User&amp;nbsp; - Can you give a few more details on what you're trying to do?&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 17:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/coronavirus-disease-2019-covid-19-questions/cannot-insert-duplicate-key-row-in-object-cases/m-p/1011810#M341</guid>
      <dc:creator>MikeDagle</dc:creator>
      <dc:date>2020-12-22T17:57:30Z</dc:date>
    </item>
  </channel>
</rss>

