asp.net – Web.config加密错误
发布时间:2020-12-15 20:53:57 所属栏目:asp.Net 来源:网络整理
导读:有加密问题.我向RSA文件夹的所有用户授予了完全权限.我做到了 C:aspnet_regiis -pe "appSettings" -location "web.config" -prov "RsaProtectedConfigurationProvider"Encrypting configuration section...An error occurred executing the configuration s
有加密问题.我向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-mvc – IIS 7.0不显示自定义错误页面
- 如何在asp.net上的ButtonClick上使用Javascript隐
- ASP.NET(C#) – 与PHP
- asp.net-mvc – 如果抛出自定义异常,则重定向asp
- 单元测试 – 如何对Asp.net核心WebAPI(net452)项
- asp.net-mvc – 如何从视图页面向页眉添加其他内
- asp.net-mvc – 为什么Request.IsAuthenticated是
- ASP.Net MVC中长时间运行服务器调用的进度条
- asp.net – repeater或listview vs concatenated
- 图表 – 在Asp.net mvc中实施Google Analytics
热点阅读