Castle Windsor / Core 2.5.3 in medium trust

51 views
Skip to first unread message

Phil Whittaker

unread,
Mar 9, 2012, 4:57:18 AM3/9/12
to castle-pro...@googlegroups.com
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?

Phil Whittaker

unread,
Mar 9, 2012, 5:08:24 AM3/9/12
to castle-pro...@googlegroups.com
Sorry didn't realise this was thw wrong group...
Reply all
Reply to author
Forward
0 new messages