在服务器上创建excel文件时出现错误. [英] Getting Error while creating excel file on server.

查看:106
本文介绍了在服务器上创建excel文件时出现错误.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Microsoft.Office.Interop.Excel命名空间.

我在服务器上运行应用程序时未在服务器上安装ms office.



由于以下错误,检索具有CLSID {00024500-0000-0000-C000-000000000046}的组件的COM类工厂失败:80040154."

MS Office安装在我的本地计算机上,并且在我的本地计算机上运行正常.


有没有可能解决此问题的方法,请帮我解决这个问题.

I am using using Microsoft.Office.Interop.Excel name space.

ms office is not install on server while running application on server i am getting this error.



"Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154. "

MS Office install on my local machine and it is working fine on my local machine.


is there any possible way to solve this problem please help me out this.

推荐答案

也许这将解决您的问题

[
May be this will solve your problem

[http://social.msdn.microsoft.com/forums/en-US/Vsexpressvb/thread/b6388275-b295-4e55-8c25-6d8788eac1ca/[^]]


这篇关于在服务器上创建excel文件时出现错误.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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