c#实现微软同步sql数据库Synchronize(),COM class factory for component with CLSID...80040154



错误: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)).

同步本地sql server数据库和azuresql server数据库。

环境VS2013,WIN7

解决方法:

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.

转载:http://www.aiuxian.com/article/p-1900204.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值