使用Web服务创建Excel文件时出现问题 [英] Problem while creating Excel file using web service
本文介绍了使用Web服务创建Excel文件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试在网络服务中创建Excel文件时,我得到以下异常,请告诉我如何解决这个问题
检索COM类工厂由于以下错误,CLSID为{00024500-0000-0000-C000-000000000046}的组件失败:80070005访问被拒绝。
when am trying to create Excel file in web service am getting below exception,pls tell me how to resolve this
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied.
推荐答案
有一个大量可能导致此错误的事情,其中大部分都与权限相关。
看看这里: microsoft office interop error [ ^ ]
如果这还没解决,那就开始查看Google可以给你的链接: Google [ ^ ]
如果您遇到此类错误的问题,请将错误消息完整传递给谷歌 - 它通常已经解决过。
There are a large number of things that can cause this error, most of them permissions related.
Have a look here: microsoft office interop error[^]
And if that doesn''t solve it, then start looking at the links Google can give you: Google[^]
If you get a problem with an error like this, pass the error message complete to google - it generally has been solved before.
这篇关于使用Web服务创建Excel文件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文