Skip to content

Update error for multiple primary keys tables #16

@georgeenaru

Description

@georgeenaru

Hi,

Thanks for this toolkit, it works fine, except one issue.
When trying to sync tables that have more than one primary keys the "SyncAsync" method throws an error. Below is the error.
To get over it I had to change all my tables with multiple keys to use only one primary key each and it worked.

Error occured during Upload request.
System.ArgumentException
An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Microsoft.Synchronization.Services.RequestParser.ReadIncomingRequestStreamForPost() at Microsoft.Synchronization.Services.RequestParser.ParseIncomingRequest() at Microsoft.Synchronization.Services.SyncService1.ProcessRequestForMessage(Stream messageBody)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions