G
Guest
Hi All
I have a windows service installed on Machine having XP2 Service pack 2 OS
I am using this call in Run() Method
hr = CoInitializeSecurity(NULL, -1, NULL, NULL,
RPC_C_AUTHN_LEVEL_NONE, RPC_C_IMP_LEVEL_IMPERSONATE, NULL,
EOAC_NONE, NULL)
If i access this service from other computer it gives access denied error
If i disable Firewall security from Control Panel->Windows Firewall,and in Dcomcnfg add ANONYMOUS user and give it full access
access denied problem goes
Why do i want to add ANONYMOUS in Dcomconfg even i disable Firewall security?
if i dont want to do all above settings but still my service should be accessed from other computer ,what should i do,is there any way for this?
Any help is appreciated
Thank
Tushar Mahajan
I have a windows service installed on Machine having XP2 Service pack 2 OS
I am using this call in Run() Method
hr = CoInitializeSecurity(NULL, -1, NULL, NULL,
RPC_C_AUTHN_LEVEL_NONE, RPC_C_IMP_LEVEL_IMPERSONATE, NULL,
EOAC_NONE, NULL)
If i access this service from other computer it gives access denied error
If i disable Firewall security from Control Panel->Windows Firewall,and in Dcomcnfg add ANONYMOUS user and give it full access
access denied problem goes
Why do i want to add ANONYMOUS in Dcomconfg even i disable Firewall security?
if i dont want to do all above settings but still my service should be accessed from other computer ,what should i do,is there any way for this?
Any help is appreciated
Thank
Tushar Mahajan