Share via


Simple Provider Error Codes

This topic lists new error codes that are defined by Sync Framework for simple providers. Sync Framework uses the standard IErrorInfo mechanism to report the error description and the source of the failure.

Remarks

Error code

Description

SYNC_E_PFX_NO_ITEM_SCHEMA_DEFINED

The simple provider has no item schema defined.

SYNC_E_PFX_CHANGE_DETECTION_FAILED

Simple provider change detection failed.

SYNC_E_PFX_NEW_ITEM_MUST_CONTAIN_ALL_FIELDS

The simple provider requires that new items being reported contain all fields.

SYNC_E_PFX_OPTIMISTIC_CONCURRENCY_VIOLATION

The simple provider detected an optimistic concurrency violation.

SYNC_E_PFX_PROVIDERS_HAVE_NO_COMMON_CHANGE_UNITS

The simple provider detected no change units in common in the providers being synchronized.

SYNC_E_PFX_CHANGE_UNIT_NOT_RECOGNIZED

The simple provider determined that this change unit ID is not recognized by this replica.

SYNC_E_PFX_DUPLICATE_ITEM_FOUND_IN_METADATA_STORE

The simple provider found an item in the metadata store with the same identity fields as the current item.

SYNC_E_PFX_INVALID_OPERATION

The simple provider does not support this invalid operation due to the current state of the object.

SYNC_E_PFX_MUST_FAIL_ENTIRE_ITEM

The simple provider requires that a recoverable error only be recorded at the item level and not per change unit in this context.

SYNC_E_PFX_ITEM_NOT_FOUND_IN_METADATA_STORE

The simple provider did not find an item with the given identity fields in the metadata store.

SYNC_E_PFX_CHANGE_DEFERRED_BY_PROVIDER

This change has been skipped by the provider.

SYNC_E_PFX_PROVIDER_DOES_NOT_SUPPORT_MERGE_CHANGE_DEFERRED

This change has been deferred because the provider does not support custom concurrency conflict resolution.

SYNC_E_PFX_METADATA_STORE_VERSION2_REQUIRED

The simple provider requires a metadata store component of version 2.0 or later.

SYNC_E_PFX_CHANGE_DEFERRED_OPTIMISTIC_CONCURRENCY_VIOLATION

This change has been deferred because the item was modified locally during synchronization.

SYNC_E_PFX_CUSTOM_ID_FORMAT_WITH_NO_ID_GENERATOR

The provider must implement the custom ID generator interface for non-standard ID formats.

SYNC_E_PFX_CHANGE_DELAYED_BY_PROVIDER

This change has been delayed by the provider and will be processed again at the end of the session.

SYNC_E_PFX_FRAMEWORK_VERSION_MISMATCH

The metadata store cannot be opened because it has been updated by synchronization components that are newer than those installed on this computer.

SYNC_E_PFX_PROVIDER_VERSION_MISMATCH

The provider version does not match the version stored in the metadata store.

Requirements

Header: ProviderFrameworkErrors.h

See Also

Concepts

Sync Framework Simple Provider Components