|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Max Surace (maxsurace
ALTAVISTA.COM)Date: Wed Jan 09 2002 - 01:19:49 CST
Hi
My COM is service based, and has to run under Local System account (for some win32 APIs to function).
In the client on remote machine, I create an inproc server and pass the pointer to the COM-based service on another machine using method argumnets, like
IResult *pRes;
CoCreateInstance (...&pRes); //in proc server
pServiceCOM->RegisterMyClass (pRes); //service gets the pointer
The inproc server's prxoy/stub code is embedded in the inproc COM, and registered on both the clinet and server. But the method returns with an error
"not enough storage is available to complete this operation"
At the server side the method never got called, so I believe this is marshalling error, due to some security violation. This is my belief, because when the service-based COM runs under some domain account, everything is fine then.
IMO, security violation is understandable as the interface pointer is being given to a Local System accuount, and that account does not have any access to the inproc server at the client side.
Any idea? Any remedy?
Thanks
Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]