【问题标题】:Problem finding office DCOM in Component Services in Windows 7在 Windows 7 的组件服务中查找 office DCOM 的问题
【发布时间】:2010-12-21 14:13:38
【问题描述】:

我在 ASP .NET 中工作时遇到问题。

我收到错误消息: {System.UnauthorizedAccessException: 检索具有 CLSID {000209FF-0000-0000-C000-000000000046} 的组件的 COM 类工厂失败,原因是以下错误:80070005. at xxx.Utility.WordDocument..ctor(String filePath, HttpServerUtility util) at customer_communication.BuCreate_click(Object sender, EventArgs e) in

这意味着我无法访问 DCOM 文件。在 Vista 中这不是问题,我所要做的就是运行“dcomcnfg”并在其中找到 Microsoft Excel dcom 文件。

在 Windows 7 中我找不到它,我现在不知道该怎么办......

如果有人可以帮助我,那就太好了!

【问题讨论】:

  • 您使用的是哪个版本的 Windows 7?我有 Ultimate 和 dcomcnfg 似乎工作正常。

标签: asp.net windows-7 excel-2007 office-2007 component-services


【解决方案1】:

虽然我不认为在服务器模式下运行 Office 是一个好主意,但您可以在 Win7 中找到相当于 dcomncfg 的“组件服务”,它是一个 MMC 插件 (comexp.msc)。

【讨论】:

    猜你喜欢
    • 2011-04-30
    • 1970-01-01
    • 2014-04-17
    • 1970-01-01
    • 2012-11-09
    • 2012-02-19
    • 2011-05-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多