|
|
|
date: Thu, 28 Aug 2008 11:16:26 +0200,
group: microsoft.public.dotnet.framework.aspnet
back
Re: Give access to a COM component
Hi Anthony,
"Anthony Jones" a écrit dans le message de
news:eoX%23tmVCJHA.3496@TK2MSFTNGP03.phx.gbl...
>
>>
>
> Unless the COM component is actually a DCOM component or is placed in a
> COM+
> application there is no other place to set permissions for access to the
> component than on the dll file itself.
It could be the case since setting permissions on the exe (it's not a DLL)
has no effect, and my web service is unable to start it, unless I
impersonate it with a local account. Now that's why I'm a bit "out of topic"
but I don't know a relevant NG.
Here's the error I get (translated from french :-( ):
System.UnauthorizedAccessException: The "providing" of the COM class
factory for the component with CLSID {DFDB36F2-7A63-4112-B9C5-D01155AB7254}
has failed; error: 80070005.
à System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean
publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle&
ctor, Boolean& bNeedSecurityCheck)
à System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean
fillCache)
à System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean
skipVisibilityChecks, Boolean fillCache)
à System.Activator.CreateInstance(Type type, Boolean nonPublic)
à System.Activator.CreateInstance(Type type)
date: Fri, 29 Aug 2008 15:21:33 +0200
author: Oriane ail
|
|