<?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: Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314239#M3672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/22882"&gt;Matthew Dickinson&lt;/A&gt;‌ did you ever find a solution to this? We're seeing something similar when attempting to sync data from Collector to a hosted Feature layer in ArcGIS Enterprise v10.7.1.&amp;nbsp; We're getting the "&lt;SPAN style="font-size: 11.0pt; color: #4472c4;"&gt;A table in the database is locked" error, but intermittently and apparently every other attempt.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 16:55:26 GMT</pubDate>
    <dc:creator>deactivated-user-ChrisBeaudett</dc:creator>
    <dc:date>2020-05-12T16:55:26Z</dc:date>
    <item>
      <title>Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314238#M3671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an ArcGIS Runtime SDK for .NET WPF 100.0.0 based application which reads data from a queue, converts that data into a feature and stores that feature in a feature service based mobile geodatabase. The application will periodically sync that geodatabase back to the feature server. These errors occur from several different places within the application. They only seem to occur when the application is attempting to sync, but it does sync successfully more often than not. Any ideas about what might be causing this issue? Do I need to pause all sync jobs while editing the database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked&lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISException.HandleCoreError(CoreError error, Boolean throwException)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError(IntPtr errorHandle, Boolean throwOnFailure, GCHandle wrapperHandle)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreTask.Get()&lt;BR /&gt; at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler`1.OnCompleted(Object sender, EventArgs e)&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler`1.&amp;lt;CreateInternal&amp;gt;d__6.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at Esri.ArcGISRuntime.Data.FeatureTable.&amp;lt;QueryFeaturesInternal&amp;gt;d__59.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&lt;BR /&gt; at SpatialScene.ArcGISRuntimeModule.ViewModels.QueryTabUserControlViewModel.&amp;lt;RefreshAsync&amp;gt;d__69.MoveNext() in C:\Users\Mattd\Source\Repos\SpatialScene\SpatialScene\SpatialScene.ArcGISRuntimeModule\ViewModels\QueryTabUserControlViewModel.cs:line 301&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at Esri.ArcGISRuntime.Data.FeatureTable.&amp;lt;QueryFeaturesInternal&amp;gt;d__59.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&lt;BR /&gt; at SpatialScene.ArcGISRuntimeModule.ViewModels.QueryTabUserControlViewModel.&amp;lt;RefreshAsync&amp;gt;d__69.MoveNext() in C:\Users\Mattd\Source\Repos\SpatialScene\SpatialScene\SpatialScene.ArcGISRuntimeModule\ViewModels\QueryTabUserControlViewModel.cs:line 301&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked&lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISException.HandleCoreError(CoreError error, Boolean throwException)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError(IntPtr errorHandle, Boolean throwOnFailure, GCHandle wrapperHandle)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreTask.Get()&lt;BR /&gt; at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler`1.OnCompleted(Object sender, EventArgs e)&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler`1.&amp;lt;CreateInternal&amp;gt;d__6.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at Esri.ArcGISRuntime.Data.FeatureTable.&amp;lt;UpdateFeatureAsync&amp;gt;d__60.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt; at System.Runtime.CompilerServices.TaskAwaiter.GetResult()&lt;BR /&gt; at SpatialScene.Data.Geodatabase.&amp;lt;ParseLocation&amp;gt;d__16.MoveNext() in C:\Users\Mattd\Source\Repos\SpatialScene\SpatialScene\SpatialScene.Data\Geodatabase.cs:line 636&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 16:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314238#M3671</guid>
      <dc:creator>MatthewDickinson1</dc:creator>
      <dc:date>2017-06-28T16:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314239#M3672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/22882"&gt;Matthew Dickinson&lt;/A&gt;‌ did you ever find a solution to this? We're seeing something similar when attempting to sync data from Collector to a hosted Feature layer in ArcGIS Enterprise v10.7.1.&amp;nbsp; We're getting the "&lt;SPAN style="font-size: 11.0pt; color: #4472c4;"&gt;A table in the database is locked" error, but intermittently and apparently every other attempt.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 16:55:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314239#M3672</guid>
      <dc:creator>deactivated-user-ChrisBeaudett</dc:creator>
      <dc:date>2020-05-12T16:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314240#M3673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many people are concurrently syncing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 12:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314240#M3673</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-05-13T12:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314241#M3674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the recent v100.8 release we resolved a sync issue with the same error message (`A table in the database is locked`).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to update your app and retest with the latest version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 16:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314241#M3674</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-05-13T16:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Message: Esri.ArcGISRuntime.ArcGISRuntimeException: A table in the database is locked</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314242#M3675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What platform/version of Collector are you running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 16:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/message-esri-arcgisruntime-arcgisruntimeexception/m-p/314242#M3675</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-05-13T16:26:54Z</dc:date>
    </item>
  </channel>
</rss>

