 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
JoeBlack Guest
|
Posted: Wed Sep 08, 2004 9:16 am Post subject: DCOM and the Internet |
|
|
Hi,
using BCB 6 update 4 and linker patch.
We have a server running Windows server 2000 sp2 and on this machine a COM
out of process server is installed, also on this machine is a client that
uses that COM object. When running the client all works exactly as expected
and message are sent to and from the client and server with no problems.
A network connection directly to an ADSL router is made so that the Server
machine is now exposed to the internet.
We now have another machine, running Windows 2000 professional sp4 + all
current updates with the Client application installed on it. When the client
application is ran all method calls from the client to the server work
correctly but the event sinks from the server to the client fails. This
machine can be connected to the server via a normal LAN through a switch and
it works perfectly.
I had a look on the MSDN and found an article labeled "COM Internet
Services", I have configured both machines as detailed there but still no
luck.
Has anyone done this sort of thing before and got it to work or does anyone
know what is causing the problem.
Many thanks
Joe
|
|
| Back to top |
|
 |
Mark Guerrieri Guest
|
Posted: Wed Sep 08, 2004 2:36 pm Post subject: Re: DCOM and the Internet |
|
|
When a server calls into the client, from a Windows security perspective the
client becomes a server and the server becomes a client. When you fire the
event, the server is making a call into an interface that exists on the
client. The most liekly problem is that the client's DCOM security is
configured to prevent access from the server.
Mark
"JoeBlack" <no.one (AT) no (DOT) where> wrote
| Quote: | Hi,
using BCB 6 update 4 and linker patch.
We have a server running Windows server 2000 sp2 and on this machine a COM
out of process server is installed, also on this machine is a client that
uses that COM object. When running the client all works exactly as
expected
and message are sent to and from the client and server with no problems.
A network connection directly to an ADSL router is made so that the Server
machine is now exposed to the internet.
We now have another machine, running Windows 2000 professional sp4 + all
current updates with the Client application installed on it. When the
client
application is ran all method calls from the client to the server work
correctly but the event sinks from the server to the client fails. This
machine can be connected to the server via a normal LAN through a switch
and
it works perfectly.
I had a look on the MSDN and found an article labeled "COM Internet
Services", I have configured both machines as detailed there but still no
luck.
Has anyone done this sort of thing before and got it to work or does
anyone
know what is causing the problem.
Many thanks
Joe
|
|
|
| Back to top |
|
 |
JoeBlack Guest
|
Posted: Wed Sep 08, 2004 3:12 pm Post subject: Re: DCOM and the Internet |
|
|
Hi Mark,
Thanks for the suggestion,
I have condigured my Win2k Pro machine to match the configuration on the
Win2k Server machine, this is detailed at :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/cis.asp
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/cis.asp
and still I seem to be having problems,
have you managed to get a DCOM connection over the internet via and ADSL
connection (512k,256K)?
Also do you have any further suggestions?
Many thanks
Joe
"Mark Guerrieri" <mguerrieri (AT) cmsgrp (DOT) com> wrote
| Quote: | When a server calls into the client, from a Windows security perspective
the
client becomes a server and the server becomes a client. When you fire
the
event, the server is making a call into an interface that exists on the
client. The most liekly problem is that the client's DCOM security is
configured to prevent access from the server.
Mark
"JoeBlack" <no.one (AT) no (DOT) where> wrote in message
news:413ece04$1 (AT) newsgroups (DOT) borland.com...
Hi,
using BCB 6 update 4 and linker patch.
We have a server running Windows server 2000 sp2 and on this machine a
COM
out of process server is installed, also on this machine is a client
that
uses that COM object. When running the client all works exactly as
expected
and message are sent to and from the client and server with no problems.
A network connection directly to an ADSL router is made so that the
Server
machine is now exposed to the internet.
We now have another machine, running Windows 2000 professional sp4 + all
current updates with the Client application installed on it. When the
client
application is ran all method calls from the client to the server work
correctly but the event sinks from the server to the client fails. This
machine can be connected to the server via a normal LAN through a switch
and
it works perfectly.
I had a look on the MSDN and found an article labeled "COM Internet
Services", I have configured both machines as detailed there but still
no
luck.
Has anyone done this sort of thing before and got it to work or does
anyone
know what is causing the problem.
Many thanks
Joe
|
|
|
| Back to top |
|
 |
Mark Guerrieri Guest
|
Posted: Fri Sep 10, 2004 4:36 pm Post subject: Re: DCOM and the Internet |
|
|
Never tried over the Internet, as this in generally considered difficult at
best and there are many security factors involved. I have created a
modified version of the MIDAS TWebConnection component that uses MIDAS over
HTTPS using full DCOM security for server activations and method calls.
This allows me to work over any type of network via HTTP and removes much of
the complexity of DCOM over the Internet.
Mark
"JoeBlack" <no.one (AT) no (DOT) where> wrote
| Quote: | Hi Mark,
Thanks for the suggestion,
I have condigured my Win2k Pro machine to match the configuration on the
Win2k Server machine, this is detailed at :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/cis.asp
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/cis.asp
and still I seem to be having problems,
have you managed to get a DCOM connection over the internet via and ADSL
connection (512k,256K)?
Also do you have any further suggestions?
Many thanks
Joe
"Mark Guerrieri" <mguerrieri (AT) cmsgrp (DOT) com> wrote in message
news:413f18d7$1 (AT) newsgroups (DOT) borland.com...
When a server calls into the client, from a Windows security perspective
the
client becomes a server and the server becomes a client. When you fire
the
event, the server is making a call into an interface that exists on the
client. The most liekly problem is that the client's DCOM security is
configured to prevent access from the server.
Mark
"JoeBlack" <no.one (AT) no (DOT) where> wrote in message
news:413ece04$1 (AT) newsgroups (DOT) borland.com...
Hi,
using BCB 6 update 4 and linker patch.
We have a server running Windows server 2000 sp2 and on this machine a
COM
out of process server is installed, also on this machine is a client
that
uses that COM object. When running the client all works exactly as
expected
and message are sent to and from the client and server with no
problems.
A network connection directly to an ADSL router is made so that the
Server
machine is now exposed to the internet.
We now have another machine, running Windows 2000 professional sp4 +
all
current updates with the Client application installed on it. When the
client
application is ran all method calls from the client to the server work
correctly but the event sinks from the server to the client fails.
This
machine can be connected to the server via a normal LAN through a
switch
and
it works perfectly.
I had a look on the MSDN and found an article labeled "COM Internet
Services", I have configured both machines as detailed there but still
no
luck.
Has anyone done this sort of thing before and got it to work or does
anyone
know what is causing the problem.
Many thanks
Joe
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|