<?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: How to get a detailed error message when offline sync fails? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720507#M9081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heya Juha, &lt;/P&gt;&lt;P&gt;Let me ask around what could be done. Just to clarify this occurs with Oracle 11g Enterprise and works with same data/structure in XE? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 11:55:46 GMT</pubDate>
    <dc:creator>AnttiKajanus1</dc:creator>
    <dc:date>2015-01-15T11:55:46Z</dc:date>
    <item>
      <title>How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720500#M9074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After I've created an offline replica I try to sync the changes back to the server. I get an exception message saying &lt;EM&gt;"An exception occured: Error code '500' : 'Failed to synchronize.'"&lt;/EM&gt; but I don't get any more information. I've googled for the error message and if I would do this from the ArcGIS Server's REST interface (web browser), I'd get more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a limitation on the &lt;EM&gt;ArcGIS Runtime Desktop API for Microsoft .Net&lt;/EM&gt;? Is there any way to get any more information on the exception? Maybe this could be implemented in the future release (inner exception maybe?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code worked yesterday but now someone has done something on the server and I'd like to know what's wrong...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720500#M9074</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2014-11-12T08:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720501#M9075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you see what JSON is returned from the server and if that includes the error? If it returned, then we can most likely do something about reporting it back to the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 09:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720501#M9075</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2014-11-12T09:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720502#M9076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I have the access to the JSON message. The only information available is the Exception variable in the SyncCompleteCallback method. Also the GeodatabaseStatusInfo variable is null, so there's nothing there either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 10:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720502#M9076</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2014-11-12T10:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720503#M9077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you cannot use Fiddler or other tools to check it? I would be interested what traffic is going on after you start sync. That would be easiest way to see what's going on and in what point the error is thrown. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this error occur after progress is called couple times or does it come back to that right away?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 10:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720503#M9077</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2014-11-12T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720504#M9078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The JSON response is simply:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"resultUrl":"",&lt;/P&gt;
&lt;P&gt;"replicaName":"Ags_Fs_1415789855240",&lt;/P&gt;
&lt;P&gt;"submissionTime":1418295480000,&lt;/P&gt;
&lt;P&gt;"lastUpdatedTime":1418295489000,&lt;/P&gt;
&lt;P&gt;"status":"Failed",&lt;/P&gt;
&lt;P&gt;"error":&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {"code":500,"description":"Failed to synchronize."}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's not very helpful &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just got more information that someone had changed service's the target database from Oracle XE database to Oracle 11g Enterprise. The &lt;EM&gt;Sync&lt;/EM&gt; capability is not enabled on the new database, so there's the reason. &lt;STRONG&gt;However, the error message should be more descriptive ("failed to syncronize: sync capability not enabled")!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:04:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720504#M9078</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2014-11-12T11:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720505#M9079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that it's not very good error message that is returned from the server. Unfortunately that's all we know what happened in the operation on the .NET side. I will log this as an issue to the Server / REST side so in the future we would get a bit more details what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720505#M9079</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2014-11-12T11:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720506#M9080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're having this issue again. Now the sync capabilities are enabled but the sync still fails. &lt;STRONG&gt;Is there any way to know what's wrong?&lt;/STRONG&gt; The server returns a few status messages (InProgress), but then fails. The code works with an Oracle XE server, but I don't see any differences in the table structure or service definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also: I haven't changed any data on the offline database. I just wanted to test if the sync works at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service's sync capabilities are:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt; Supports Registering Existing Data: true&lt;/P&gt;&lt;P&gt; Supports Sync Direction Control: true&lt;/P&gt;&lt;P&gt; Supports PerLayer Sync: true&lt;/P&gt;&lt;P&gt; Supports PerReplica Sync: false&lt;/P&gt;&lt;P&gt; Supports RollbackOnFailure : false&lt;/P&gt;&lt;P&gt; Supports Async: true&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I also checked the ArcGIS Server Manger logs and found this entry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Failed in acquiring Archive Difference Cursor for Dataset: SCHEMA.TableName for Replica: SCHEMA.Ags_Fs_1421226240935 [GUID: A9BFF549-4F11-4707-A5C2-A6CE82826D2E]. Time taken: 0.032000 seconds. Underlying DBMS error [SCHEMA.TableName]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked that we have the correct SDE version and archiving is enabled. Do you know anything else that we can do, &lt;A href="https://community.esri.com/migrated-users/20744"&gt;antti kajanus&lt;/A&gt;‌?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 12:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720506#M9080</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-01-14T12:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720507#M9081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heya Juha, &lt;/P&gt;&lt;P&gt;Let me ask around what could be done. Just to clarify this occurs with Oracle 11g Enterprise and works with same data/structure in XE? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720507#M9081</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2015-01-15T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720508#M9082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The structure is the same, but the data varies (test/prod environment).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720508#M9082</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-01-15T11:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720509#M9083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any information about this issue yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720509#M9083</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-01-23T08:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a detailed error message when offline sync fails?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720510#M9084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that you have already turned all logging options enabled on the ArcGIS Server and seen what is logged. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you should make a official support request through your local distributor for this issue. That would be the best way to ensure that you get help with this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Antti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 11:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-get-a-detailed-error-message-when-offline/m-p/720510#M9084</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2015-01-28T11:45:24Z</dc:date>
    </item>
  </channel>
</rss>

