Web.config Encryption Error
Posted
by BKarms
on Stack Overflow
See other posts from Stack Overflow
or by BKarms
Published on 2010-01-05T17:13:21Z
Indexed on
2010/04/03
7:13 UTC
Read the original article
Hit count: 497
Having problem with encryption. I gave full permissions to all users to RSA folders. I did
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!
Then I did
C:\>aspnet_regiis -pa "NetFrameworkConfigurationKey" "administrator"
Adding ACL for access to the RSA Key container...
The RSA key container was not found.
Failed!
Followed by
C:\>aspnet_regiis -pc "NetFrameworkConfigurationKey" -exp
Creating RSA Key container...
The RSA key container could not be opened.
Failed!
Nothing is working for me.
Can anyone help?
Thanks
© Stack Overflow or respective owner