DCOM CoCreateInstanceEx 0x80040155

0

DCOM client is situated under WIN server 2012, DCOM server is located under WIN XP. When I call CoCreateInstanceEx it returns 0x80040155 "Interface not registered".

Actions that were already performed:

  • Register COM classes on the serverside via MyApp.exe /regserver
  • Checked the registry (on server side) if the appropriate APPIDs and interface CLSIDs are there.
  • Configured DCOM on the server side via DCOMCNFG(based on this link)
  • Also enabled DCOM on the client side via DCOMCNFG
  • Enabled DCOM event logging via ActivationFailureLoggingLevel and CallFailureLoggingLevel registry keys -> no errors found in event log.

Though I've performed above steps I still the 0x80040155 error code from CoCreateInstanceEx.

Is there a way to enable additional DCOM tracing on the server side, to get more information why 0x80040155 is returned?

Any additional hints to get rid of this problem?

thx

c++
dcom
asked on Stack Overflow Dec 16, 2016 by Moerwald

1 Answer

0

Be aware that you also have to register COM server interface on your client machine, otherwise you might get above described error code.

answered on Stack Overflow Mar 2, 2017 by (unknown user)

User contributions licensed under CC BY-SA 3.0