How do I change my library to allow partially trusted callers?
I get the following error:
Server Error in '/' Application.
Security Exception
Description: The application attempted
to perform an operation not allowed by
the security policy. To grant this
application the required permission
please contact your system
administrator or change the
application's trust level in the
configuration file.
Exception Details:
System.Security.SecurityException:
That assembly does not allow partially
trusted callers.
Source Error: [No relevant source
lines]
Source File: App_Web_kzj7vfkn.2.cs
Line: 0
Edit
After some more looking at the problem it seems like it's System.Web.UI.ClientScriptManager that causes the problem
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…