Microsoft Excel 应用程序"在 dcomcnfg 中不存在
虽然我的电脑上安装了 office 2010dcomcnfg 中没有Microsoft Excel Application
".我在那里找不到它.我也重新安装了 Office 2010,但仍然找不到它
Although office 2010 is installed on my pc
there is no "Microsoft Excel Application
" in dcomcnfg.. I'm not able to find it there. I reinstalled Office 2010 also, but still I couldn't find it there
要正确配置 32 位 DCOM 应用程序以进行远程激活,请按照下列步骤操作:
To correctly configure 32-bit DCOM applications for remote activation, follow these steps:
从命令行输入以下内容:
From a command line, enter the following:
C:\WINDOWS\SysWOW64>mmc comexp.msc/32
C:\WINDOWS\SysWOW64>mmc comexp.msc /32
您应该能够在列表中看到Microsoft Excel 应用程序".但是,如果执行此步骤后条目仍然丢失,或者在 Windows 7 或 Windows 2008 Server R2 上时,请尝试以下解决方案:
You should be able to see "Microsoft Excel Application" in the list. However, if the entry is still missing after taking this step, or when on Windows 7 or Windows 2008 Server R2, try the following to resolve:
重启机器
安装 Office 2007 或 2010 后,可能需要重新启动操作系统才能添加相应的注册密钥.重新启动机器是解决此问题最快捷、最简单的方法,但如果问题仍然存在,您可能需要采取进一步措施.
After an install of Office 2007 or 2010 a reboot of the operating system may be necessary for the appropriate reg keys to be added. A restart of the machine is the quickest and easiest way to resolve this problem, though if the problem remains, you may need to take further steps.
重新注册 Excel 应用程序
Re-Register the Excel Application
从命令提示符导航到 Excel.exe 所在的位置并重新注册应用程序.在 64 位计算机上,它位于(默认情况下)C:\Program Files (x86)\Microsoft Office\Office14 for Office 2010 和 C:\Program Files (x86)\Microsoft Office\Office12 for Office 2007.
From a command prompt, navigate to where the Excel.exe is located and re-register the application. On a 64-bit machine, this is located (by default) under C:\Program Files (x86)\Microsoft Office\Office14 for Office 2010 and C:\Program Files (x86)\Microsoft Office\Office12 for Office 2007.
- 打开命令提示符 - 开始、运行、输入 CMD.EXE 但不要立即按 ENTER
- 在所有程序"列表中找到 CMD.EXE.右键单击它并左键单击以管理员身份运行"
- 这应该会打开一个命令提示符.现在,输入以下内容:
光盘\
然后按回车
CD C:\Program Files (x86)\Microsoft Office\Office14
CD C:\Program Files (x86)\Microsoft Office\Office14
然后按回车
EXCEL.EXE –注册服务器
EXCEL.EXE –REGSERVER
然后按回车
- 注意,对于 Microsoft Word,CMD 为:WINWORD.EXE –REGSERVER
修改访问和激活权限
- 在 DCOMCNFG 中,右键单击我的电脑并选择属性.
- 选择 COM 证券标签
- 在访问权限中,单击编辑默认值"并向其添加网络服务并为其授予允许本地访问"权限.对 \Users 执行相同操作.
- 在启动和激活权限中,单击编辑默认值"并向其添加网络服务并为其授予本地启动"和本地激活"权限.对 \Users 执行相同操作
- 在您看到应用程序列表的 DCOMCNFG 中,单击操作 > 刷新
验证注册键是否存在
- 启动注册表编辑器(开始、运行、输入 REGEDIT 并按 ENTER)
- 导航到
HKEY_CLASSES_ROOT\AppID{00020812-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\AppID{00020812-0000-0000-C000-000000000046}
- 如果此键不存在,Microsoft Excel 应用程序"将不会显示在 DCOMCNFG 下.您需要从工作机器导入此密钥.或者,您可以检查 AppID 项上的权限,以确保对该注册表项进行的条目具有适当的权限.右键单击 AppID 键,然后左键单击权限.列出的权限组应该从 HKCR 密钥继承权限.请记住,如果复选框中的复选框呈灰色且无法选中或取消选中,则这意味着它们继承了其父级的权限.黑色复选标记表示此密钥未从父项继承权限,可以在此处设置.在组或安全名称"窗口下,您应该看到以下内容:
CREATOR OWNER - 选中特殊权限"系统 - 选中完全控制"和读取"管理员([机器名称]\管理员) - 选中完全控制"和读取"用户([机器名称]\用户) - 选中读取"
CREATOR OWNER - with "special permissions" checked SYSTEM - with "Full Control" and "Read" checked Administrators ([Machine Name]\Administrators) - with "Full Control" and "Read" checked Users ([Machine Name]\Users) - with "Read" checked
如果AppID的权限不正确,给key添加正确的权限,尝试修复office后重启机器.
If the permissions on AppID are not correct, add the correct permissions to the key and try a repair of office and then restart the machine.
- 请注意,Word 的 APPID 是不同的.查找 HKEY_CLASSES_ROOT\CLSID{00020906-0000-0000-C000-000000000046}