Sync Framework 2.1 Com Error

本文介绍了解决客户端程序调用SyncFramework2.1服务时出现的“Class not registered”错误的方法。包括安装SyncFramework2.1的步骤及注意事项,特别是针对不同操作系统版本的安装指导。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

现象:

客户端程序调用 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/

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值