从IIS同步调用时出现Microsoft错误?

编程入门 行业动态 更新时间:2024-10-20 05:33:29
本文介绍了从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错误?

本文发布于:2023-10-24 14:06:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1524135.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:步调   错误   IIS   Microsoft

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!