Microsoft error while synchronizing call from IIS?

…衆ロ難τιáo~ 提交于 2020-01-06 08:15:14

问题


I get the below error

***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)).***

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

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 .

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();

回答1:


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"



来源:https://stackoverflow.com/questions/14199072/microsoft-error-while-synchronizing-call-from-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!