【发布时间】:2010-12-02 05:52:15
【问题描述】:
我在 Visual Studio 2008 中遇到了一个 C# ASP .NET 项目的问题 当我用 Windows 7 Ultimate (x64) 重新安装我的电脑时,这个问题就开始了。为此,我也在使用 Office 2007。
我得到的错误信息是:
System.UnauthorizedAccessException:检索具有 CLSID {000209FF-0000-0000-C000-000000000046} 的组件的 COM 类工厂失败,原因是以下错误:80070005。 在 xxx.Utility.WordDocument..ctor(字符串文件路径,HttpServerUtility util) 在 c:\xxx\Website\customer\communication.aspx.cs:line 127 中的 customer_communication.BuCreate_click(Object sender, EventArgs e) 处
【问题讨论】:
-
也许您应该向我们展示 'c:\xxx\Website\customer\communication.aspx.cs' 文件的内容,以便我们知道您要做什么。跨度>
-
COM Guid 将 Google 上对 Microsoft Office 的大量引用,特别是 2003 版。我认为这是未安装 2003 互操作组件的直接结果?
-
史诗级标题!我喜欢它:D