由于以下错误,检索CLSID为{000209FF-0000-0000-C000-000000000046}的组件的COM类工厂失败:80070005 [英] Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005
问题描述
我在IIS中托管了一个asp.net。它使用Com库Microsoft.Office.Interop.Word.Application 14.0 Object Library。我使用它将单词Document转换为PDF,在我的机器上运行。我在我的机器上安装了Office 2010,在服务器上也安装了Office 2011。但当我尝试在服务器上运行我的应用程序时,它给我以下错误
检索具有CLSID {000209FF-0000-0000-C000的组件的COM类工厂-000000000046}由于以下错误而失败:80070005访问被拒绝。 (来自HRESULT的异常:0x80070005(E_ACCESSDENIED))。
i已授予aspnet用户和其他用户完全访问权限的所有权限,但这不起作用,
这里有一些信息:代码错误80070005 - 访问拒绝 [ ^ ]
i have an asp.net hosted in IIS. that uses the Com library "Microsoft.Office.Interop.Word.Application 14.0 Object Library". I am using this to convert the word Document to PDF, on my machine it works. I have Office 2010 on my machine and on the server we have installed Office 2011 too. but when i try to run my app on the server it gives me the Following error
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
i have given all the permissions to the aspnet user and other users full access but this does not work ,
Here some info: "Code Error 80070005 - Access Denied"[^].
这篇关于由于以下错误,检索CLSID为{000209FF-0000-0000-C000-000000000046}的组件的COM类工厂失败:80070005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!