Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 30 Jan 2007 18:47:06 +0200,    group: microsoft.public.platformsdk.com_ole        back       


how to suppress event log errors   
Hi,

I'm using DCOM. The server doesn't provide launch access right to clients 
(it runs on Windows 2003 SP1). Server object is implemented as windows 
service (singleton). If service is running, clients can activate server DCOM 
object and work with it. But if service is stopped, I see errors on server 
every time some client tries to activate server object:

The machine wide limit settings do not grant Remote Launch permission for 
the COM Server application with CLSID {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} 
to the user Domain\user SID 
(S-1-5-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX).  This security permission 
can be modified using the Component Services administrative tool.

But I don't want to provide launch access right to clients. Is there a way 
to suppress such error messages on server? I can suppress client error 
messages using CLSCTX_NO_FAILURE_LOG flag of CoCreateInstanceEx. But how to 
suppress them on server?

regards,
Michael A.
date: Tue, 30 Jan 2007 18:47:06 +0200   author:   Michael

Re: how to suppress event log errors   
Hi Michael,

> The machine wide limit settings do not grant Remote Launch permission
> for the COM Server application with CLSID
> {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} to the user Domain\user SID
> (S-1-5-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX).  This security
> permission can be modified using the Component Services administrative
> tool.
> 
> But I don't want to provide launch access right to clients. Is there a
> way to suppress such error messages on server? I can suppress client
> error messages using CLSCTX_NO_FAILURE_LOG flag of CoCreateInstanceEx.
> But how to suppress them on server?

Are you asking how to suppress the failure logs without modifying client 
code?

I've been wondering about this as well, but I came to the conclusion that 
it's not doable, because the server is not involved in the activation. If 
the client has no access to the server DCOM application, the server code 
is never involved -- the COM runtime makes the decision and logs the message.

So I think your best bet is to try and change your client if you can.

- Kim
date: Mon, 5 Feb 2007 18:45:26 +0000 (UTC)   author:   Kim Gräsman

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us