web.config文件加密,解密问题 [英] web.config file encrept ,decrept problem

查看:125
本文介绍了web.config文件加密,解密问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用此密码进行加密
aspnet_regiis -pe"connectionStrings" -app"/SampleApplication" -prov"RsaProtectedConfigurationProvider"

但是当我运行网站时出现错误

无法使用提供程序"RsaProtectedConfigurationProvider"解密.提供者的错误消息:无法打开RSA密钥容器.

using this i encrypt
aspnet_regiis -pe "connectionStrings" -app "/SampleApplication" -prov "RsaProtectedConfigurationProvider"

but when i run website got error

Failed to decrypt using provider ''RsaProtectedConfigurationProvider''. Error message from the provider: The RSA key container could not be opened.

推荐答案

看看这些类似的讨论:
类似的问题已解决... [ ^ ]
提供者的错误消息:RSA密钥容器无法打开[已解决] [
Have a look at these similar discussions:
Similar issue resolved...[^]
Error message from the provider: The RSA key container could not be opened [SOLVED][^]


这篇关于web.config文件加密,解密问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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