dcom组件有excel没有word_Windows Server 2003中的dcomcnfg中缺少Microsoft excel应用程序条目...

Hi All,

Actually functionalies is open one xls file and convert into dataset(Asp.net vb.net).

we are used interop services, it''s locally working fyn.

but when i working on server it''s coming below given error.

In the server dont have MS Office 2007(Dont have permisson to install this package due to security issue)

Dim oxll As Application

oxll = New Application() -->Occuring this issue.

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

Advance Wishes!!

Ramesh Muthaiah

解决方案If you haven''t got MS Office installed on the server then you can''t use interop to it.

Consider using an alternative tool (that don''t have the same security issues as Office) e.g. spreadsheetgear - http://www.spreadsheetgear.com/[^]

Or depending on what you are trying to do with the spreadsheets you could use OpenXML - see the responses here http://forums.asp.net/t/1688603.aspx/1[^] for some links

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值