且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在&QUOT访问Office Word对象模型通过asp.net的结果;失败,原因是以下错误:80070005访问被拒绝"

更新时间:2022-06-24 07:46:16

这为我工作:


  1. 在命令行中把DCOMCNFG

  2. 组件服务 - >计算机 - >我的电脑 - > DCOM配置

  3. 找到Microsoft Word 97中 - 2003文档(如果缺少检查,如果您的Word也是64位(如果你的Windows是))

  4. 右键单击 - >属性

  5. 转到选项卡安全性和编辑自定义单选按钮,这样IIS_IUSRS可能对启动和访问权限

  6. 转到身份标签,然后选择交互式用户

  7. 应用更改,然后重试

  8. 如果这一切都失败了,也去常规标签,并在身份验证级别下拉菜单中选择无。

  1. In the command line put DCOMCNFG
  2. Component Services -> Computers -> My Computer -> DCOM Config
  3. Find "Microsoft Word 97 - 2003 Document" (If it is missing check if your Word is also 64 bit (if your Windows is))
  4. Right click -> Properties
  5. Go To Tab Security and Edit the "Customize" radio buttons so that IIS_IUSRS could have rights for launch and access
  6. Go to Tab Identity and choose "The interactive user"
  7. Apply changes and try again
  8. If all this fails, go also to tab "General" and in "Authentication Level" drop down choose "None".