How can i run castle activerecord in medium trust hosting?
-
20-08-2019 - |
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?
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