Offline Data Editing on Versioned Data

03-22-2016 05:36 AM
New Contributor III

I have registered my layer as "Registered as  versioned" with the "Register the selected objects with the option to move edits to base".

I can publish the the data the feature server with "Sync" features on.

Data can be used online, but when trying to "download the map" for "offline" use.

The application logs says :

Error Domain=NSCocoaErrorDomain Code=400 "Failed to create replica." UserInfo={NSURL=, responseJSON={

    error =     {

        code = 400;

        description = "Failed to create replica.";


    lastUpdatedTime = 1458648838000;

    replicaName = "";

    resultUrl = "";

    status = Failed;

    submissionTime = 1458648835000;

}, NSLocalizedFailureReason=Failed to create replica.}

And when checked "Arcgis server Manager" logs 2 error occurs :

Error 1

Error executing tool.: ErrorMsg@SyncGPService:{"code":400,"description":"Failed to create replica."} Failed to execute (Create Feature Service Replica).

Error 2

Error: An error occurred while adding an entry to the FEATUREDATASET_CLASSES or the FEATURECLASSES table. [Read only data or unversioned data cannot be replicated. Data versioned with the option to move edits to base cannot be replicated. GlobalIDs are required for two way and one way replica data. Creating one way replica using archiving requires archiving the replicated parent data.].

The achivement goal is :

Publish a feature server to use on mobile for online/offline editing with versioned data and all changes and updates shown on service immediately.

What i have already tried :

  • Read the prepare offline map and feature documentation and made sure that i had Global ID
  • When i do not use "Register the selected objects with the option to move edits to base" for data versioning option. Data is not displaying on the server when sync in offline mods.

Why we need versioning :

To be able to change and edit on Arcmap and webservices for multiple users.

Thanks in advance.

1 Reply
New Contributor III

I've found the problem. If when you registered the data set as versioned and you checked the box to move edits to base that is the issue all you need to do is unregister it. Register it once again but do not check the box! here is the link for info:

0 Kudos