解决打不开 RSA 密钥容器 即:加密web.config中的内容

如果访问web程序,页面提示 Error message from the provider: The RSA key container could not be opened.
     是由于network service帐户无法访问密钥文件造成的。 找到密钥文件, 赋予network service读权限。该密钥文件位于(可按时间排序,找到自己产生的那个密钥文件)
vista: c:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\
xp或其他:C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

 

原文地址:https://www.cnblogs.com/star250/p/1674316.html