The metadata store replica is already in use RRS feed

  • Question

  • Hi,

    I install two instances of the same windows service on one server. Windows service uses SyncOrchestrator and two custom providers to synchronize data. Custom providers use SqlMetadataStore to store metadata. When I run one service, everything is fine, however, when one service is synchronizing, and i try to run second service, second service fails with message "The metadata store replica is already in use" in this.metadataStore.GetSingleReplicaMetadata().

    Is this normal behavior? Does that mean that only one instance of SqlMetadataStore can be open/used at a time, regardless that metadata files are completely different?

    Are there any workarounds? Do I have any other options?

    Donatas Vyzas

    Monday, July 27, 2015 3:12 PM