Are you setting up your own appdomain or are you just using asp.net in
medium trust?


On Fri, Mar 9, 2012 at 2:14 AM, Phil Whittaker <[email protected]> wrote:
> I am trying to run Castle in medium trust as a sandbox. I have added the
> APTC tag and the [assembly: SecurityRules(System.Security.
> SecurityRuleSet.Level1)].
>
> I am still getting a security error when constrcuting dynamic proxy
>
> [SecurityException: Request failed.]
> Castle.Core.Internal.PermissionUtil.IsGranted(IPermission permission) +0
> Castle.DynamicProxy.ProxyGenerator..ctor(IProxyBuilder builder) +90
> Castle.Windsor.Proxy.DefaultProxyFactory.Init() +114
> Castle.Windsor.WindsorContainer..ctor(String name, IKernel kernel,
> IComponentsInstaller
>
> What can I do to fix this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/castle-project-users/-/RsVopcrZyp8J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.



-- 
Cheers,
hammett
http://hammett.castleproject.org/

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

Reply via email to