That assembly does not allow partially trusted callers.

+关注继续查看

http://www.cmszs.com/2010/07/security-policy-that-assembly-does-not-allow-partially-trusted-callers/

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.

using System.Security;
using System.Security.Permissions;
[assembly: AllowPartiallyTrustedCallers]

8887 0

11078 0

11967 0

11782 0
windows server 2008阿里云ECS服务器安全设置

8943 0

4576 0

6796 0

21780 0
+关注
3550

0

《2021云上架构与运维峰会演讲合集》

《零基础CSS入门教程》

《零基础HTML入门教程》