Select to view content in your preferred language

Error In data synchronization between ArcGIS mobile cache and ArcGIS server

2433
2
07-08-2011 06:28 AM
rajneeshsingh
Deactivated User
Problem Summary:
I have build a Mobile GIS application Based on ArcGIS mobile API.
When I am trying to Synchronize the edits to server I am getting following error:

Server Error in '/ArcGIS/Services' Application.
--------------------------------------------------------------------------------

The remote procedure call failed. (Exception from HRESULT: 0x800706BE)


When I checked on the ArcGIS server log. The following error was there:

<Msg time='2011-07-08T13:05:44' type='ERROR' code='1017' target='Test.MapServer' thread='4908'>Container  process 3380 has crashed on machine gismwd01.</Msg>
<Msg time='2011-07-08T13:05:54' type='ERROR' code='1017' target='Test.MapServer' thread='4908'>Container  process 2844 has crashed on machine gismwd01.</Msg>



Problem Description:

The Server platform details:
Operating System:      Windows 2008 Server R2 Enterprise.
System Type:            64 bit operating system
Server version:          ArcGIS server 10 SP2

I am trying to synchronize the edits to server using following method:

SyncResults sr= mobileCacheSyncAgent.Synchronize();


I have run my MobileGIS application from the same machine as server and also from a different machine. In both cases I am getting same error.

When the ArcGIS server was on my development machine which is Windows 7 professional SP1. The synchronization was working fine.

But the when I moved my ArcGIS server services to Windows server 2008 R2 Enterprise, I am getting the errors mentioned in the summary.
0 Kudos
2 Replies
StephenDickinson
Esri Contributor
I've experienced error 1017 when the mobile cache mapschema.bin file describes a data connection that cannot be connected to / is not available.

You can use a hex editor to view the connection data that is stored in the mapschema.bin, then verify that this connection is available to your server.

Is it possible that during the move of the services from your development machine to your server the data connections changed / became broken?
0 Kudos
rajneeshsingh
Deactivated User
I have resolved the issue now.

The problem was with the data Connection user for layers in mxd didn't had the required permissions(Update) on the dataset.

Once I updated the permissions. Synchronization is happening fine.

Thanks for your response.
0 Kudos