locked
Error : No suitable method found to override RRS feed

  • Question

  • I use "OfflineAppDemo-WebService" App but on Pocket PC . When build , two errors exist as :
     -  'OCSSyncMobile.SyncServerProviderProxy.ApplyChanges(Microsoft.Synchronization.Data. SyncGroupMetadata, System.Data.DataSet, Microsoft.Synchronization.Data.SyncSession)': no suitable method found to override.
    - 'OCSSyncMobile.SyncServerProviderProxy' does not implement inherited abstract member 'Microsoft.Synchronization.Data.SyncProvider.ApplyChanges(Microsoft.Synchronization.Data.SyncGroupMetadata, System.Data.DataSet, Microsoft.Synchronization.Data.SyncSession)'.

    I don't know cause .Please , help me! Thanks
    • Moved by Hengzhe Li Friday, April 22, 2011 5:59 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Friday, May 18, 2007 8:40 AM

Answers

  •  

    The current beta 1 bits are not for devices. There will be a separate package for that but it is not released yet.

     

    Thanks!

    Monday, May 21, 2007 5:26 PM

All replies

  •  

    The current beta 1 bits are not for devices. There will be a separate package for that but it is not released yet.

     

    Thanks!

    Monday, May 21, 2007 5:26 PM
  • Hi There !!!!

     

     

    I'm having the same problem when I override the class ServerSyncProvider the Method ApplyChanges give-me the error :

     

    Error 2 'Racing.Mobile.App.RemoteProviderClass.ApplyChanges(Microsoft.Synchronization.Data.SyncGroupMetadata, System.Data.DataSet, Microsoft.Synchronization.Data.SyncSession)': no suitable method found to override C:\Projetos\Racing\Racing.Mobile.App\RacingCache.Client.cs 19 68 Racing.Mobile.App

     

    And the Class Says:

     

    Error 3 'Racing.Mobile.App.RemoteProviderClass' does not implement inherited abstract member 'Microsoft.Synchronization.Data.ServerSyncProvider.ApplyChanges(Microsoft.Synchronization.Data.SyncGroupMetadata, System.Data.DataSet, Microsoft.Synchronization.Data.SyncSession)' C:\Projetos\Racing\Racing.Mobile.App\RacingCache.Client.cs 16 26 Racing.Mobile.App

     

    But the method was implemented:

     

    Code Snippet

    public partial class RemoteProviderClass : ServerSyncProvider
        {

            public override Microsoft.Synchronization.Data.SyncContext ApplyChanges(Microsoft.Synchronization.Data.SyncGroupMetadata groupMetadata, DataSet dataSet, Microsoft.Synchronization.Data.SyncSession syncSession)
            {
                throw new System.NotImplementedException();
            }

            public override Microsoft.Synchronization.Data.SyncContext GetChanges(Microsoft.Synchronization.Data.SyncGroupMetadata groupMetadata, Microsoft.Synchronization.Data.SyncSession syncSession)
            {
                throw new System.NotImplementedException();
            }

            public override Microsoft.Synchronization.Data.SyncSchema GetSchema(Collection<string> tableNames, Microsoft.Synchronization.Data.SyncSession syncSession)
            {
                throw new System.NotImplementedException();
            }
        }

     

     

    Anyone can Help-me ??

     

    Thanks a Lot

     

    []'s

     

    Felipe Albacete

    Friday, July 18, 2008 2:29 PM
  • are you compiling this code for a device application? by looking at the project name, I assume this is for a mobile application.

     

    the current design for sync service on devices is only for Ntier configuration, i.e. there is no server side assembly built for the device. this could be the reason you got this error.

     

    thanks

    Yunwen

    Friday, July 25, 2008 7:06 PM
    Moderator
  • Hey,

    I have had the same problem.
    And yes i am compiling it as a Windows Mobile 6 project.
    Is there any way for me to complie the project without it throwing the errors.
    I am using Visual Studio 2008 and Sync Framework SDK v2 CTP1.

    Yasar
    Tuesday, January 27, 2009 11:09 AM