none
Remote Change Application and COM Dependencies RRS feed

  • Question

  • To take advantage of the reduced number of round trips to the remote server during synchronization, I decided to implement the Remote Change Application pattern described here.

    Synchronizing a Remote Replica By Using a Proxy Provider
    http://msdn.microsoft.com/en-us/library/ee819079.aspx

    This worked OK in my development environment but I had problems when I tried to deploy the solution to my shared hosting environment. The following error was generated on the server.

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

    I located the registry entry with this class id on my development machine and found that it is related to the Synchronization2.dll library. With some further investigation, I found that I will probably need to install the following package on the server.

    Microsoft Sync Framework 2.0 Redistributable Package
    http://www.microsoft.com/downloads/details.aspx?familyid=109DB36E-CDD0-4514-9FB5-B77D9CEA37F6&displaylang=en

    This is unfortunately not allowed by my hosting provider. I started to investigate 'Registration Free Activation' but did find some indications that this would not work for an ASP.Net based solution.

    Registration-Free Activation of COM Components: A Walkthrough
    http://msdn.microsoft.com/en-us/library/ms973913.aspx

    Is there a solution to my problem that does not rely on installing anything on the server?

    Scott


    MCSD
    • Edited by Scott Munro Sunday, February 21, 2010 8:49 PM Clearer title.
    Sunday, February 21, 2010 8:48 PM

Answers

  • Unfortunately we do not support this "private deployment" of Sync Framework for version 2.0.  We are however looking at doing this for the future since we also want to be able to deploy components to services like Windows Azure that will also require the abiltity to deploy outside of the existing redistriburtable msi.

    Liam
    Sr. Program Manager, SQL Azure and Sync Framework - http://msdn.microsoft.com/sync/
    Tuesday, February 23, 2010 5:37 PM

All replies

  • Unfortunately we do not support this "private deployment" of Sync Framework for version 2.0.  We are however looking at doing this for the future since we also want to be able to deploy components to services like Windows Azure that will also require the abiltity to deploy outside of the existing redistriburtable msi.

    Liam
    Sr. Program Manager, SQL Azure and Sync Framework - http://msdn.microsoft.com/sync/
    Tuesday, February 23, 2010 5:37 PM
  • Thanks for the update Liam.
    MCSD
    Sunday, March 21, 2010 10:20 PM