web.config section encryption fails


Olivier MATROT

Im using ASP.NET 2.0.
I'm trying to encrypt the connectionStrings section of the web.config file
with the following command :
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef
"connectionStrings" "C:\inetpub\wwwroot\NAWEB3"

Usually this is working fine but today one of our customers encounters the
following error message :
Failed to encrypt the section 'connectionStrings' using provider
'RsaProtectedConfigurationProvider'. Error message from the provider: Object
already esists.

I could not figure out what is wrong but I suspect an operating system
configuration issue.
Any Help appreciated.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question