DCOM event sink on Terminal Services
-
I would be grateful for help on this problem. I have a DCOM application running on a client computer, which is started by a process on a server computer. It is important that this application only runs on the clients. The DCOM application is started by calling CoCreateInstanceEx() and an event sink is started using DispEventAdvise(). This works 100% once DCOMCNFG is used to set the launch and access permissions. On a terminal services setup, the clients run all the processes on a server computer, except for this one DCOM app. When starting the process, the DCOM app starts as expected on the client computer, but when starting the sink, DispEventAdvise() returns 0x80070005 or E_ACCESSDENIED. I cannot find what security setting that I might need to drop in order to remove this problem and I have been pulling my hair out on this matter for some time.:(( Any assistance would be warmly received.