hammett,

I did what you suggested and than got this error:

MethodAccessException
"Attempt by security transparent method 
'Castle.Core.Internal.PermissionUtil.IsGranted(System.Security.IPermission)' 
to access security critical method 'System.AppDomain.get_PermissionSet()' 
failed."

on this line

return permissionSet.IsSubsetOf(AppDomain.CurrentDomain.PermissionSet)


of this method


PermissionUtil.IsGranted(IPermission)


Any further tip?

Em quinta-feira, 2 de maio de 2013 22h06min00s UTC-3, hammett escreveu:
>
> is this the only error?
>
> I think it's safe to remove these overrides to InitializeLifetimeService 
> since I think they just kill the default remoting lease (rarely need, just 
> when using windsor through remoting)
>
>
> On Wed, May 1, 2013 at 12:53 PM, Allan Fagner <[email protected]<javascript:>
> > wrote:
>
>> Hi guys,
>>
>> I'm new to Windsor and I'm trying to run it under medium trust. I've 
>> researched old discussion about that but did not have any luck doing what 
>> the old conversations suggest. I'm getting the following error while trying 
>> to create an new instance of WindsorContainer:
>>
>> *Inheritance security rules violated while overriding member: 
>> 'Castle.MicroKernel.DefaultKernel.InitializeLifetimeService()'. Security 
>> accessibility of the overriding method must match the security 
>> accessibility of the method being overriden.*
>> *
>> *
>> I noticed there are build options but did not understand what parameter I 
>> should be passing in in order to build a version that works on medium trust.
>>
>> Can anyone help me with that?
>>
>> Thanks
>>
>> Allan
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Castle Project Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> Visit this group at 
>> http://groups.google.com/group/castle-project-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Cheers,
> hammett
> http://www.d-collab.com/
> http://hammett.castleproject.org/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to