Re: DCOMCNFG nightmare with service
- From: "SvenC" <SvenC@xxxxxxxxxxxxx>
- Date: Fri, 3 Oct 2008 14:23:40 +0200
Hi markiemooster,
I've written an ATL service and added an ATL simple object using....
VS2008. ... my test app CoCreateInstance fails with
CO_E_SERVER_EXEC_FAILURE (0x80080005) after 30 seconds or so.
Launch and Activation Permissions: Administrators have all permissions....
Access Permissions: Administrators have all permissions
Configuration Permissions: Administrators have all permissions
I've checked and DCOM is enabled on my computer.
I've added the Administrator account I use to the "Distributed COM Users"
group
In case it makes any difference, I'm running Vista Ulitmate with SP1.
Try adding a manifest with requireAdministrator. Goto Project Properties,
Linker->Manifest File->UAC Exec Level = requireAdministrator.
My guess is that your apps are not elevated hence they are not "really"
running with the full admin token and get an access denied. With the
correct manifest you should get them running elevated, but at a security
risk!
You might want to think about using another explicit account and not
the Administrators group to get the securtity tight again by giving only
the minimal rights and privileges to your executables.
--
SvenC
.
- Follow-Ups:
- Re: DCOMCNFG nightmare with service
- From: markiemooster
- Re: DCOMCNFG nightmare with service
- References:
- DCOMCNFG nightmare with service
- From: markiemooster
- DCOMCNFG nightmare with service
- Prev by Date: Re: DCOMCNFG nightmare with service
- Next by Date: Re: registration order of tlb, proxy/stub, exe
- Previous by thread: Re: DCOMCNFG nightmare with service
- Next by thread: Re: DCOMCNFG nightmare with service
- Index(es):
Relevant Pages
|