Select to view content in your preferred language

Posting Updates - Protocol Error

2523
5
02-16-2012 11:51 AM
ShaunWeston
Frequent Contributor
We are implementing ArcGIS Mobile for an organisation, which is going good apart from one issue when posting changes back to the database. Creating a project, then downloading it onto the device all works fine, but when we want to post changes made on the device back, it comes up with a Protocol error. This message is a bit vauge and I wondering if anyone knows what could be causing the issue. I've turned off the firewall on the server and just not really sure what it could be? I remember something about needing to add Global IDs to the feature classes being edited, could this be the issue? This is what I'm going to try next.



[ATTACH=CONFIG]12025[/ATTACH]
0 Kudos
5 Replies
ShaunWeston
Frequent Contributor
FYI for anyone who finds this.

It was because the data needed to be versioned and have globalIDs.
0 Kudos
RenatoSalvaleon
Frequent Contributor
My FC was already versioned but it does not have a GUID either. After adding Global IDs, I tried to post again and I still get the same Protocol Error. Any other suggestions?
0 Kudos
DeniseKing
Esri Regular Contributor
Renato,

If you are still experience problems with Protocol Error messages in ArcGIS Mobile and are current in maintenance, please contact Esri Support and submit a support interaction so you can work with a mobile specialist to troubleshoot the error.

Cheers,
Denise
0 Kudos
DouglasBraeckel
Deactivated User
Renato,

Any change to the data schema like adding a GlobalID column or altering a Domain AFTER will alter the checksum of the map service.  Also, any change to the MXD from which the service is based, like changing the symbology or adding labels, etc, will also alter the checksum value.  If the service checksum doesn't match the cache's checksum, it will most likely never properly sync again and you will receive very uninformative errors like the PROTOCOL ERROR. 

There are a few unsupported hacks to work around these issues, like creating a new mobile project and copy/pasting it's checksum value from the new project to the old to trick the old project to sync, but your mileage may vary.

Doug


My FC was already versioned but it does not have a GUID either. After adding Global IDs, I tried to post again and I still get the same Protocol Error. Any other suggestions?
0 Kudos
AkhilParujanwala
Regular Contributor
I just also want to reiterate this also.

1) Have a featureclass or featuredataset
2) Add Global IDs
3) Register as versioned
4) Create MXD with custom extent on the dataframe
5) Create Service with the mobile checkbox selected
6) Create your mobile project in Project Center
7) Use ArcGIS Mobile and attempt to synchronize

😎 Don't ever touch the featureclass or featuredataset
9) Don't touch the mxd
10) If you want to perform analysis on the data, make a copy of the mxd (copy and paste) and then you can do w/e you want to it
11) If you ever make changes to the mxd or featureclass or featuredataset you should re-create the service and maybe the mxd depending on the changes
12) If you made changes also re-download the project using ArcGIS Mobile on your laptops or mobile devices


I personally modify my featureclasses once per week and I constantly have to repeat steps 10 to 12, plus adjust my code to fit in new fields to each featureclass and etc.

Good luck with your project!
0 Kudos