Re: Problems with AzMan interop and CLR 2



well - also in 1.x AzMan needs fulltrust - COM interop always requires full trust.

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

I am replying for historical purposes since I had a hard time finding
any information regarding the problem I ran into.

Solution:

Apparently in 2.0 the interop asseblies require full trust, and
subsequently the 2.0 GAC now grants full trust to any assembly that is
added to it.

Once I added the AzMan interop assembly into the GAC rather than in
the bin folder I no longer got the security exception.



.



Relevant Pages

  • Re: Code Access Security
    ... I notice that you stated that you assigned the "Everything" permission set. ... Note that this is *not* the same as "Full Trust". ... > at the exception trace and see what is generating the SecurityException ... The interop layer is contained in mscorlib ...
    (microsoft.public.dotnet.framework)
  • Re: AzMan Still the way to go?
    ... A couple of downsides about AzMan. ... site will required full trust. ... propagated very poorly from the interop layer or wherever. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Web Part and COM Interop
    ... "Eric Johnson" wrote in message ... > the Interop assembly. ... Nor did using the .NET Framework Wizard to fully ... Any .NET managed assembly needs full trust to use COM interop. ...
    (microsoft.public.sharepoint.windowsservices)