我想在我的实时网站上以中等信任设置运行Microsoft AntiXss V1.5库。但是,我收到的错误如下:
Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.
我在我的开发机器上以完全信任的方式尝试了这一点并且一切正常。这样看起来只会在完全信任配置中运行......有没有人知道解决方案或解决方法?