locked
COM error on sync RRS feed

  • Question

  • I am running on a 64 bit machine. I loaded the 2.1 SDK(x64), then Synchronization-v2.1-x86-ENU.msi, DatabaseProviders-v3.1-x86-ENU.msi.
    I have succesfully developed multiple projects using the sync framework, with out problem. However in my latest development, I am getting a a COM error when I try to sync.
    Retrieving the COM class factory for component with CLSID {2EA8A72D-7A99-413F-94C0-BAD4A361AEF3} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    The code works on 32 bit machines.
    What I'm doing is exploring the option of mixing topologies where I sync from clients to SQL Express (Sync 4.0 OData+Sync), then on the   OnBeginSyncRequest and OnEndSyncRequest events initate a sync with a provider that inheirts from SimpleSyncProvider. I have already succesfully followed this pattern using a DbSyncProvider, with out the com error. The reason I'm mixing topologies here is to sync clients to an Oracle DB, while leveraging the power of Sync 4.0 OData+Sync. The DbSyncProvider worked well but I want to try using a EF model as opposed to the stored procedures needed in DbSyncProviders.
    Wednesday, June 1, 2011 5:22 PM

Answers