c# 控制台应用程序发布到服务器运行报错:80070005访问被拒绝

解决方案

A.打开组件服务
快速找到方法:“windows+r”->“control”->“管理工具”->“组件服务”
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa

B.找到Microsoft Word应用程序
快速找到方法:“组件服务”->“计算机”->“我的电脑”->“DCOM配置”
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa

C.打开属性点开标识选项,设置用户
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa

D.安全选项,依次把"启动和**权限",“访问权限”,“配置权限”,都选择为自定义
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa

E.设置用户访问权限
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fa

其它

如果是电脑加个域,设置是一样的

相关文章:

  • 2022-12-23
  • 2022-01-27
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
相关资源
相似解决方案