且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

来自提供程序的错误消息:无法打开RSA密钥容器[已解决]

更新时间:2022-02-08 09:21:50

我曾经得到过Web.config加密时也是同样的错误(对于asp.net应用程序也是如此)。我曾经运行以下命令来解决它。不确定它是否会对您有所帮助,但请试一试。



I used to get the same error when Web.config was encrypted (for asp.net applications also). I used to run the following commands to resolve it. Not sure whether it will help you, but please give a try.

aspnet_regiis -pc "NetFrameworkConfigurationKey" -exp
aspnet_regiis -pa "NetFrameworkConfigurationKey" "ASPNET"
aspnet_regiis -pa "NetFrameworkConfigurationKey" "NETWORK SERVICE"
aspnet_regiis -pa "NetFrameworkConfigurationKey" "NT AUTHORITY\NETWORK SERVICE"


我通过使用以下步骤解决了问题:



1.首先,我在Windows Server 2008上工作

2.打开IIS

3.导航到Web导致问题的网站

4.在网站主页部分的安全性下,单击5.身份验证图标

6.禁用ASP.NET模拟


亲切的问候,
I fixed the problem by using the following steps:

1. First of all, I was working on Windows Server 2008
2. Open IIS
3. Navigate to the web site that is causing the problem
4. Under Security within the Home section of the web site, click on the 5. Authentication icon
6. Disable ASP.NET impersonation

Kind regards,


大家好,



我是当我运行命令时收到错误未找到RSA密钥容器

aspnet_regiis -pa容器名称NT AUTHORITY\IUSR作为管理员。



请帮助,非常紧急和高度赞赏。
Hi All,

I am getting error "RSA Key container was not found" when I run the command
"aspnet_regiis -pa "Container Name" "NT AUTHORITY\IUSR" as a administrator.

Please help , Its very urgent and highly appreciated.