locked
COM Error with Sync Framework 2.1 RRS feed

Answers

  • Hi Mike,

    Here is a complete instruction on what version of the Sync Framework you should install:

    Step 1: Install Sync Framework 2.1. Sync Framework 4.0 CTP is built on top of Sync Framework 2.1. Therefore, you must install Sync Framework 2.1 prior to installing this CTP.

    • If your computer is running x86 based version of Windows operation system, install only x86 version of Sync Framework 2.1 SDK using SyncSDK-v2.1-x86-ENU.msi file.
    • If your computer is running x64 based version of Windows operation system, follow these steps:

      • First install x64 version of Sync Framework 2.1 SDK using SyncSDK-v2.1-x64-ENU.msi file.
      • If you are using Visual Studio to develop and test synchronization services on this computer, you will also need to download and run the following two x86 redistributable packages of 2.1 from Sync Framework 2.1 Redistributable Packages ((Synchronization-v2.1-x86-ENU.msi, DatabaseProviders-v3.1-x86-ENU.msi). The reason is that Visual Studio always runs in x86 mode and it needs the following 32-bit Sync Framework components when you test the service using Visual Studio.

    In addition, if you are deploying sync service into Windows Azure, please refer to our documentation -> topic: "Reference: Deploying of Sync Framework Components to Windows Azure": http://msdn.microsoft.com/en-us/library/gg299044(v=SQL.110).aspx.

    Thanks,
    Nina


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 1, 2011 12:39 AM

All replies

  • The most likely reason is that IIS/VS is trying to load the x86 version of the library - try installing the x86 MSIs and you should be good.
    Friday, November 26, 2010 3:55 AM
  • I have installed x86 MSIs but still having  exception.

    Please check logs below.

    [Download Change Response Error]: 500 Response: {"ErrorDescription":"System.UnauthorizedAccessException\u000d\u000aRetrieving the COM class factory for component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).\u000d\u000a at Microsoft.Synchronization.SyncIdFormatGroup.get_ProviderSyncServices()\u000d\u000a at Microsoft.Synchronization.SyncSessionContext..ctor(SyncIdFormatGroup idFormats, SyncCallbacks callbacks)\u000d\u000a at Microsoft.Synchronization.Services.SqlProvider.SqlSyncProviderService.GetChanges(Byte[] clientKnowledgeBlob)\u000d\u000a at Microsoft.Synchronization.Services.DownloadChangesRequestProcessor.ProcessRequest(Request incomingRequest)\u000d\u000a at Microsoft.Synchronization.Services.SyncService`1.ProcessRequestForMessage(Stream messageBody)\u000d\u000a\u000d\u000a\u000d\u000a"}

    I have enabled 32-bit Applications property to True

    Try accessing the diagnostic dashboard, Sync Framework Runtime : UNKNOWN ERROR

     

    What should I do?

    Sunday, January 9, 2011 11:36 AM
  • Hi,

    You mentioned that you have only installed Synchronization*.msi and DatabaseProviders*.msi. Did you install ProviderServices as well. alternatively you can install Sync framewor 2.1 SDK which installs all the components. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ee6af141-79d0-4351-a4a0-ea89bb29dcf5&displaylang=en 

     

    Can you copy the other messages on diagnostic page as well.

     

    Thanks,
    Ramesh V

    Saturday, January 15, 2011 7:13 AM
  • If you installed 64 bit of Sync Framework 2.1 then you should update your build configuration in Visual studio to use x64. Then you should not see this error.

    Saturday, January 29, 2011 1:01 PM
  • Hi, you don't seem to install the sync framework correctly.

    Please uninstall and install it. Please consider the version and CPU type(x86 or x64)

    You can download here.

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ee6af141-79d0-4351-a4a0-ea89bb29dcf5&displaylang=en

     

    Thursday, February 10, 2011 3:53 AM
  • Hi Mike,

    Here is a complete instruction on what version of the Sync Framework you should install:

    Step 1: Install Sync Framework 2.1. Sync Framework 4.0 CTP is built on top of Sync Framework 2.1. Therefore, you must install Sync Framework 2.1 prior to installing this CTP.

    • If your computer is running x86 based version of Windows operation system, install only x86 version of Sync Framework 2.1 SDK using SyncSDK-v2.1-x86-ENU.msi file.
    • If your computer is running x64 based version of Windows operation system, follow these steps:

      • First install x64 version of Sync Framework 2.1 SDK using SyncSDK-v2.1-x64-ENU.msi file.
      • If you are using Visual Studio to develop and test synchronization services on this computer, you will also need to download and run the following two x86 redistributable packages of 2.1 from Sync Framework 2.1 Redistributable Packages ((Synchronization-v2.1-x86-ENU.msi, DatabaseProviders-v3.1-x86-ENU.msi). The reason is that Visual Studio always runs in x86 mode and it needs the following 32-bit Sync Framework components when you test the service using Visual Studio.

    In addition, if you are deploying sync service into Windows Azure, please refer to our documentation -> topic: "Reference: Deploying of Sync Framework Components to Windows Azure": http://msdn.microsoft.com/en-us/library/gg299044(v=SQL.110).aspx.

    Thanks,
    Nina


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 1, 2011 12:39 AM