Re: Enabling "DCOM Callback"

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks, I might take a look at the MSDN sample at some point.

Unfortunately my COM+ application has now stopped working completely in the
client=NT to server=XP direction. I can't get simple
single-class-single-method COM+ apps to work in that direction now - the
server object class is not creatable on the client.
I had a try at the MSDN VB6 DCOM client/server testing sample, to see
whether I could remove COM+ from the equation, but it uses the "Package and
Deployment Wizard", and so doesnt work, being unable to find a number of
files while generating the installers.
I found the MSDN 'AtlDraw' C++ DCOM VS2005 sample but unfortunately the
release build had compile errors and the debug build required a missing debug
mfc dll on the NT client machine (understandably). Perhaps more effort in
that area would result in success.

Use of Ethereal (packet sniffer) does indicate that the client is
communicating with the server using the 'DCERPC' protocol, although I dont
know what is going on apart from being able to observe a failed 'remote query
interface' for what is (google) interface IClassFactoryEx, then a release of
what looks like it might be an IClassFactory pointer. I can't see where the
IClassFactory is 'got', and can't see any attempt to create an instance of my
server object from this class factory. Basically all I really get from this
is that the client is able to connect to the server, at least.

I've tried to switch off everything security related that I can find,
although there is no indication that it is a security problem (then again,
there's never much indication of anything useful when it comes to DCOM
problems!):

On the NT client:
DCOM enabled.
Default Authentication Level: Connect
Default Impersonation Level: Identify
Default security:
Everyone
...
Default Launch permissions:
Everyone
...

On the XP server:
DCOM Enabled
Default Authentication Level: Connect
Default Impersonation Level: Identify
Access Permissions:
Limits: Everyone (everything checked)
Default: Everyone (everything checked)
Launch/Activation Permissions:
Limits: Everyone (everything checked)
Default: Everyone (everything checked)

The COM+ Application Security:
'Enforce access checks' UNCHECKED
Authentication level: Packet
Impersonation level: Impersonate






"Alexander Nickolov" wrote:

I haven't used it myself I admit. You can contact the author.
Also, you can look at the DCOMPERM sample (by the same
author) on MSDN.
.



Relevant Pages

  • Re: Socket Problem - No data after accept
    ... However I learned from the MSDN article you mentioned, ... to poll the socket after a connect (they mention a loop in the MSDN ... > There is a server listen class and server accept class.. ... > Socket is cleared and when client connects again then new object is ...
    (microsoft.public.vc.mfc)
  • Re: We have built an application using VC++,COM,DCOM. for cruise ships.
    ... connection point code must be rewritten to set a proxy ... That's only part of the story though - the server needs ... client machine and the machine the client is running on - ... default authentication level should be connect and the impersonation level ...
    (microsoft.public.win32.programmer.ole)
  • Re: The Security System could not establish a secured connection with the server cifs/namedserver.
    ... authentication level" issues along with anonoymous "no access without ... causes a lot of grief in mixed client settings. ... > This is best adjusted on the XP client by changing the policy governing ... Reboot server and try again. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: DCOM not working from NT4 to Win2003
    ... Is DCOM enabled on the Win2003 box? ... > On a NT4 server run the server components, on the NT4 WSs run the client ... > Authentication level: None ...
    (microsoft.public.win32.programmer.ole)
  • Re: How to program remote callback in VB????
    ... define an interface om the server that you implement on the client. ... Enterprise Edition" sample in MSDN and the corresponding ... > callback to the client's machines. ...
    (microsoft.public.vb.winapi)