从IIS同步调用时出现Microsoft错误? [英] Microsoft error while synchronizing call from IIS?

查看:178
本文介绍了从IIS同步调用时出现Microsoft错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误


*** 检索COM类由于以下错误,CLSID {046C184F-2188-4C99-A95A-9C0DCDC19050}组件的工厂失败:80040154未注册类(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG))。 ***

***Retrieving the COM class factory for component with CLSID {046C184F-2188-4C99-A95A-9C0DCDC19050} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).***

在执行以下声明时使用Microsoft Sync Services。

while using the Microsoft Sync Services on execute of the below statement .

只有当我从IIS运行http:// localhost / S71 / default.aspx等时我才会收到错误。但是如果我从我的visual studio中按F5运行它可以正常工作。

I get the error only when I run from the IIS that is http;//localhost/S71/default.aspx etc. But if I run by pressing F5 from my visual studio it works fine .

所有其他代码,如配置过程一切正常,只有我从IIS运行而且在.Synchronize()方法上才会出错。

All other code like the "Provisioning process" everything works just fine only while I run from the IIS only and on the .Synchronize() method I get the error.

// Execute the synchronization process
            SyncOperationStatistics syncStats = syncOrchestrator.Synchronize();


推荐答案

你安装了哪些Sync Fx? x86还是x64?如果是x86,请通过设置启用32位应用程序检查您的应用程序池是否也配置为32位应用程序

which Sync Fx did you install? x86 or x64? if it is x86, check that your app pool is configured for 32-bit apps as well by setting the "Enable 32-bit applications"

这篇关于从IIS同步调用时出现Microsoft错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆