Re: Need help in DCOM

Andrewg <[email protected]> Thu, 8 Aug 2002 11:54:48 +0100
Newsgroups gmane.comp.windows.devel.vbcom
Organization developmentor
Message-ID <[email protected]>
Basically you're stuffed if you're trying to run behind a firewall. It's
possible, but I suspect your admin guys won't like it.
DCOM uses Remote Procedure Calls (RPC), which uses a dynamic port
allocation scheme - meaning that ports are allocated within a dynamic
range by the system when connecting through DCOM. Firewalls are in place
to limit the number of ports to prevent unauthorized access. The reason
we have the Simple Object Access Protocol (SOAP) is because it can do
remote object invocations, but over port 80 i.e. you only have to open
up one port.

A



-----Original Message-----
From: Technical discussion of VBCOM [mailto:[email protected]]
On Behalf Of P. S. Manikandan
Sent: 08 August 2002 18:07
To: [email protected]
Subject: Re: [VBCOM] Need help in DCOM

Hi..
             Thx  for replying me...as u said...i tried installing
server
in one macine which is one network and client in one machine which is in
another network...can u just explain how to set the default gateway for
client and server.
One more thing i need to tell u....one of the network is behind the
firewall ..i think it may be the problem....am i right
or some other issues or there...can u pls explain me in details
regarding
this issue.

Regards

P.S. Manikandan
Learnet India Ltd.,
309/2, Lakshya Towers,
1st Cross, 5th Block,
Koramangala,
Bangalore - 560034.
Phone No : 5526760  Extn - 208




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.

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.