Question

I have followed the guidelines to generate the proxy and yet i get the following security exception

[SecurityException: That assembly does not allow partially trusted callers.]
Castle.ActiveRecord.Framework.Internal.ActiveRecordModelBuilder..cctor() +0

How can i correct this?

Was it helpful?

Solution

You need a build of ActiveRecord that has the AllowPartiallyTrustedCallers attribute defined, see Run in Medium Trust

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top