Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / July 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kent - 01 Jul 2004 02:28 GMT
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
Klaus H. Probst - 01 Jul 2004 21:54 GMT
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.

Signature

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

> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.