应用程序尝试执行安全策略不允许的操作。要授予此应用程序所需的权限,请与您的系统管理员联系或更改... [英] 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...

查看:3176
本文介绍了应用程序尝试执行安全策略不允许的操作。要授予此应用程序所需的权限,请与您的系统管理员联系或更改...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序尝试执行安全策略不允许的操作。要授予此应用程序所需的权限,请联系您的系统管理员或更改配置文件中应用程序的信任级别

每当我单击确认按钮进行付款时,这是我的错误行。

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
this is my error lines whenever i click confirm button for the payment.

推荐答案

无法解决。您需要避免执行此操作,或者用户需要以管理员身份运行此应用程序。请注意,使用具有管理权限的帐户进行日志记录是不够的,您需要请求使用提升的权限运行。请参阅:

http://www.sevenforums.com/tutorials/11841 -run-administrator.html [ ^ ]。



在前进之前尝试一下。



如果使用提升权限运行是对您而言,您可能希望更进一步,并在应用程序清单中自动请求提升权限。请参阅:

http://msdn.microsoft.com/en-us /library/bb756929.aspx [ ^ ]。



-SA
It is impossible to work around. You need to avoid doing this operation, or the user need to run this application as administrator. Note that logging with an account with administration privileges is not enough, you need to request running with elevated privileges. Please see:
http://www.sevenforums.com/tutorials/11841-run-administrator.html[^].

Try it out before going forward.

If running with elevated privileges is acceptable for you, you probably want to make a step further and automatically request elevated privileges in the application manifest. Please see:
http://msdn.microsoft.com/en-us/library/bb756929.aspx[^].

—SA


这篇关于应用程序尝试执行安全策略不允许的操作。要授予此应用程序所需的权限,请与您的系统管理员联系或更改...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆