Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

Troubleshooting Exceptions: System.Security.Policy.PolicyException

A PolicyException exception is thrown when policy forbids code to run.

Check to determine if the code requests more permissions than the policy will grant or the policy is configured to prohibit running the code.

Security policy is set with SetAppDomainPolicy.

Check to determine whether the security policy has been already set.

For more information, see Administering Security Policy.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.