• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Never Give Up
天才在于勤奋,知识在于积累
博客园    首页    新随笔    联系   管理    订阅  订阅

关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法

32位或64位 Windows下关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法。

Windows 64Bit

1. 运行 mmc -32

2. 如果没有Component Service节点请手动添加Component Service snap-in

 

Windows 32Bit/64Bit

3. 依次打开 Component Service -> Computers -> My Computer -> DCOM config

4. 在打开的列表中找到Microsoft Word Document(或者Microsoft Word 97 - 2003 Document), 右键点击,在弹出的菜单中点击“Properties”

5. 选择Security标签, 设置 Launch and Activation Permissions, 选择Customize, 点击"Edit"按钮, 在打开的窗口中赋予相应在用户的权限

 

参考:

1. System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005

2. How to make IIS7 play nice with Office Interop

posted @ 2012-10-18 10:02  Terry Sun  阅读(8749)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3