【发布时间】:2010-01-05 17:13:21
【问题描述】:
加密有问题。我授予所有用户对 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!
没有什么对我有用。
谁能帮忙?
谢谢
【问题讨论】:
标签: asp.net encryption rsacryptoserviceprovider aspnet-regiis.exe