If you are publishing to a 10.2.1 server its a 10.2.1 service. Sync was in that release but there are necessary fixes in 10.2.2 that are not in 10.2.1 and could be why the Collector is failing to take it offline. Have you tried making a hosted service version and see if the app can take it offline?Russ
I have 10.2.2 server and a 10.2.2 geodatabase with the feature service on a non-versioned feature class. I'm still getting the Failed to Create Replica message - it doesn't tell me anything else. I'm using a Tile package that I created and used very nicely in ArcGIS Mobile for Windows.
I was getting a error about Nulls until I took out the other layer in the map which was only Read only vector layer for info. Kinda buggy still!
Hello,
I had the same issue and I found out that you cannot desactivate a field with index (the ones that have a star at the end in the attribute table).
Though they are not mandatory fields, as soon as they have an index, it will fail.
Hope this can help,
Nicolas
I am having the same problem with the "Failed to Create Replica" error in Collector. A Global ID is an index field and isn't the Global ID field required for use of a feature in Portal/Collector?
I had this issue and I found that I had to go to the System folder in Manager and make sure it was unlocked. Also, if you upgraded your server you will want to go to the arcgiserver folders and make sure ArcGIS user is in the folder security.
Also sometimes an mxd could have bad element in it and starting from scratch may do the trick too.
(Cannot have any joins in map for feature service)
Hope it helps
I am having the same issue. Is it because there is an attachment relationship built on the feature class?
i think this will happen when you have the service set to download by map instead of by user. When you download to say collector and it is by map you will get a version for each download. if you set it to download by user then it will be by the security users at server level. Ex. no security on service will be an anonymous(service name). if you add security version will be by that name: Robert(service name) . These will need to be managed. Reconcile/posted to default. Hope its working. I trudged through this late last year. it was dreadful, but now it is working slick. there are just so many things to consider.
Thanks for the information. I think it is getting closer. I set the service to be for "User" this time when i published. I am still getting the same 2 errors in the Logs. The service folder is open to public and so is the site root. I am going to the developers summit in Palm Springs so maybe i can let someone see exactly what i am doing.
i ran across this again and was thinking if you didn't find a solution anyway. I had issues downloading replicas at first and it was security on the arcgisserver folder on the server. it needed the arcgis user added.
Thanks Hillary. We did get it going and it was the same issue you described.
Hello All,
I think I am having the same issue where when trying to download a map for offline use when I am presented with an error "The Map "Map Name" failed to download with the message: Failed to create replica.". This map resides on ArcGIS online and consumes one feature service that is running on my local ArcGIS Server (version 10.3). The feature class has attachments and are tied to the attachments via a relationship class using a GlobalID field.
What I have tried so far:
When logging into the server manager and checking out the logs there is this error which I am guessing is the culprit but I am unsure what to do to rectify it:
Both the ArcGIS service account and the account I am using to log into collector with (We're using AD FS ) have full permissions to the dataset the layer is in as well as the attachments table. Does anyone have any input on what account needs what permissions for the GDB_items table?
Thank you in advance,
Chris
Just wanted to give an update on this issue I had. I had to grant db_datareader and db_datawriter permissions to my ArcGIS Server Service account. Once this was done I was able to download, edit and sync my locally hosted feature service.
Hi NicolasGIS,
Can you point me to where in the ArcGIS Documentation this is (that replicas can't be created when indexed attributes are hidden)? I suspect this is the issue I am seeing but don't see where in the documentation this is described.
Thanks,
Micah
Hi Micah,
I did not find it in the documentation.
I did some tests with and without an indexed field and it failed without the indexed field but worked with !
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.