locked
Sync Framework 2.0 on Windows Azure RRS feed

  • Question

  • I am attempting to implement a Sync Framework prototype that consist of an SQL database, a client application and a WCF service sitting between the two. 

    The SQL database is hosted on SQL Azure and the WCF service is hosted on Windows Azure.

    The offline scenario from Sync Framework 1.0 works but I am now trying to swtich to the collaborative scenario from Sync Framework 2.0 and I am running into an exception related to a missing COM dll.

    The WCF service works fine in the local development environment and I have set Copy Local to true on all the Sync Framework assemblies. 

    The exception is: Retrieving the COM class factory for component with CLSID {046C184F-2188-4C99-A95A-9C0DCDC19050} failed due to the following error: 80040154."

    That sounds to me like Sync Framework relies on some COM dlls that aren't available in the Azure VM. Is that going to be a problem for me because I've read that I won't have permission to register any COM dlls in Windows Azure?

    I am currently building a 64bit development environment in the hope that I have more luck with the 64bit version of Sync Framework. 

    Is sync framework 2.0 available in Windows Azure?

    Friday, April 30, 2010 2:11 AM

Answers

  • Many Sync Framework Components are based on COM. So to make Sync Framework work in Windows Azure, special setup needs to be done. Basically the native Sync framework COM dlls won't be registered in Azure VM but private deployment will be used and the managed Sync dlls (including Database sync provider) will use these native COM dlls through manifest.

    We will be working on a sample to show how this solution works. It will be ready with next Sync Framework release in this summer.

    • Proposed as answer by Jandeep Friday, April 30, 2010 9:54 PM
    • Marked as answer by Jared Kells Tuesday, May 4, 2010 4:44 AM
    Friday, April 30, 2010 5:45 PM
    Answerer