asp.net – Web.config加密错误
发布时间:2020-05-29 05:15:07 所属栏目:asp.Net 来源:互联网
导读:有加密问题.我向RSA文件夹的所有用户授予了完全权限.我做到了 C:aspnet_regiis -pe appSettings -location web.config -prov RsaProtectedConfigurationProviderEncrypting configuration section...An error occurred executing th
|
有加密问题.我向RSA文件夹的所有用户授予了完全权限.我做到了 C:>aspnet_regiis -pe "appSettings" -location "web.config" -prov "RsaProtectedCo nfigurationProvider" Encrypting configuration section... An error occurred executing the configuration section handler for appSettings. Failed to encrypt the section 'appSettings' using provider 'RsaProtectedConfigur ationProvider'. Error message from the provider: Object already exists. Failed! 然后我做了 C:>aspnet_regiis -pa "NetFrameworkConfigurationKey" "administrator" Adding ACL for access to the RSA Key container... The RSA key container was not found. Failed! 其次是 C:>aspnet_regiis -pc "NetFrameworkConfigurationKey" -exp Creating RSA Key container... The RSA key container could not be opened. Failed! 没有什么对我有用. 有人可以帮忙吗? 谢谢 解决方法这次失败让我遇到了同样的问题:
上面一行返回“未找到RSA密钥容器”. 要解决此问题,我必须以管理员身份运行命令提示符(打开开始>附件>然后右键单击命令提示符并选择以管理员身份运行…).即使我的帐户是管理员帐户,我也必须这样做. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- ASP.NET -- WebForm -- 页面生命周期事件
- asp.net-mvc – MVC2 Binding不适用于Html.DropDownListFor
- asp.net – URL重写出站规则IIS7
- asp.net-mvc-4 – MVC 4.5 Web API路由无法正常工作?
- .NET牛人应该知道些什么,我的回答
- asp.net – DotNetOpenAuth.WebServerClient.XSRF-会话在回
- asp.net – 找不到指定文化或中性文化的任何资源
- asp.net-mvc-5 – 使用MVC属性路由的每个控制器的多个Route
- asp.net-web-api – 如何只获取没有值的Odata.Count
- asp.net – 按钮点击后如何启动另一个aspx网页?
