Passing device id and password to Sync server methods RRS feed

  • Question

  • Hi,

       We are trying to create a demo Sync application where mutiple clients
    can sync data over internet with SQL Server backend.

    We are referring the Sync Sample application create by the demo by  
    Liam Cavanaghat,Program manager,Microsoft

     We already separated the client and server parts ( WCF Service).
    The WCF Service code is created from Visual Studio.  When running
    the server and client on the same machine, everything is working fine. 
    But when running multiple clients, we are getting the following error:
     'The caller was not authenticated by the service.
    The request for security token could not be satisfied because authentication failed.'

    Our objective is to pass a device id and password to each of the methods
    exposed by the WCF service, like :

    - ApplyChanges()
    - Getchanges()
    - GetSchema()
    - GetServerInfo()

    Has anybody done this ..?

    It would be nice if somebody could guide us to some resources to achieve this.
    Thanks in advance.


    Thursday, October 17, 2013 6:34 PM