CLSID为{00024500-0000-0000-C000-000000000046}的COM对象无效或未注册。 [英] COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.

查看:104
本文介绍了CLSID为{00024500-0000-0000-C000-000000000046}的COM对象无效或未注册。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编译的代码将sql数据库中的数据填充到客户端上的excel文档中。将代码移动到Web服务器并运行它时,出现错误COM对象CLSID {00024500-0000-0000-C000-000000000046}无效或未注册。 Web服务器上未安装Excel。有什么方法可以解决这个问题吗?我已将Interop.Excel.dll移至Web服务器,但我想因为它没有真正注册并且只能通过代码引用它不起作用


感谢您的帮助


Joel

I have compiled code that populates data from sql database into an excel document on the client. When moving code to the web server and running it, I get an error COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered. Excel is not installed on the web server. Is there any way to get around doing that? I have moved Interop.Excel.dll to the web server, but I guess since it''s not truly registered and only referenced by code it will not work

Thanks for any help

Joel

推荐答案

您的Interop类只是COM对象的包装器。如果没有安装COM对象

,那么......


-

HTH,

Kevin Spencer

..Net开发商

微软MVP

大件东西组成

很多小事。


" JROCamaro" <一个******* @ discussions.microsoft.com>在留言中写道

新闻:2C ********************************** @ microsof t.com ...
Your Interop class is simply a wrapper for the COM object. If the COM object
is not installed, well...

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"JROCamaro" <an*******@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
我编译的代码将sql数据库中的数据填充到客户端上的excel
文档中。将代码移动到Web服务器并运行它时,

我得到一个错误COM对象与CLSID {00024500-0000-0000-C000-000000000046}

无效或未注册。网站上没有安装Excel

服务器。有什么方法可以解决这个问题吗?我已经将Interop.Excel.dll移动到网络服务器上,但我猜是因为它不是真的

注册并且只能通过代码引用它不起作用?
感谢您的帮助。

Joel
I have compiled code that populates data from sql database into an excel document on the client. When moving code to the web server and running it,
I get an error COM object with CLSID {00024500-0000-0000-C000-000000000046}
is either not valid or not registered. Excel is not installed on the web
server. Is there any way to get around doing that? I have moved
Interop.Excel.dll to the web server, but I guess since it''s not truly
registered and only referenced by code it will not work?
Thanks for any help.

Joel



您的Interop类只是COM对象的包装器。如果没有安装COM对象

,那么......


-

HTH,

Kevin Spencer

..Net开发商

微软MVP

大件东西组成

很多小事。


" JROCamaro" <一个******* @ discussions.microsoft.com>在留言中写道

新闻:2C ********************************** @ microsof t.com ...
Your Interop class is simply a wrapper for the COM object. If the COM object
is not installed, well...

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"JROCamaro" <an*******@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
我编译的代码将sql数据库中的数据填充到客户端上的excel
文档中。将代码移动到Web服务器并运行它时,

我得到一个错误COM对象与CLSID {00024500-0000-0000-C000-000000000046}

无效或未注册。网站上没有安装Excel

服务器。有什么方法可以解决这个问题吗?我已经将Interop.Excel.dll移动到网络服务器上,但我猜是因为它不是真的

注册并且只能通过代码引用它不起作用?
感谢您的帮助。

Joel
I have compiled code that populates data from sql database into an excel document on the client. When moving code to the web server and running it,
I get an error COM object with CLSID {00024500-0000-0000-C000-000000000046}
is either not valid or not registered. Excel is not installed on the web
server. Is there any way to get around doing that? I have moved
Interop.Excel.dll to the web server, but I guess since it''s not truly
registered and only referenced by code it will not work?
Thanks for any help.

Joel



我有同样的问题,com dll已注册并尝试过运行

应用程序,在差异位置使用dll,在bin中,在winnt \ system32中,但两者都没有

似乎很重要,我仍然得到完全相同的错误... 。


***通过开发人员指南发送 http: //www.developersdex.com ***

不要只是参加USENET ......获得奖励!
I have the same issue, the com dll is registered and tried running the
app with dll at diff locations, in bin, in winnt\system32 but both donot
seem to matter and i still get this exact same error....???

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!


这篇关于CLSID为{00024500-0000-0000-C000-000000000046}的COM对象无效或未注册。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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