all groups > dotnet interop > june 2004 >
You're in the

dotnet interop

group:

Calling a VB.NET com+ component from a vb 6.0 com+ component


Calling a VB.NET com+ component from a vb 6.0 com+ component Kent
6/30/2004 6:28:02 PM
dotnet interop:
Need help!!!

This works on my development machine (of course).
I have 2 com+ components installed on a win2k server. 1 is a vb 6.0 dll and 1 is a vb.net dll. Here is the scenerio: I installed both on the server by exporting .MSI packages from my development machine and running the package on the server. A VB 6.0 client app makes a call to the VB 6.0 com+ component which makes a call to the vb.net com+ component. When the vb 6.0 com+ component tries to create the vb.net component it generates the error "Activex component can't create the object". I can call the vb.net component installed on the server from my machine from a vb.net client, so I know it is installed correctly for vb.net at least. Any ideas how to figure out what's going on?


Thanks in advance,
Kent
Re: Calling a VB.NET com+ component from a vb 6.0 com+ component Klaus H. Probst
7/1/2004 1:54:01 PM
Are you sure you didn't export one of the MSIs as a proxy?

In general you shouldn't use MSIs to move applications from one machine to
another. It's much better to write a simple script that works with the COM+
admin to create the applications, set their attributes and secure them as
needed.


--
Klaus H. Probst, MVP
http://www.vbbox.com/


[quoted text, click to view]
and 1 is a vb.net dll. Here is the scenerio: I installed both on the
server by exporting .MSI packages from my development machine and running
the package on the server. A VB 6.0 client app makes a call to the VB 6.0
com+ component which makes a call to the vb.net com+ component. When the vb
6.0 com+ component tries to create the vb.net component it generates the
error "Activex component can't create the object". I can call the vb.net
component installed on the server from my machine from a vb.net client, so I
know it is installed correctly for vb.net at least. Any ideas how to figure
out what's going on?
[quoted text, click to view]

AddThis Social Bookmark Button