在DCOM Config中找不到Microsoft Word文档 [英] Couldn't find Microsoft Word Document in DCOM Config
问题描述
我正在创建一个简单的asp.net网站,该网站使用Office 2007/2010自动化..当我在本地计算机上的iis 7上发布网站(窗口7)时,例外
I am creating a simple asp.net web site that use office 2007/2010 automation .. when i published the website on the iis 7 on my local machine (window 7) have an exception
Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following error:
80080005 Server execution failed (Exception from HRESULT: 0x80080005
(CO_E_SERVER_EXEC_FAILURE)).
我搜索了此异常,发现必须在DCOM Config中设置一些办公权限.
I have searched for this exception and i found that i have to set some permissions to office in DCOM Config.
我已经打开了组件服务并打开了DCOM Config,但是我没有找到Microsoft Word文档,我只找到了Office Word 97-2003.
I have opened the component services and opened DCOM Config, but i have not found Microsoft Word Document i have found only office word 97 - 2003.
谁能告诉我如何解决这个问题.
can any one tell me how to solve this problem.
推荐答案
在这里找到了答案: DCOM办公自动化失败
如果您使用32位Office运行64位服务器,则可能无法找到此DCOM设置.您将需要在命令提示符下运行"MMC -32"以启动32位MMC,然后从文件">添加/删除管理单元"菜单中添加组件服务".
If you are running a 64-bit server with 32-bit Office, you may have trouble finding this DCOM setting. You will need to run "MMC -32" from the command prompt to launch 32-bit MMC and then add 'Component Services' from the 'File > Add / Remove Snap-ins' menu.
这篇关于在DCOM Config中找不到Microsoft Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!