IIS - 无法创建ActiveX组件 [英] IIS - Cannot create ActiveX component

查看:103
本文介绍了IIS - 无法创建ActiveX组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在开发一个vb.net 2.0 webservice,使用lotus domino api访问莲花笔记

数据库。如果我选择使用Visual Studio开发服务器,那么这在我的本地客户端上工作正常。 (在项目属性上)。

但是一旦我选择使用IIS Web服务器我总是收到错误消息。

有人说:检索具有CLSID的组件的COM类工厂

{29131539-2EED-1069-BF5D-00DD011186B7}由于失败而失败以下

错误:8007000e。 CLSID是来自Lotus Domino Session的CLSID。在我的

注册表中。

当我部署到外部IIS(6.0)服务器时的另一条错误消息

是:无法创建ActiveX组件。


当我使用visual studio开发

服务器时我的web服务工作正常,我想我的脚本是正确的。任何想法为什么它不起作用

IIS?任何注册表设置?我的本地ASPNET-Machine帐户有完整的

访问该目录。


非常感谢提前!!

解决方案

2006年8月8日星期二11:22:31 +0200,Heinz K< He ********** @ NoSpamPlease.comwrote:

$ b $b¤大家好,
$ b $b¤
$ b $b¤我正在开发一个访问莲花笔记的vb.net 2.0网络服务
$ b $b¤数据库使用lotus domino api。如果我选择使用Visual Studio开发服务器,那么这在我的本地客户端上工作正常。 (在项目属性上)。
$ b $b¤但是一旦我选择使用IIS Web服务器我总是收到错误消息。
$ b $b¤一个人说:检索具有CLSID的组件的COM类工厂
$ b $b¤{29131539-2EED-1069-BF5D-00DD011186B7}失败由于以下原因
$ b $b¤错误:8007000e。 CLSID是来自Lotus Domino Session的CLSID。在我的
$ b $b¤注册表中。
$ b $b¤我部署到外部IIS(6.0)服务器时的另一条错误消息
$ b $b¤是:无法创建ActiveX组件。
$ b $b¤
$ b $b¤由于我的网络服务工作正常,当我使用视觉工作室开发
$ b $b¤服务器时,我猜我的脚本是正确的。任何想法为什么它不起作用
$ b $b¤IIS?任何注册表设置?我的本地ASPNET-Machine帐户有完整的
$ b $b¤访问目录。


您在应用程序中使用的所有COM组件都在Web上注册服务器?你有没有
分发在开发过程中创建的COM互操作程序集(如果有的话)(应该是你的bin文件夹中的
)?

Paul

~~~~

Microsoft MVP(Visual Basic)


Paul Clement schrieb:
< blockquote class =post_quotes>
你在app中使用的所有COM组件都是在Web服务器上注册的吗?你有没有
分发在开发过程中创建的COM互操作程序集(如果有的话)(应该是你的bin文件夹中的
)?



嗨Paul,


我想是的。在我的开发客户端上,我引用了domobj.tlb。这是Lotus Notes程序目录的一部分。当我编译它时,我得到一个

"?nterop.Domino.dll"在我的bin目录中。然后我将

app-folder中的所有内容(包括bin子目录)复制到外部IIS。在

外部IIS上安装了Notes,所以我猜COM组件是

注册正确。有没有办法检查这个?


谢谢!


您需要在服务器上注册COM库。 Notes安装程序

无法正确执行此操作。

您正在寻找的是
上的Notes安装文件夹中的nlsxbe.dll
服务器。


" Heinz K" <他********** @ NoSpamPlease.com写信息

新闻:44 ******************** *** @ newsspool4.arcor-online.net ...


Paul Clement schrieb:


>您在应用中使用的所有COM组件是否已在
Web服务器上注册?你是否分发了在开发过程中创建的COM互操作程序集(如果有的话)(应该在你的bin文件夹中)?



嗨Paul,


我想是的。在我的开发客户端上,我引用了domobj.tlb。这是Lotus Notes程序目录的一部分。当我编译它时,我得到一个

"?nterop.Domino.dll"在我的bin目录中。然后我将

app-folder中的所有内容(包括bin子目录)复制到外部IIS。在

外部IIS上安装了Notes,所以我猜COM组件是

注册正确。有没有办法检查这个?


谢谢!



Hello all,

I''m developing a vb.net 2.0 webservice which accesses a lotus notes
database using lotus domino api. This works fine on my local client if I
select "Use Visual Studio Development server" (on project properties).
But as soon as I select "Use IIS Web Server" I always got error messages.
One says: "Retrieving the COM class factory for component with CLSID
{29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following
error: 8007000e." The CLSID is the one from "Lotus Domino Session" in my
registry.
The other error message when I deploy to an external IIS (6.0) Server
is: "Cannot create ActiveX component".

As my webservice works fine when I use the visual studio development
server, I guess my script is correct. Any ideas why it does not work on
IIS? Any registry settings? My local ASPNET-Machine account has full
access to the directory.

Many thanks in advance!!

解决方案

On Tue, 08 Aug 2006 11:22:31 +0200, Heinz K <He**********@NoSpamPlease.comwrote:

¤ Hello all,
¤
¤ I''m developing a vb.net 2.0 webservice which accesses a lotus notes
¤ database using lotus domino api. This works fine on my local client if I
¤ select "Use Visual Studio Development server" (on project properties).
¤ But as soon as I select "Use IIS Web Server" I always got error messages.
¤ One says: "Retrieving the COM class factory for component with CLSID
¤ {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following
¤ error: 8007000e." The CLSID is the one from "Lotus Domino Session" in my
¤ registry.
¤ The other error message when I deploy to an external IIS (6.0) Server
¤ is: "Cannot create ActiveX component".
¤
¤ As my webservice works fine when I use the visual studio development
¤ server, I guess my script is correct. Any ideas why it does not work on
¤ IIS? Any registry settings? My local ASPNET-Machine account has full
¤ access to the directory.

Are all of the COM components you are using in your app registered on the web server? Did you
distribute the COM interop assemblies (if any) that were created during development (should be in
your bin folder)?
Paul
~~~~
Microsoft MVP (Visual Basic)


Paul Clement schrieb:

Are all of the COM components you are using in your app registered on the web server? Did you
distribute the COM interop assemblies (if any) that were created during development (should be in
your bin folder)?

Hi Paul,

I think so. On my development client I referenced "domobj.tlb" which is
part of the Lotus Notes Program Directory. When I compile it I get a
"?nterop.Domino.dll" in my bin-directory. I then copy everything in
app-folder, including the bin-subdirectory, to the external IIS. On
external IIS, Notes is installed so I guess the COM component is
registered correct. Is there a way to check this?

Thanks!


You need to register the COM libraries on the server. The Notes installer
doesn''t correctly do this.
The one you''re looking for is nlsxbe.dll in the Notes install folder on the
server.

"Heinz K" <He**********@NoSpamPlease.comwrote in message
news:44***********************@newsspool4.arcor-online.net...

Paul Clement schrieb:

>Are all of the COM components you are using in your app registered on the
web server? Did you
distribute the COM interop assemblies (if any) that were created during
development (should be in
your bin folder)?


Hi Paul,

I think so. On my development client I referenced "domobj.tlb" which is
part of the Lotus Notes Program Directory. When I compile it I get a
"?nterop.Domino.dll" in my bin-directory. I then copy everything in
app-folder, including the bin-subdirectory, to the external IIS. On
external IIS, Notes is installed so I guess the COM component is
registered correct. Is there a way to check this?

Thanks!



这篇关于IIS - 无法创建ActiveX组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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