R
Rens Segaar
Hi all,
Finally I got around to start testing one of our major products - heavily
based on VB6 EXE servers and DCOM - for compatibility with XP SP2. And -
luckily - I got things going finally, except for one little thing...
Got this ordinary (for testing purposes very simple) VB6 client application
and (again for testing purposes very simple) VB6 EXE server. The client
'instantiates' the EXE server using the CreateObject() function. Mind you, I
got all this working across two computers (without setting everything open
and with the firewall enabled and the two computer not being in the same
domain). The following are all local scenarios:
CreateObject(myserver, "") -- OK (logically)
CreateObject(myserver, "127.0.0.1") -- OK
CreateObject(myserver, "localhost") -- OK (even when localhost is
removed from the HOSTS file)
CreateObject(myserver, "192.168.200.23") -- OK (where the IP address
is the address of the local machine)
CreateObject(myserver, "192.168.1.1") -- OK (where the IP address is
mapped onto a Microsoft Loopback-adapter)
CreateObject(myserver, mycomputername) -- OK
CreateObject(myserver, "TestName") -- FAILS (where TestName is in the
HOSTS file and maps onto 192.168.200.23)
CreateObject(myserver, "TestName2") -- FAILS (where TestName2 is in the
HOSTS file and maps onto 192.168.1.1)
In both cases the error is a (70) Permission Denied error. There is some
kind of lookup taking place, because when a try a fake name (one that is not
in the HOSTS file) the error returned is (462) The remote server machine
does not exist or is unavailable.
Somehow the name resolution is locked out (??).
All this was working OK prior to installing SP2.
Turning off the firewall and/or further relaxing DCOM security settings have
no effect on this issue.
You may wonder why I want this to work at all, given all the other
possibilities, but within our existing code this is the way it was
implemented in the past and we want this funcitionality back in order not to
have to rewrite a very huge part of our code.
Any idea? Anyone?
TIA,
Rens Segaar
senior software engineer
www.beveco.nl
Finally I got around to start testing one of our major products - heavily
based on VB6 EXE servers and DCOM - for compatibility with XP SP2. And -
luckily - I got things going finally, except for one little thing...
Got this ordinary (for testing purposes very simple) VB6 client application
and (again for testing purposes very simple) VB6 EXE server. The client
'instantiates' the EXE server using the CreateObject() function. Mind you, I
got all this working across two computers (without setting everything open
and with the firewall enabled and the two computer not being in the same
domain). The following are all local scenarios:
CreateObject(myserver, "") -- OK (logically)
CreateObject(myserver, "127.0.0.1") -- OK
CreateObject(myserver, "localhost") -- OK (even when localhost is
removed from the HOSTS file)
CreateObject(myserver, "192.168.200.23") -- OK (where the IP address
is the address of the local machine)
CreateObject(myserver, "192.168.1.1") -- OK (where the IP address is
mapped onto a Microsoft Loopback-adapter)
CreateObject(myserver, mycomputername) -- OK
CreateObject(myserver, "TestName") -- FAILS (where TestName is in the
HOSTS file and maps onto 192.168.200.23)
CreateObject(myserver, "TestName2") -- FAILS (where TestName2 is in the
HOSTS file and maps onto 192.168.1.1)
In both cases the error is a (70) Permission Denied error. There is some
kind of lookup taking place, because when a try a fake name (one that is not
in the HOSTS file) the error returned is (462) The remote server machine
does not exist or is unavailable.
Somehow the name resolution is locked out (??).
All this was working OK prior to installing SP2.
Turning off the firewall and/or further relaxing DCOM security settings have
no effect on this issue.
You may wonder why I want this to work at all, given all the other
possibilities, but within our existing code this is the way it was
implemented in the past and we want this funcitionality back in order not to
have to rewrite a very huge part of our code.
Any idea? Anyone?
TIA,
Rens Segaar
senior software engineer
www.beveco.nl