关闭

Sync Framework 2.1 Com Error

1895人阅读 评论(0) 收藏 举报
分类:

现象:

客户端程序调用 sync framework2.1 服务(WCF发布)时,客户端报错:

Retrieving the COM class factory for component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

 

解决方案:

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.

 

原文:

http://social.msdn.microsoft.com/Forums/en-US/synclab/thread/7be9ef14-d376-430c-b966-ae080ea0e4d1/

 

 

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:159500次
    • 积分:2048
    • 等级:
    • 排名:第18805名
    • 原创:50篇
    • 转载:20篇
    • 译文:0篇
    • 评论:6条
    最新评论