Open terrajobst opened 9 years ago
The security exception is caused by NQuery because it does not specify the assembly attribute AllowPartiallyTrustedCallers. Unfortunately, just applying this attribute does not solve the actual problem. In order to improve performance of expression evaluation NQuery uses .NET lightweight code generation (LCG) to emit MSIL at runtime. To make this work with websites you will need at least a trust level of "High" (which is not an option at all).
At the moment I see to possible ways to circumvent this problem:
Please allow me to ask you a few questions:
Answering these questions will help me to decide how to support web site scenarios. Thank you.
Ported from CodePlex
When I try to use NQuery in my local server it works fine but when I upload it to my hosting provider then it doesn't work and it show the Error Message below:
Note: I created a web site with VB language.
Can some help me?