System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID
来源:互联网 发布:nginx pathinfo配置 编辑:程序博客网 时间:2024/06/02 02:47
这个问题困扰了我很久,在网上找了很多资料都没用,
最后找到解决方案:
运行dcomcnfg打开组件服务,
依次展开"组件服务"->"计算机"->"我的电脑"->"DCOM配置"
找到"Microsoft Excel应用程序"或"Microsoft Word应用程序",
右键打开属性对话框,点击"标识"选项卡,
点"下列用户",把管理员的用户密码正确填写进去...
点击"安全"选项卡,
依次把"启动和激活权限","访问权限","配置权限",都选择为自定义,
然后依次点击它们的编辑,把everyone添加进去,并加入所有的权限...
OK,解决此问题!
- System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID
- Retrieving the COM class factory for component with CLSID
- Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error:
- Retrieving the COM class factory for component with CLSID {00024500-0000-000
- Retrieving the COM class factory for component with CLSID {00024500-0000-000 .
- 遇到的问题--Retrieving the COM class factory for component with CLSID
- Retrieving the COM class factory for component with CLSID {00024500-0000-000 .
- Excel上传服务器后拒绝访问异常,Retrieving the COM class factory for component with CLSID ...
- 异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}
- IIS Excel操作问题解决 Retrieving the COM class factory for component with CLSID {00024500-0000-000
- Retrieving the COM class factory for component with CLSID {00024500-0000-000
- 在windows10下excel导出Retrieving the COM class factory for component with CLSID .. failed due to the fol
- ASP.NET操作EXCEL时出现的错误 Retrieving the COM class factory for component with CLSID
- ASP.NET操作EXCEL时出现的错误 Retrieving the COM class factory for component with CLSID
- ASP.NET操作EXCEL时出现的错误 Retrieving the COM class factory for component with CLSID(转)
- ASP.NET操作EXCEL时出现的错误 Retrieving the COM class factory for component with CLSID
- ASP.NET在导出EXCEL时出现的错误Retrieving the COM class factory for component with CLSID
- ASP.NET操作EXCEL时出现的错误 Retrieving the COM class factory for component with CLSID
- win7 下 打开 telnet 功能
- 技术人员个人职业规划发展六大方向导航
- 三层架构(3-tier application) 与MVC对比
- TestLink各项异常处理
- Linux下集群服务器文件共享的解决方案
- System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID
- 微软应用资料
- STL unique_
- 孙鑫视频VC++深入详解学习笔记
- 从技术到管理——如何实现跨越
- Linux下使用bochs虚拟机问题(cannot connect to X server)解决
- Java程序执行超时——Future接口介绍
- 安装包官方下载链接
- Java 调用cmd.exe命令