如何解决错误0x8000401a:使用C#在ASP.NET中检索具有CLSID的组件的COM类工厂? [英] How to resolve the error 0x8000401a: retrieving the COM class factory for component with CLSID in ASP.NET with C#?

查看:74
本文介绍了如何解决错误0x8000401a:使用C#在ASP.NET中检索具有CLSID的组件的COM类工厂?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误0x8000401A:有时检索具有CLSID的组件的COM类工厂。



我试图调用web方法,其中数据集中的值被导出到Excel工作表。我使用excel对象导出相同的内容。批量excel文件处理的权限已经完成并且提到问题已经解决。但是稍后出现了同样的错误。



我尝试了什么:



批量excel文件处理的权限已经完成并且提到问题已经解决。但同样的错误出现了过了一会儿。

I am getting the error "0x8000401A": Retrieving the COM class factory for component with CLSID at times.

I am trying to call web method where values from a data set are exported to the excel sheet. I am exporting the same using excel object.The permission for bulk excel file processing was done and mentioned issue was resolved.But the same error came up later after a while.

What I have tried:

The permission for bulk excel file processing was done and mentioned issue was resolved.But the same error came up later after a while.

推荐答案

不要将Excel与ASP.Net一起使用。微软官方声明他们不支持。
Do not use Excel with ASP.Net. Microsoft officially stated that they do NOT support that.


这篇关于如何解决错误0x8000401a:使用C#在ASP.NET中检索具有CLSID的组件的COM类工厂?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆