Re: Need help in DCOM

Alireza Kheyrollahi <[email protected]> Wed, 7 Aug 2002 21:41:58 +0100
Newsgroups gmane.comp.windows.devel.vbcom
Message-ID <00c201c23e53$f6055ef0$54617ad5@aliostad>
Hi Manikandan,

First thing is that I do not get this:

i installed server in one machine which is in another
 machine and client in one machine which is in another machine

Do you mean different subnets or networks? If so you must set the default gateway for client and server. And by the way did you set DCOM setting on the client specially "Run component on this computer: myServer"?

Second thing is that I believe you must have given server name (computer name or NetBIOS name) when you used clireg32.exe, I am not sure if it works with IP address. I think you had better try that as well.

Ali


----- Original Message ----- 
From: "P. S. Manikandan" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 07, 2002 1:07 PM
Subject: [VBCOM] Need help in DCOM


> Hi...
>           I am facing one problem in DCOM. Actually i have created one
> activex exe with some methods. I have created package using package and
> deployment wizard. Then using that activex exe i wrote one client program
> which will call the methods in the server. Then i created the package by
> adding the .vbr and .tlb file in the wizard. I installed the server
> in one machine and client in another machine in same network. During
> installation of client it will ask the IP address of the component where it
> resides. I gave the IP address of server, then if we run it works fine.
> But the problem is i installed server in one machine which is in another
> machine and client in one machine which is in another machine. If i try to
> access the methods then it is raising the error "activex component cannot
> create object". I checked all the dcom settings, its all fine but even
> though its not working.. Can anyone give me an idea what is causing the
> problem.. waiting for ur reply asap..
> 
> Thanks in advance..
> 
> Regards
> Manikandan
> 
> You can read messages from the VBCOM archive, unsubscribe from VBCOM, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
> 

You can read messages from the VBCOM archive, unsubscribe from VBCOM, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.