Re: Error from CAS Config util
From: Nicole Calinoiu (calinoiu)
Date: 03/10/05
- Next message: jamie.fraser_at_gmail.com: "Windows User Controls in a WebForm - Permissions / Security."
- Previous message: Steen: "Re: Running programs located on server"
- In reply to: Trevor Lawrence: "Error from CAS Config util"
- Next in thread: Trevor Lawrence: "Re: Error from CAS Config util"
- Reply: Trevor Lawrence: "Re: Error from CAS Config util"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Mar 2005 06:56:38 -0500
Trevor,
It's a misleading error message. The real problem is that the assembly
needs to be added to the trusted list at each of the enterprise, machine,
and user policy levels, and the UI only lets you target one of these at a
time. To work around this limitation, you'll need to use caspol -af
(http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfCodeAccessSecurityPolicyUtilityCaspolexe.asp).
HTH,
Nicole
"Trevor Lawrence" <trevorl@webone.com.au> wrote in message
news:ep9OBFSJFHA.3596@TK2MSFTNGP14.phx.gbl...
>I am attempting to construct a custom implementation of
>IMembershipCondition (which actually does a bit of work and then delegates
>to a UrlMembershipCondition object).
>
> I hjave given it a trong name and successfully installed it in the GAC,
> but an attempt to add it to the policy assemblies in the config msc tool
> gives an error that it couldn't add the assembly as it requires a strong
> name. All checks indicate that it does have a proper strong name. Is the
> tool misleading? Is this a generic message with one suggested cause? The
> actual message was:
>
> "Unable to add the selected assembly. The assembly must have a strong
> name (name, version and public key)."
>
> Any hints?
>
> Trevor
>
> --
> =========================
> Trevor Lawrence
>
> TrevorL@@webone.com.au
> =========================
>
- Next message: jamie.fraser_at_gmail.com: "Windows User Controls in a WebForm - Permissions / Security."
- Previous message: Steen: "Re: Running programs located on server"
- In reply to: Trevor Lawrence: "Error from CAS Config util"
- Next in thread: Trevor Lawrence: "Re: Error from CAS Config util"
- Reply: Trevor Lawrence: "Re: Error from CAS Config util"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]